oeoeoeooeo:
Sometimes we got error because of versions, I advice to you please check out versions by properties or check this issue by open service desk also, I hope you will find right channel.
Dears,
I would like to calculate the RSI value by previous stored array data,
My code is as following.
double adx_array[14];
ArraySetAsSeries(adx_array,true);
for (int i= 0; i< 14; i++)
{
adx_array[i]= iADX(NULL, 60, 14, PRICE_CLOSE, MODE_MAIN, i);
Print("adx_array[i]", adx_array[i]);
}
double rsi= iRSIOnArray(adx_array, 14, 6, 0);
I always get the same rsi value. It is weird.
By the way, in the previous MT4 version it works correctly!!!!
Thanks a lot.
Khurram Mustafa:
Sometimes we got error because of versions, I advice to you please check out versions by properties or check this issue by open service desk also, I hope you will find right channel.
Thanks Khurram Mustafa
Sometimes we got error because of versions, I advice to you please check out versions by properties or check this issue by open service desk also, I hope you will find right channel.

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
Dears,
I would like to calculate the RSI value by previous stored array data,
My code is as following.
double adx_array[14];
ArraySetAsSeries(adx_array,true);
for (int i= 0; i< 14; i++)
{
adx_array[i]= iADX(NULL, 60, 14, PRICE_CLOSE, MODE_MAIN, i);
Print("adx_array[i]", adx_array[i]);
}
double rsi= iRSIOnArray(adx_array, 14, 6, 0);
I always get the same rsi value. It is weird.
By the way, in the previous MT4 version it works correctly!!!!
Thanks a lot.