logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Flexi  
#1 Posted : Saturday, December 15, 2012 10:22:25 AM(UTC)
Flexi

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/27/2006(UTC)
Posts: 135

Have some questions about tradesim

1) Would tradesim allow to code two entries for trades using different prices?

2)Would tradesim allow to code two or more exit for trades?
wabbit  
#2 Posted : Sunday, December 16, 2012 12:45:57 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Is the exit method dependent on the entry method? wabbit [:D]
Flexi  
#3 Posted : Sunday, December 16, 2012 10:07:03 AM(UTC)
Flexi

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/27/2006(UTC)
Posts: 135

no does not depend on entry method

more like scale out

but for question 1 the entry price for two position may be different

wabbit

would you have some simple code illustrating scale in? like stoch is < 50 buy 1 contract and if stoch fall further to 25 tomorrow buy another 1 contract
wabbit  
#4 Posted : Sunday, December 16, 2012 4:09:59 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Flexi wrote:
more like scale out

You'll need to use some sort of PREV based latch to remember how many contracts you have in open trades; I'm pretty sure TS can deal with that.

Flexi wrote:
but for question 1 the entry price for two position may be different

That's not an issue for TS.

Flexi wrote:
would you have some simple code illustrating scale in? like stoch is < 50 buy 1 contract and if stoch fall further to 25 tomorrow buy another 1 contract

Create the first enrty trigger code, then use a count-and-reset function to find the first instance of the second entry trigger after the first entry trigger.


wabbit [:D]

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.