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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。