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

Automated Trading Language Documentation

Update to MetaTrader 4 build 722 and Test the VPS for Free


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.16