What line of code I have to add to tell my strategy to EnterLong 10 ticks below this signal?
if( (macd.Avg[0] < 0) // signal line below zero
&& ((macd[0] > upperBand[0]) && (macd[1] <= upperBand[1]))) // cross up
{
EnterLong("MACDBB_LongEntry");
As it is, my strategy is entering at Market at the opening of the next bar.
Thanks
Alan
Comment