[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formula help



PureBytes Links

Trading Reference Links

Bruce,

You can create RSI of EMA5 in indicator builder :

Q:=Input("Periods of RSI",1,1000,14);

Z:=Wilders(If(ROC(Mov(C,5,E),1,$)>0,ROC(Mov(C,5,E),1,$),0),LastValue(Q));

Y:=Wilders(If(ROC(Mov(C,5,E),1,$)<0,Abs(ROC(Mov(C,5,E),1,$)),0),LastValue(Q));

RS:=Z/Y;
100-(100/(1+RS))

I hope this helps,

Pierre Tremblay

Bruce Barnard a écrit :

> Can anyone help with the formula of an RSI of an EMA,
> instead of RSI of O,H.L,C and periods eg. (14) ?
> Say the RSI of a 5-day exponential moving average ?
>             Many thanks,
>                   Bruce Barnard