Port the "trend context + stall + conviction + divergence + long/short coloring" view from CCI Advanced (indicators/momentum/cci_advanced/cci_advanced.pine, v1.2.0) onto an RSI core. New indicator, not a mode of CCI Advanced.
Why separate
RSI is the most direct bounded 0–100 candidate for this framework. It should stay separate so RSI-specific defaults, OB/OS levels, and 50-midline behavior are available without forcing users to reconfigure a shared indicator.
Keep identical framework structure
Same section order as the newer advanced oscillator ports: Core → Mid/Levels → Stall → Trend Context → Conviction → Divergence → Plots → Alerts.
Portable as-is
- Trend context line = slow RSI, faint behind the fast line, long/short colored
- Stall/absorption = oscillator-slope vs ATR-normalized price-slope, threshold on 0–100 scale
- Cross conviction = RSI/signal cross contradicted by flat price or counter-trend → weak/faded triangle
- Trend↔RSI divergence wedge = fill between fast and trend-context line that lights up only when they move opposite; n-bar slope + min-slope noise guard
- Long/Short coloring = green/red on trend context line + histogram + divergence wedge, teal/pink reserved for level
Adaptations vs CCI
- RSI is single-line → signal = smoothed RSI, like CCI's signal
- Bounded 0–100: drop scale modes
- Midline 50, OB/OS defaults 70 / 30 or 80 / 20; choose and document the default intent
- Gradient keyed on OB/OS levels
- Shadow fill to 50
- Long = above 50, Short = below 50
- RSI should be the cleanest baseline port and reference for future bounded oscillator variants
Deliverables
indicators/momentum/rsi_advanced/rsi_advanced.pine
README.md, CHANGELOG.md (v1.0)
- Header per CLAUDE.md (
[WavesUnchained], ✓ features, Build date)
- Root
README.md + CATALOG.md entries
- Validate in TradingView for CE errors
Port the "trend context + stall + conviction + divergence + long/short coloring" view from CCI Advanced (
indicators/momentum/cci_advanced/cci_advanced.pine, v1.2.0) onto an RSI core. New indicator, not a mode of CCI Advanced.Why separate
RSI is the most direct bounded 0–100 candidate for this framework. It should stay separate so RSI-specific defaults, OB/OS levels, and 50-midline behavior are available without forcing users to reconfigure a shared indicator.
Keep identical framework structure
Same section order as the newer advanced oscillator ports: Core → Mid/Levels → Stall → Trend Context → Conviction → Divergence → Plots → Alerts.
Portable as-is
Adaptations vs CCI
Deliverables
indicators/momentum/rsi_advanced/rsi_advanced.pineREADME.md,CHANGELOG.md(v1.0)[WavesUnchained], ✓ features, Build date)README.md+CATALOG.mdentries