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



Go to last post Go to first unread
#1 Posted : Tuesday, November 2, 2010 3:45:54 PM(UTC)

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/8/2008(UTC)
Posts: 3

Dear experts, Does anyone know how to implement it in EST? When my previous position was long and my current signal is true for both long and short I would like to go short. The problem is that EST will close position and open again long according to order bias settings. I was trying something like in sell: if(Ref(LongPositionCount,-1)=1,sell,0) But, it doesn't work somehow.
#2 Posted : Sunday, November 14, 2010 6:02:34 PM(UTC)

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)
I'll suggest you use something GV.dll to "remember" the last trade and in the event you have a buy and short signal on the same bar, call this value to make the ultimate decision.

Never had to do it myself, but it's worth a try.

GV.dll is in the files section.

wabbit [:D]

Users browsing this topic
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.