What is relatively more efficient?
if(XYZ)
{ABC = true}
if(BarsInProgress = 24)
(if ABC = true & Close>0) {EnterLong}
if(BarsInProgress = 10)
(if ABC = true & Close>0) {EnterLong}
If(XYZ)
{ABC= true}
If(ABC = true && Closes[24][0] > 0) {EnterLong(24,true,Quantity.........}
If(ABC = true && Closes[10][0] > 0) {EnterLong(10,true,Quantity.........}


Comment