MQL4 Reference Chart Operations ChartID

MQL4 Help as One File:

ChartID

Returns the ID of the current chart.

long  ChartID();

Return Value

Value of long type.