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

 

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: 223
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...