Forum

Incorrect iRSIOnArray function.

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]"

How to code for the "RSI tracking ADX value" ?

Dear MT4 experts, I am a newbie on the MT4 programming, trying to study this topic recently. About the implementation for RSI(6) tracking ADX(14) value, I try to drag the A verage Directional Movement Index indicator, and then Relative Strength Index indicator in the symbol chart. And select