Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 11/23/2019(UTC) Posts: 2 Location: Brisbane
|
Hi boy5176 I wonder whether your issue is related to Wilders Smoothing. In RSI, RS uses a simple average of the up and down closes. In Wilder's RSI, RS uses Wilder's smoothing which is a different form of exponential averaging. Non-Wilders RSI looks like this: A:=Input("Periods",2,99,14); B:=C; {target array} U:=Sum(If(B>Ref(B,-1),B-Ref(B,-1),0),A); D:=Sum(If(B<Ref(B,-1),Ref(B,-1)-B,0),A); 100-(100/(1+(U/Max(D,.00001)))); As opposed to Wilders, which looks like this: {RSI Indicator} A:=Input("Periods",2,99,10); B:=C; {target array} U:=Wilders(If(B>Ref(B,-1),B-Ref(B,-1),0),A); D:=Wilders(If(B<Ref(B,-1),Ref(B,-1)-B,0),A); 100-(100/(1+(U/D)));
Test to see if either of these match your result.
|