Nicolas

LBR-RSI

Category: Indicators By: Nicolas Created: June 7, 2018, 7:22 AM
June 7, 2018, 7:22 AM
Indicators
4 Comments
LBR-RSI

LBR RSI indicator is a 3 periods RSI (Relative Strength Index) of the momentum change (using ROC, Rate Of Change indicator of 1 period).

This pattern uses a one-period rate of change or ‘momentum’ function. This is simply the difference between today’s close and yesterday’s close. I.e., if today’s closing price is 592 and yesterday’s closing price was 596, the difference is -4. A three-period RSI of this one-period change is calculated.

 

lbrrsi = rsi[3](roc[1])

return lbrrsi style(line,2), 30 style(dottedline) as "level 30", 70 style(dottedline) as "level 70"

 

Download
Filename: PRC_LBR-RSI.itf
Downloads: 106
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

ShaunG
8 years ago
#

Greatly appreciated Nicolas!

SoloContado
8 years ago
#

If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph. Summation acts in this case like an "Integral" function. Try by substituting lbrrsi = rsi[3](roc[1]) by lbrrsi = (summation[8](rsi[3](roc[1])))/8 Thanks a lot for your continuous and extremely useful contributions.

enricot
8 years ago
#

Scusa nn riesco.

enricot
8 years ago
#

Ciao Nicolas scusa se ti scrivo qui, ma sono nuovo e nn riesco a creare un nuovo post, cioè nn so proprio dove scrivere con il cellulare puoi aiutarmi. Grazie

ProRealCode ProRealCode
Loading...