This is because "ArraySetAsSeries" is set to false.
ArraySetAsSeries(ExtRSIBuffer,false); ArraySetAsSeries(ExtPosBuffer,false); ArraySetAsSeries(ExtNegBuffer,false); ArraySetAsSeries(close,false);
In MT4, it is true by default and with false, the order of the data is reversed.
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
In the native code of RSI I notice that in the "main loop of calculations" the for loop does not start from the rates_total but from pos = 15.
Why do I find the RSI value of index 0 in rates_total-1 instead of index 0?
Thanks