MQL5 code for Maximum price

 
I got maximum or minimum price of selected bars in MQL4.

here

    int highesht_bar=iHighest(_Symbol,PERIOD_CURRENT,MODE_HIGH,15,1);

   int lowest_bar=iLowest(_Symbol,PERIOD_CURRENT,MODE_LOW,15,1);

 And for highest or lowest price.

    high=High[iHighest(_Symbol,PERIOD_CURRENT,MODE_HIGH,bar_count,1)];

   low=Low[iLowest(_Symbol,PERIOD_CURRENT,MODE_LOW,bar_count,1)];

 

But I did not found those code in MQL5 language. Anyone please help me!

 

Find it here

https://www.mql5.com/en/articles/81

Migrating from MQL4 to MQL5
Migrating from MQL4 to MQL5
  • 2010.05.17
  • Sergey Pavlov
  • www.mql5.com
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.