MQL4 Reference Chart Operations ChartFirst
Returns the ID of the first chart of the client terminal.
long ChartFirst();
Return Value
Chart ID.