if (SMA(Fast)[2] > SMA(Slow)[2] && SMA(Fast)[3] < SMA(Slow)[3] && Close[0] > High[2] )
{ EnterLong(100, ""); }
As you can see from the chart the 3rd bar after the crossover takes out the high of the bar at the crossover but the entry doesn't trigger till the 4th bar after the crossover? Im looking for it to trigger on the 3rd bar in real time as the price moves above the high 2 bars back.
I figured having OnBarUpdate=false and using Close[0] > High[2] would take care of this. Should I be using something else other than Close[0]. Is there another Data command such as Last[0] for last price so that as soon as price moves above the high it triggers?
Comment