MQL4参考 图表操作 WindowsTotal

WindowsTotal

Returns total number of indicator windows on the chart.

int  WindowsTotal();

Parameters

None.

Returned value

Total number of indicator windows on the chart (including main chart).

Example:

  Print("Total windows = "WindowsTotal());