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

Automated Trading Language Documentation

Forget Outdated Indicators and Buy Latest Ones in MetaTrader Market

PriceMax

Gets maximal price of the specified subwindow.

double  PriceMax(
   int  num      // subwindow number
   ) const

Parameters

num

[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.07.24