[LUX] Rainbow Adaptive RSI

The following oscillator uses an adaptive moving average as an input for another RSI oscillator and aims to provide a way to minimize the impact of retracements over the oscillator output without introducing significant lag.

An additional trigger line is present in order to provide entry points from the crosses between the oscillator and the trigger line. More details are given below.


  • Length : period of the oscillator
  • Power : controls the sensitivity of the oscillator to retracements, with higher values minimizing the sensitivity to retracements.
  • Src : source input of the indicator

The indicator also includes the following graphical settings:

  • Gradient : Determines the color mode to use for the gradient, options include "Red To Green", "Red To Blue" and "None", with "None" displaying no gradient.
  • Color fill : Determines whether to fill the area between the oscillator and the trigger line or not, by default "On".
  • Circles : Determines whether to show circles highlighting the crosses between the oscillator and the trigger line.


The indicator can be used like any normalized oscillator, but unlike a classical RSI , it does not converge toward 50 with higher length values. This is caused by the RSI using a smooth input.

The power setting will minimize the impact of certain variations on the oscillator:

Here the oscillator at the bottom uses a power value of 1.5.

The trigger line is a smoothed RSI using an EMA as input, and it won't remain as near to 100 and 0 as the main oscillator. Using a moving average of the main oscillator as a trigger line would create faster crosses, but this approach allows us to have no crosses when a retracement is present.


As previously discussed the main oscillator uses an adaptive moving average as input; this adaptive moving average is computed using a smoothing factor derived from an RSI oscillator, a similar adaptive moving average known as ARSI, but unlike ARSI which uses a classical RSI of the closing price for the calculation of the smoothing factor, our smoothing factor makes use of RSI on the adaptive moving average error, which provides a higher level of adaptiveness.
הערות שחרור: License Update
הערות שחרור: Minor Changes.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?
Get instant access to our premium indicators:

Full guides & documentation:

Join our Discord:


Great job
+4 השב
LuxAlgo growerik
@growerik, Thanks, hope you enjoy!
+2 השב
asanchez14 LuxAlgo
@LuxAlgo, so if I bought lux algo i also need to go from basic plan to premium to see the other charts like oscillator. I already added them to my favorites and i get to learn from the strong and sell alerts.
Hey I dont see this under the indicator list , is it out yet
+4 השב
LuxGecko ajgibbs10
@ajgibbs10, It's a public script. You just need to add to favourites :)
+1 השב
I don't see it either.
+3 השב
LuxGecko mike82044
@mike82044, It's a public script. You just need to add to favourites :)
mike82044 LuxGecko
@LuxGecko, 2nd restart, trading room windows app picked it up then, Thanks!
iCedNinja mike82044
@mike82044, what did you do to put this on your favorites? I dont see the add to favorites button

Nevermind I saw it. thanks
Mate, this was such an amazing indicator. I can't thank you enough! CHEERS!
Do you have a digital "Tip Jar"? I hope this doesn't offend you. Since I can't buy you
a pint in person, I would like to send you one over the net!
+1 השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי אודות תכונות גרף מחירון הפנה חבר כללי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏