Discussions
»
Product and Service Development
»
Formula Assistance
»
formula to know previous position bias in order to revert it on signal ?
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.
|
|
|
|
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 |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
formula to know previous position bias in order to revert it on signal ?
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.