MQL4 Reference Chart Operations WindowsTotal

MQL4 Help as One File:

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());