Slow Relative Strength Index (Apirine) SRSI

Category: Indicators By: Nicolas Created: November 3, 2015, 10:51 AM
November 3, 2015, 10:51 AM
Indicators
1 Comment

The Slow Relative Strength Index, SRSI, is a concept made by Vitali Apirine that appear in the TASC (Technical Analysis of Stocks & Commodities) magazine, in April 2015.

This momentum oscillator is derivated from the famous J. Welles Wilder RSI formula. The change of price movements are measured relatively to an exponential moving average movements. The returning values are bounded between 0 and 100.

The SRSI can be used for trend following by using its momentum effect but also to detect oversold and overbought zones of price. It tends to be more effective on trending instrument because when price remainin an upper trend, the oscillator remain also in the overbought zone more longer than an original RSI. I attached a screenshot of the original RSI compared the SRSI.

 

//parameters :
// N = 6
// X = 14

Price = exponentialaverage[X](close)
SF = 1 / N

Change = Price-Price[1]

if barindex <= N+X THEN
   NetChgAvg = (Price - Price[N]) / N
   TotChgAvg = average[N](ABS(Price-Price[1]))
ELSE
   NetChgAvg = NetChgAvg[1] + SF * (Change-NetChgAvg[1])
   TotChgAvg = TotChgAvg[1] + SF * (ABS(Change)-TotChgAvg[1])
ENDIF

if TotChgAvg <> 0 THEN
  ChgRatio = NetChgAvg / TotChgAvg
ELSE
  ChgRatio = 0
ENDIF

SRSI = 50 * (ChgRatio + 1)

RETURN SRSI, 50 as "50 level", 20 as "20 level", 80 as "80 level"

 

 

Download
Filename: SRSI-compared-to-classic-RSI.png
Downloads: 32
Download
Filename: Slow-Relative-Strength-Index.itf
Downloads: 158
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...