logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
south54  
#1 Posted : Sunday, February 7, 2016 1:20:45 PM(UTC)
south54

Rank: Newbie

Groups: Registered Users, Subscribers, Unverified Users
Joined: 11/15/2014(UTC)
Posts: 4

Help please with coding this indicator. Looked very clean when giving signals in the article !

Slow RSI = 100 - [100/(1 +SRS)]

SRS = Average positive Difference/Average negative Difference

 

SRSI measures the strength of the stock relative to a 6 day EMA

Where Positive Difference = (Close - EMA6)

Negative Difference = (Close - EMA6) Expressed as a positive value

Thanks

 

MS Support  
#2 Posted : Monday, February 8, 2016 10:22:27 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,943

Thanks: 86 times
Was thanked: 155 time(s) in 150 post(s)
Hi, You can try the following formula to see if this meets your criteria: tp:= 14; { time periods in RSI calculation} diff:= C-Mov(C,6,E); Z1:=If(diff>0,diff,0); Z:=If(Cum(1)=tp,Cum(Z1)/tp,(PREV*(tp-1)+Z1)/tp); Y1:=If(diff<0,Abs(diff),0); Y:=If(Cum(1)=tp,Cum(Y1)/tp,(PREV*(tp-1)+Y1)/tp); temp:=If(Y=0,-1,Y); If(temp=-1, 100, 100-(100/(1+(Z/temp))))
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.