Download MetaTrader 5

Bars() function

To add comments, please log in or register
kemalturgay
265
kemalturgay 2014.10.25 23:23 

The reference says that: "If data for the timeseries with specified parameters are not formed in the terminal by the time of the Bars() function call, or data of the timeseries are not synchronized with a trade server by the moment of the function call, the function returns a zero value."

But, I always get some positive numbers for pairs which don't have .hcc files by the time of the Bars() function call ...

And, after calling this function a .hcc file is created for a pair which does not have it before the calling of the Bars() function.

When the Bars() function returns zero?

To add comments, please log in or register