isNewBar – indicator MetaTrader 5
For the indicators and Expert Advisors it’s very often necessary the information whether a new bar has appeared on the specified timeframe. Here is an example, how it can be done. After the first call of the isNewBar() function, the current bar is not assumed as a new bar. The function saves its time, it’s … Read more