Regime Oscillator [SuperCharting]
A Pine Script indicator by jayadev.
A smoothed position-in-range oscillator from -100 to +100 with a gradient histogram, a signal line and shaded overbought and oversold zones. Dots mark signal crosses that happen inside the extremes, the classic regime turn.
Settings: length, smoothing, colours. Alerts on reversals from both extremes.
Test it free on supercharting.com