OPEN-SOURCE SCRIPT
Momentum Weighted Bands | NAL

1. Overview
Momentum Weighted Bands | NAL is an adaptive trend indicator utilizing volatility bands that follow momentum. Instead of using one fixed band multiplier at all times, it studies the current momentum environment and adjusts the bands tightness dynamically.
2. Calculation
The indicator starts by calculating RSI as its momentum engine. It then subtracts an EMA of that RSI to create a momentum residual, showing whether momentum is stronger or weaker than its own recent average.
That residual is ranked using percent rank. The stronger the momentum residual is compared to recent history, the more the band multiplier shifts between the minimum and maximum values.
The final bands are built as:
Pine Script®
A bullish state triggers when price closes above the upper band. A bearish state triggers when price closes below the lower band.
3. Key Features
4. Use
Use it to quickly identify when price is escaping its normal momentum-adjusted range. Above the upper band suggests bullish expansion, below the lower band suggests bearish expansion, and movement inside the bands means price has not yet confirmed a new directional regime.
Momentum Weighted Bands | NAL is an adaptive trend indicator utilizing volatility bands that follow momentum. Instead of using one fixed band multiplier at all times, it studies the current momentum environment and adjusts the bands tightness dynamically.
2. Calculation
The indicator starts by calculating RSI as its momentum engine. It then subtracts an EMA of that RSI to create a momentum residual, showing whether momentum is stronger or weaker than its own recent average.
That residual is ranked using percent rank. The stronger the momentum residual is compared to recent history, the more the band multiplier shifts between the minimum and maximum values.
The final bands are built as:
A bullish state triggers when price closes above the upper band. A bearish state triggers when price closes below the lower band.
3. Key Features
- Volatility bands adaptive to momentum conditions.
- Filters noise through confluence.
- Clean trend-state visualization with visual options.
4. Use
Use it to quickly identify when price is escaping its normal momentum-adjusted range. Above the upper band suggests bullish expansion, below the lower band suggests bearish expansion, and movement inside the bands means price has not yet confirmed a new directional regime.
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.