Where are in mq5 iLowest/Highest and iLow/High etc... ?

 

Dear all.

I'm asking where on mq5 language are the iLowest iHighest and iLow iHigh since when

i try to write them in the editor, it seems no existence of those "indicators" but seems

exist on mq5 only the indicators shown in the pdf guide like iADX etc...


How to replace iLowest iHighest etc.. in mq5 with the similar of mq4, if no such indicators

exist in mq5 ?


thanks very much

 
forexistence:

Dear all.

I'm asking where on mq5 language are the iLowest iHighest and iLow iHigh since when

i try to write them in the editor, it seems no existence of those "indicators" but seems

exist on mq5 only the indicators shown in the pdf guide like iADX etc...


How to replace iLowest iHighest etc.. in mq5 with the similar of mq4, if no such indicators

exist in mq5 ?


thanks very much

https://www.mql5.com/en/forum/1422/page1
 
You can use ArrayMaximum() and ArrayMinimum() functions and high/low parameters of the OnCalculate() event to get the functionality of the MQL4 iLowest() and iHighest() - it's a bit more complex, but it's still easy.
Documentation on MQL5: Array Functions / ArrayMaximum
  • www.mql5.com
Array Functions / ArrayMaximum - Documentation on MQL5
 
Thanks men

Reason: