OPEN-SOURCE SCRIPT
Stochastic RSI with alerts - Danny Gee

Stochastic RSI — Zone Signal Edition
The classic Stoch RSI with visual alerts built in so you never miss a key momentum shift.
Features:
Standard Stoch RSI (K & D lines) with configurable lengths and smoothing
Zone entry candle colouring — price candles colour the moment K enters overbought (>80) or oversold (<20), so you see the signal on the main chart without watching the indicator pane
Zone exit candle colouring — separate colour fires when K crosses back out of the zone, flagging the potential momentum reversal point
BUY/SELL arrows plotted inside the indicator pane on zone entry for extra visibility
All colours fully customisable and independently toggleable
Signals:
🔴 Candle + SELL arrow — K enters overbought zone (>80) — look for sell FVG
🟢 Candle + BUY arrow — K enters oversold zone (<20) — look for buy FVG
🟠 Candle — K exits overbought — momentum fading, potential move beginning
🩵 Candle — K exits oversold — momentum fading, potential move beginning
Alerts included for all four conditions.
The classic Stoch RSI with visual alerts built in so you never miss a key momentum shift.
Features:
Standard Stoch RSI (K & D lines) with configurable lengths and smoothing
Zone entry candle colouring — price candles colour the moment K enters overbought (>80) or oversold (<20), so you see the signal on the main chart without watching the indicator pane
Zone exit candle colouring — separate colour fires when K crosses back out of the zone, flagging the potential momentum reversal point
BUY/SELL arrows plotted inside the indicator pane on zone entry for extra visibility
All colours fully customisable and independently toggleable
Signals:
🔴 Candle + SELL arrow — K enters overbought zone (>80) — look for sell FVG
🟢 Candle + BUY arrow — K enters oversold zone (<20) — look for buy FVG
🟠 Candle — K exits overbought — momentum fading, potential move beginning
🩵 Candle — K exits oversold — momentum fading, potential move beginning
Alerts included for all four conditions.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.