if (ToTime(Time[0])> 095100)
&& ((BarsSinceExitExecution() > BarsToWait) || (BarsSinceExitExecution() ==-1))
&& Position.MarketPosition == MarketPosition.Flat
&& CurrentBar > BarTraded
&& Close[0] < EMA(length)[0]
However when I run the code in stategy analyzer I see 2 problems
1. BarsSinceExitExecution does not work. It takes the trades anyways
However when I run the code in stategy analyzer I see 2 problems
2. I have specified to not take trades before 9:51 am
I see some trades taken at 9:36 am.
I am not sure what I am doing wrong here. Can you please help?

Comment