Multiple Crossing Trades!!!!!!!!
1 replies
sdb
9 years ago #112964
Hello Mark,
I’m trying to open multiple trades .
If rsi crosses above (+)20, enter at market with “short”.
If at the next bar rsi = (+)19, then do nothing.
If in the next bar rsi = (+)21, then enter again with “short”.
How in the world I’ m going to do that.? I tried with “order opened this bar is false” or “order closed this bar is false” but nothing changed.
Can you please help me?
Thanks in advance
Mark Fric
9 years ago #127887
this is very simple, I’m attaching a sample.
You have to create rules exactly as you described + add check if previous order is opened.
Mark
StrategyQuant architect
Viewing 1 replies (of 1 total)