Trying to code this and it keeps coming back 0. You can do this on a chart by saying you want the MA to apply to the previous indicator rather than Open, Close, etc.
Here is my code that is not working:
double RSIHourly = iRSI(NULL, FastTF, RSIPeriod, 0, 0);
double RSIEma = iMA(NULL,FastTF,RSIPeriod,0,MODE_EMA,RSIHourly,0);
RSIHourly is accuratge but RSIEma is always 0.
Thoughts?
Here is my code that is not working:
double RSIHourly = iRSI(NULL, FastTF, RSIPeriod, 0, 0);
double RSIEma = iMA(NULL,FastTF,RSIPeriod,0,MODE_EMA,RSIHourly,0);
RSIHourly is accuratge but RSIEma is always 0.
Thoughts?