MQL4 Reference Chart Operations ChartClose
Closes the specified chart.
bool ChartClose( long chart_id=0 // Chart ID );
Parameters
chart_id=0
[in] Chart ID. 0 means the current chart.
Return Value
If successful, returns true, otherwise false.