Gbenga Ayodele:
Please with respect to the great coders of this forum, i need a code that will output the least/highest value of a given line indicators like Moving Average for like 20 bars back in a given period.
just like the case of High[iHighest(NULL,0,MODE_HIGH,20,1)];
https://www.mql5.com/en/docs/array/arraymaximum

Documentation on MQL5: Array Functions / ArrayMaximum
- www.mql5.com
//| Filling the basic part of the candlestick | //
nicholishen:
https://www.mql5.com/en/docs/array/arraymaximum
Thanks a lot. May your decades be long in happiness.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Please with respect to the great coders of this forum, i need a code that will output the least/highest value of a given line indicators like Moving Average for like 20 bars back in a given period.
just like the case of High[iHighest(NULL,0,MODE_HIGH,20,1)];