# Rainbow Adaptive RSI

Rainbow Adaptive RSI is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

The Rainbow Adaptive RSI runs an RSI on an adaptive moving average input, damping retracements without piling on lag, and unlike a classic RSI it does not collapse toward 50 at higher lengths. A gradient-colored oscillator with a smoothed trigger line and optional cross markers, for momentum traders who want steadier signals through pullbacks.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Dec 16, 2020.
- Access: free.
- Concepts: [Adaptive/dynamic RSI](https://www.luxalgo.com/library/concept/adaptive-dynamic-rsi/) (primary), [RSI](https://www.luxalgo.com/library/concept/rsi/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn507h0070vhsg0iml1ekq
- Page: https://www.luxalgo.com/library/indicator/rainbow-adaptive-rsi/

**Rainbow Adaptive RSI** feeds an RSI with an adaptive moving average instead of raw price, placing it in the [adaptive RSI](https://www.luxalgo.com/library/concept/adaptive-dynamic-rsi/) family. The smoothing factor is computed from an RSI of the moving average's own error (not of the closing price), which lets the oscillator minimize retracement impact without introducing significant lag. And unlike a classical RSI, which converges toward 50 as Length grows, this one keeps its range thanks to the smooth input.

## How to Trade the Rainbow Adaptive RSI?

- **Extremes**: read it like any normalized oscillator. Stretched values warn that the current move is extended.
- **Trigger line crosses**: the trigger is a smoothed RSI built on an EMA input, deliberately avoiding the extremes near 0 and 100; crosses against the main oscillator, optionally marked with circles, highlight entry points while staying quiet through retracements.
- **Power tuning**: raise Power to mute minor fluctuations when conditions turn choppy.

It slots into the same workflows as other [momentum](https://www.luxalgo.com/library/family/momentum/) oscillators, with one specific aim: keeping signals steady through pullbacks that would whip a conventional oscillator around.

## Rainbow Adaptive RSI Settings

- **Length**: the oscillator's period.
- **Power**: sensitivity to retracements. Increase it to stabilize the line in volatile conditions.
- **Source** (default close): the series the oscillator runs on.
- **Gradient / Color Fill / Circles**: appearance options, gradient palette ("Red To Green", "Red To Blue", or "None"), the fill between oscillator and trigger (on by default), and markers on crosses.

## Frequently Asked Questions

### How does it differ from a standard RSI?
A classical RSI converges toward 50 at higher length values and reacts to every retracement. This build's adaptive input preserves the oscillator's range and lets you tune retracement sensitivity with the Power setting.

### Why not just smooth the main oscillator for a trigger line?
Smoothing the main oscillator with an EMA would produce far more frequent crosses. The chosen trigger, a smoothed RSI on an EMA input, crosses less often during retracements, so the crossings that remain tend to carry more meaning.

### Where do I find it, and what pairs well with it?
Access is free through the LuxAlgo Library, and the oscillator can be run or backtested in Quant, our coding agent, before it earns a spot on your chart. A natural sibling is the [QQE Weighted Oscillator](https://www.luxalgo.com/library/indicator/qqe-weighted-oscillator/), which pairs a smoothed RSI with a trailing stop instead of an adaptive input. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Ultimate RSI](https://www.luxalgo.com/library/indicator/ultimate-rsi/) (Adaptive/dynamic RSI): markdown at https://www.luxalgo.com/library/indicator/ultimate-rsi.md
- [Adaptive Bounds RSI](https://www.luxalgo.com/library/indicator/adaptive-bounds-rsi/) (Adaptive/dynamic RSI): markdown at https://www.luxalgo.com/library/indicator/adaptive-bounds-rsi.md
- [RSI Multi Length](https://www.luxalgo.com/library/indicator/rsi-multi-length/) (RSI): markdown at https://www.luxalgo.com/library/indicator/rsi-multi-length.md
- [RSI Candlestick Oscillator](https://www.luxalgo.com/library/indicator/rsi-candlestick-oscillator/) (RSI): markdown at https://www.luxalgo.com/library/indicator/rsi-candlestick-oscillator.md
- [RSI Divergence: Out-of-Sample Optimizer](https://www.luxalgo.com/library/indicator/rsi-divergence-out-of-sample-optimizer/) (RSI): markdown at https://www.luxalgo.com/library/indicator/rsi-divergence-out-of-sample-optimizer.md
- [RSI Failure Swing](https://www.luxalgo.com/library/indicator/rsi-failure-swing/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/rsi-failure-swing.md
- [RSI-2](https://www.luxalgo.com/library/indicator/rsi-2/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/rsi-2.md
- [RSI of Other Sources](https://www.luxalgo.com/library/indicator/rsi-of-other-sources/) (Momentum & Oscillators): markdown at https://www.luxalgo.com/library/indicator/rsi-of-other-sources.md

---

Source: https://www.luxalgo.com/library/indicator/rainbow-adaptive-rsi/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
