What is the difference between
if(BarsInProgress != 0)
and
if(BarsInProgress == 0)
What does one do which the other one does not? Or, why/when would I use one and not the other one?
(Am I correct to say that the "0" here refers to the primary data series, the primary Bars Object on which chart I will later load this indicator?)
CurrentBars[0] < BarsRequired
and
CurrentBars[0] <= BarsRequired
What does one do which the other one does not? Or, why/when would I want to use one and not the other one? (And same here concerning the "0" - it refers to the primary BarsObject/Primary Data Series, correct?)
sandman
Comment