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

Automated Trading Language Documentation

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


Gets maximal price of the specified subwindow.

double  PriceMax(
   int  num      // subwindow number
   ) const



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

Returned value

Maximal price value of the chart, assigned to the class instance. If there is not chart assigned, it returns EMPTY_VALUE.

Updated: 2014.10.16