Gradient RSI Candles
Gradient RSI Candles is an indicator drawn in its own pane.
core language
indicator "Gradient RSI Candles"pane: newinput length = 14strength = rsi(close, length)tint = gradient(strength, low: red, high: green, from: 30, to: 70)pane "RSI", height: 30%candles open: open, high: high, low: low, close: close, color: tint, pane: "RSI"plot strength, color: tint, width: 2, pane: "RSI"hline 70, style: dashed, color: grayhline 30, style: dashed, color: graySample data. Not a result. The real AlgoBarsX engine ran this exact script on made-up bars, and this replays what it drew and did. It shows no profit or loss, and it says nothing about how the script would do in a real market.
Replay of this script on 150 sample bars: 1 line drawn.
Gradient RSI Candles is an indicator drawn in its own pane.
You can change one input: length (default 14).
It calculates strength as the RSI over length bars and tint as the gradient (value strength, low red, high green, from 30, to 70).
On the chart, it draws a pane, draws a candles, plots strength, draws a horizontal line at 70 and draws a horizontal line at 30.