OPEN-SOURCE SCRIPT

SymFlex Band No1. - Momentum Weighted Volatility Bands

75
SymFlex Band No1 – Momentum-Weighted Adaptive Volatility Band

Overview
The SymFlex Band No1 is a custom-built volatility band that fuses momentum and volatility into a flexible, asymmetric envelope.
It adapts dynamically to market conditions using RSI-based momentum weighting and a selection of smoothing algorithms, making it responsive to both trend shifts and volatility expansions.

Key Features
📊 Momentum-Weighted Width
The band expands or contracts based on RSI momentum. When the RSI is above 50, the upper band becomes more sensitive; when below 50, the lower band responds more dynamically.

🔁 Asymmetric Adaptation
Unlike traditional Bollinger Bands or Keltner Channels, the upper and lower bands of the SymFlex system are independently adjusted based on momentum conditions, creating a non-linear envelope structure.

⚙️ Selectable Smoothing Methods
You can choose among the following methods to control the volatility smoothing:

EMA (Exponential Moving Average)

TEMA (Triple Exponential Moving Average)

ZeroLag EMA v0 (double EMA difference method)

ZeroLag EMA v1 (lag-compensated input)

🛠 Fully Customizable Inputs

RSI Length

Band Multiplier

Band Length

Smoothing Type

How It Works
RSI is calculated over a defined length and normalized to a weight between -1 and +1.

Standard deviation (volatility) of the close price is computed and smoothed.

The band centerline is a Simple Moving Average (SMA).

The band boundaries are then:

Upper = Middle + (1 + momentum_weight) × multiplier × smoothed_volatility

Lower = Middle - (1 + momentum_weight) × multiplier × smoothed_volatility

Use Cases
Detect momentum-driven breakouts

Spot compressions before expansions

Adapt to volatile or trending markets more effectively than fixed bands

Disclaimer
This script is for educational and research purposes only. It is not financial advice. Use with discretion and always validate with additional signals and proper risk management.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.