MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Copy experienced traders' deals with MetaTrader Signals %USERNAME%, thousands of traders are using signals!


Gets subwindow height in pixels.

int  HeightInPixels(
   int  num      // subwindow number
   ) const



[in]  Subwindow number (0 means base window).

Returned value

Subwindow height in chart pixels, assigned to the chart instance. If there is no chart assigned, it returns 0.

Updated: 2014.10.23