1. Is the OnBarUpdate() method called on each incoming tick? What are the effects of "calculate on bar close" being set to true vs. false?
2. How does the OnBarUpdate() method handle historical data? (I am using Zenfire). Would OnBarUpdate() calculate on individual ticks for historical data or would this only work for real time data?
3. What is the first tick of a bar in the TickCount property? 0 or 1?
4. What is the easiest way to detect the last tick of a bar?
Thanks.
Comment