OPEN-SOURCE SCRIPT
Momentum Tide @darshakssc

Momentum Tide is an adaptive gradient-fill RSI oscillator. Instead of a smoothed RSI line
with fixed overbought/oversold zone colors, momentum is visualized as a single "tide" — a
continuous gradient fill between the smoothed RSI and the midline, where fill intensity
scales with distance from midline rather than using discrete zone bands.
🔶 HOW IT WORKS
RSI is smoothed with an EMA, then plotted against an adaptive overbought/oversold reference
calculated from the rolling standard deviation of RSI (not fixed 70/30 levels), so the tool
self-adjusts across instruments and timeframes. An ATR-based volatility filter suppresses
signals during low-momentum chop.
🔶 HOW TO USE
- Green tide + rising = building bullish momentum. Red tide + falling = building bearish momentum.
- Triangle markers = confirmed midline momentum shift (bar-close confirmed, non-repainting).
- Circle markers = reversal signal from the adaptive extreme zone.
- Dashboard (top-right) shows live RSI value, tide state, and momentum strength %.
🔶 SETTINGS
RSI Length, Smoothing Length, ATR Filter Length/Ratio, Adaptive Lookback, Adaptive Band Width.
🔶 LIMITATIONS
This is a momentum-visualization tool, not a standalone entry system. Best combined with
structure/S-R context. Can flip state more frequently in low-volatility, range-bound sessions.
For educational/informational purposes only. Not financial advice. Past performance does
not guarantee future results. Always use proper risk management.
with fixed overbought/oversold zone colors, momentum is visualized as a single "tide" — a
continuous gradient fill between the smoothed RSI and the midline, where fill intensity
scales with distance from midline rather than using discrete zone bands.
🔶 HOW IT WORKS
RSI is smoothed with an EMA, then plotted against an adaptive overbought/oversold reference
calculated from the rolling standard deviation of RSI (not fixed 70/30 levels), so the tool
self-adjusts across instruments and timeframes. An ATR-based volatility filter suppresses
signals during low-momentum chop.
🔶 HOW TO USE
- Green tide + rising = building bullish momentum. Red tide + falling = building bearish momentum.
- Triangle markers = confirmed midline momentum shift (bar-close confirmed, non-repainting).
- Circle markers = reversal signal from the adaptive extreme zone.
- Dashboard (top-right) shows live RSI value, tide state, and momentum strength %.
🔶 SETTINGS
RSI Length, Smoothing Length, ATR Filter Length/Ratio, Adaptive Lookback, Adaptive Band Width.
🔶 LIMITATIONS
This is a momentum-visualization tool, not a standalone entry system. Best combined with
structure/S-R context. Can flip state more frequently in low-volatility, range-bound sessions.
For educational/informational purposes only. Not financial advice. Past performance does
not guarantee future results. Always use proper risk management.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.