for(i=pos; i<rates_total && !IsStopped(); i++) { double sum=0.0; for(k=0; k<InpRSIMAPeriod; k++) sum+=ExtRSIMABuffer[i-k]; ExtRSIMABuffer[i]=sum/InpRSIMAPeriod; }
Why do you calculate the sum of ExtRSIMABuffer?
You have to put this question in "MQL4" section.
Why do you calculate the sum of ExtRSIMABuffer?
You have to put this question in "MQL4" section.
If I don't calculate the ExtRSIMABuffer, how does the MT4 plot it?
Where is the MT4 section?
If I don't calculate the ExtRSIMABuffer, how does the MT4 plot it?
Where is the MT4 section?
You want to calculate the average of "ExtRSIBuffer", don't you?
It's impossible to get it from the sum of "ExtRSIMABuffer".
MT4 section.
You want to calculate the average of "ExtRSIBuffer", don't you?
It's impossible to get it from the sum of "ExtRSIMABuffer".
MT4 section.
Yes, but how will you write this indicator?
sum+=ExtRSIBuffer[i-k];
Hi all,
I am trying to do my own programming in this indicator. I took the default RSI code from MT4 and made some modifications. However, I add in the moving average of the RSI code, the compiler seems ok but when I apply to the chart, there is only an RSI line. The moving average of the RSI is missing. Can anyone let me know what's went wrong? I am using MT4.
Thank you in advance.