Hi!
I have an array full of some data that I got from another indicator. Now I want to calculate the RSI for that data. I am using iRSIOnArray function but the RSI is not getting calculated correctly.
Here what I am doing...
The ATRArray is the data generated from another custom indi & RSIBuffer is allocated properly. RSIBuffer do get filled with some values, just that the those values calculated are correct.
Any idea what I am doing wrong?
Thanks for your time!
I have an array full of some data that I got from another indicator. Now I want to calculate the RSI for that data. I am using iRSIOnArray function but the RSI is not getting calculated correctly.
Here what I am doing...
Inserted Code
for(i = 0; i < nLimit; i++) { RSIBuffer[i] = iRSIOnArray(ATRArray, 0, 60, i); }
The ATRArray is the data generated from another custom indi & RSIBuffer is allocated properly. RSIBuffer do get filled with some values, just that the those values calculated are correct.
Any idea what I am doing wrong?
Thanks for your time!
If it floats, flies, or f%^ks, rent it, it's cheaper.