I found in a strategy and an indicator COBCfalse in Onstartup but in OnBarUpdate there is if(CalculateOnBarClose)
I have 2 questions please:
* is if(CalculateOnBarClose) the same as if(FirstTickOfBar)?
* why having in OnStartup COBCfalse and then in OnBarUpdate if(CalculationOnBarClose) - which I do understand as "COBCtrue" (if I interprete correctly)
Thank you!
Tony
Comment