MQL4参考 图表操作 ChartClose

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.