Nicolas

SIROC - Smoothed Indexed Rate Of Change

Category: Indicators By: Nicolas Created: January 30, 2019, 1:55 PM
January 30, 2019, 1:55 PM
Indicators
1 Comment
SIROC - Smoothed Indexed Rate Of Change

 

The SIROC is an oscillator ranging between 0 and 100. It is computed as an n3-period RSI of an n2-period EMA of the normalized residuals of an n1-period EMA of the price.

//PRC_SIROC | indicator
//Smoothed Indexed Rate Of Change
//30.01.2019
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge

// --- settings
n1 = 36
n2 = 8
RSIp = 3
// --- end of settings

ema1 = average[n1,1](close)
tmp1 = (close-ema1)/ema1[n1]
ema2 = average[n2,1](tmp1)
siroc = rsi[RSIp](ema2)

return siroc style(line,2) as "SIROC", 80 coloured(168,168,168) style(dottedline), 20 coloured(168,168,168) style(dottedline), 50 coloured(168,168,168) style(line)

 

 

 

Download
Filename: PRC_SmoothedIndexRateOfChange.itf
Downloads: 224
Nicolas
Nicolas Legend
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

Didouqc
8 years ago
#

Bonjour Nicolas, Merci pour cet indicateur, encore génial! Je souhaite faire une suggestion à vous tous, soit de remplacer le 'Close' dans le code, non pas par le 'Volume' car cela donne trop de faux signaux, mais par l'OBV(Close)'. Dites moi ce que vous en pensez. Personnellement, je trouve cela pertinent, car il indique la force des volumes qui se met en place. Je n'ai pas changé les valeurs des variables n1 , n2 et RSIp. Au plaisir de vous lire.

ProRealCode ProRealCode
Loading...