PROTECTED SOURCE SCRIPT
RSI Bands With RSI - ATR Trend Strategy

RSI Bands With RSI-ATR Trend Line Strategy
Overview
A trend-following strategy that combines RSI regime detection with a smoothed baseline and ATR bands. Works similar to Supertrend: the line flips bullish or bearish only when price closes beyond the band, aiming to filter noise and catch clean moves.
How It Works
RSI above 50 = bullish bias, below 50 = bearish bias
A dynamic baseline is calculated from RSI and price range, then smoothed
ATR bands expand/contract with volatility
Close above the upper band → bullish flip → long entry
Close below the lower band → bearish flip → short entry
Between bands → prior trend continues
Features
Automatic Buy/Sell entries on confirmed flips
Configurable RSI, Smoothing, ATR, and Multiplier inputs
Visual trend line (green = bull, red = bear)
Backtest ready with initial capital and commission settings
Best Use Cases
Trending markets across Forex, Crypto, Indices, Commodities
Works on multiple timeframes (higher TFs = cleaner flips)
Flexible settings for conservative swing trading or aggressive scalping
⚠️ For testing/education only. Always manage risk and confirm with higher-timeframe or structure filters.
Overview
A trend-following strategy that combines RSI regime detection with a smoothed baseline and ATR bands. Works similar to Supertrend: the line flips bullish or bearish only when price closes beyond the band, aiming to filter noise and catch clean moves.
How It Works
RSI above 50 = bullish bias, below 50 = bearish bias
A dynamic baseline is calculated from RSI and price range, then smoothed
ATR bands expand/contract with volatility
Close above the upper band → bullish flip → long entry
Close below the lower band → bearish flip → short entry
Between bands → prior trend continues
Features
Automatic Buy/Sell entries on confirmed flips
Configurable RSI, Smoothing, ATR, and Multiplier inputs
Visual trend line (green = bull, red = bear)
Backtest ready with initial capital and commission settings
Best Use Cases
Trending markets across Forex, Crypto, Indices, Commodities
Works on multiple timeframes (higher TFs = cleaner flips)
Flexible settings for conservative swing trading or aggressive scalping
⚠️ For testing/education only. Always manage risk and confirm with higher-timeframe or structure filters.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.