From the tutorial, I got to know that the OnBarUpdate() function is called only when a bar is closed with "CalculateOnBarClose = true".
When I turn it to be "CalculateOnBarClose=false", I didn't see more debug message inside OnBarUpdate() function in the output window than before. It seems the function is still called when the bar is closed with "CalculateOnBarClose=false".
Under what circumstance can I see the difference?
Thank you!
Best Regards
David
Comment