Update Method
When the bar opening time changes you can see that there must be a new bar.
https://www.mql5.com/en/articles/159
The "New Bar" Event Handler
- 2010.10.11
- Konstantin Gruzdev
- www.mql5.com
MQL5 programming language is capable of solving problems on a brand new level. Even those tasks, that already have such solutions, thanks to object oriented programming can rise to a higher level. In this article we take a specially simple example of checking new bar on a chart, that was transformed into rather powerful and versatile tool. What tool? Find out in this article.
Hi.
I'm relatively new to MQL programming. I searched for this in the Docs for some time, but I couldn't find any solution. Here's my question. I want to call some Functions everytime a new bar or candle occours on the chart. Are there any predefined functions or methods to do this?
Thanks in advance