using this
// Enter Long
if ((iOrderL1 == null || Historical) && iQuantity1 != 0)
iOrderL1 = EnterLong(0, iQuantity1, sENTRY1L);
if ((iOrderL2 == null || Historical) && iQuantity2 != 0)
iOrderL2 = EnterLong(0, iQuantity2, sENTRY2L);
if ((iOrderL5 == null || Historical) && iQuantity5 != 0)
iOrderL5 = EnterLongLimit(0, false,iQuantity5, Close[0],sENTRY5L);
return;
}
I see, as per screenshot, that the L5 entry didnt happen, even though price eventually fell well away from the Close[0] (on the entry bar) but the two entrys L1 L2 did.
This compiled ok ... so I am thinking ?????
Comment