bsjParticipant
New
Hi All,
I am looking the command for following:
- If my condition is meet, position should be open at current bar open value instead of next bar open value
- My position should be close at next bar close value instead of next bar open value. (EX: Sell at market nextbarclose. But this command is not working)
Appreciate if anyone help me. Thanks in advanced.
Regards
BSJ
Hi BSJ
Conditions are checked at the end of a bar and Trades entered / exit at the start of the next bar.
So you can’t open at current bar open because conditions won’t be checked until end of current bar.
So your conditions are checked at close[1] and trades executed at open[0]. 0 being the current bar, 1 being previous bar.
Hope that makes sense?
GraHal
I have the same problem, I was set previous bar low, it will only be in my next bar after the next bar sell, not in my first bar sell.