Download MetaTrader 5

MaxBars

Gets the maximum number of bars on chart specified in the terminal settings.

int  MaxBars() const 

Return Value

Maximum number of bars on the chart.

Note

The maximum number of bars on chart is defined by TerminalInfoInteger() function (TERMINAL_MAXBARS property).


Updated: 2016.05.30