OPEN-SOURCE SCRIPT
SymFlex Band - MAD, RSI Momentum, ATR Volatility

"I wanted to design a hybrid band tool that adapts to different market conditions (volatility, momentum, trend) all in one."
"When the RSI band expands asymmetrically and the price closes outside it, this often signals a momentum climax or exhaustion zone."
"Ideal for traders looking to combine volatility breakout and mean reversion logic without switching indicators."
SymFlex Band is a flexible, multi-source band indicator that combines three dynamic metrics:
✅ MAD Band – Median Absolute Deviation-based range band
✅ RSI Momentum Band – Adaptive envelope using RSI deviation and trend bias
✅ ATR Band – Classic Average True Range-based volatility band
📌 Features
-Selectable band types (individually toggled)
-Configurable moving average for center line (EMA, SMA, TEMA, DEMA, Zero-lag variants)
-Dynamic distance and breakout tracking
-Automatic nearest band detection
-Real-time correlation table between bands
This tool helps identify price location relative to statistically adaptive bands, making it easier to detect breakout conditions, mean-reversion zones, and trend-following opportunities.
🚫 Note: This version is an indicator only. Strategy logic and entry triggers have been removed for publication clarity.
🔍 Use Case Suggestions:
Use MAD for range-dominant assets
Use RSI Band for momentum-driven setups
Use ATR when volatility-based positioning is key
Combine all three to get a full perspective of price behavior
"When the RSI band expands asymmetrically and the price closes outside it, this often signals a momentum climax or exhaustion zone."
"Ideal for traders looking to combine volatility breakout and mean reversion logic without switching indicators."
SymFlex Band is a flexible, multi-source band indicator that combines three dynamic metrics:
✅ MAD Band – Median Absolute Deviation-based range band
✅ RSI Momentum Band – Adaptive envelope using RSI deviation and trend bias
✅ ATR Band – Classic Average True Range-based volatility band
📌 Features
-Selectable band types (individually toggled)
-Configurable moving average for center line (EMA, SMA, TEMA, DEMA, Zero-lag variants)
-Dynamic distance and breakout tracking
-Automatic nearest band detection
-Real-time correlation table between bands
This tool helps identify price location relative to statistically adaptive bands, making it easier to detect breakout conditions, mean-reversion zones, and trend-following opportunities.
🚫 Note: This version is an indicator only. Strategy logic and entry triggers have been removed for publication clarity.
🔍 Use Case Suggestions:
Use MAD for range-dominant assets
Use RSI Band for momentum-driven setups
Use ATR when volatility-based positioning is key
Combine all three to get a full perspective of price behavior
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.