DALE‚!STOCHASTIC RSI
!!RSI Wilder (Coded by Rich Denning).
!The following will allow you to set the RSI Wilder parameter in the EDS without having to worry how it is set in the charts:
Define CL 14. !Parameter for Recursive averaging (Wilder's method)
LW is 2 * CL - 1. !Convert Recursive averaging to exponential averaging
U is [close]-val([close],1).
D is val([close],1)-[close].
AvgU is ExpAvg(iff(U>0,U,0),LW).
AvgD is ExpAvg(iff(D>=0,D,0),LW).
RSIw is 100-(100/(1+(AvgU/AvgD))).
!!STOCHASTIC RSI with hard coded RSI:
StochRSIw is (RSIw - lowresult(RSIw,CL)) /(highresult(RSIw,CL) - lowresult(RSIw,CL)) * 100.Rule Library˙˙ CCodeView“˙˙˙˙00:00