Oh excuse me, I misread your question...
...
double array[21];
for(int i = 20; i >= 0; i--){
array[i] = yourMovingAverageValue[i];
}
double theHighest = ArrayMaximum(array, WHOLE_ARRAY, 0);
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
Hi, I need to calculate the Highest Value of a Moving Average in the most recent 20 bars.
I think I can’t use the iHighest function...
Anyone can halp me?
Thank you!