Hope you guys are doing well,
I have some stratgies that are long only, that sometimes I deactiavte and when I re activate they are in a long position already, so when the sell signal hits it goes short.
What can I do to to have the strategy go long only when the position is sold and another long signal appears ? I have came across a code that might reflect on the real account the actual position such as position aware or something like that but can't remember exactly.
Appreciate your help.
Thanks,

Comment