MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

ChartID

Returns identifier of the chart.

long  ChartID() const

Returned value

Chart identifier, assigned to the class instance. If there is no object assigned, it returns -1.


Updated: 2014.07.29