OPEN-SOURCE SCRIPT
更新済 ADX-vALMA (N)

Its an advanced version of the Average Directional Index (ADX) designed to identify trend strength and direction with less lag and better smoothing.
Here is the breakdown of what it does:
1. Volume-Weighted ALMA (vALMA)
Instead of standard moving averages, this script uses ALMA (Arnaud Legoux Moving Average) weighted by volume.
The Benefit: It reduces the "lag" typically found in indicators while maintaining a very smooth line. The volume weighting ensures that price moves with high trading activity carry more weight.
2. Normalized ADX Mode (option)
You can toggle between two modes:
- Standard ADX: The classic calculation of trend strength.
- Normalized ADX: Rescales the ADX values to a 0–100 range based on a specific lookback period (default 50 bars). This helps identify trend surges relative to recent market behavior.
3. Visual Buy/Sell Signals
The script automatically plots shapes on your main price chart:
Green Triangle Up: Appears when the DI+ (bullish pressure) crosses above DI- (bearish pressure).
Red Triangle Down: Appears when the DI- crosses above DI+.
Note: There is a "Visual Offset" setting that allows you to shift these icons horizontally.
4. Dynamic ADX Coloring
The main ADX line changes color based on its slope:
Lime: Trend strength is currently increasing.
Red: Trend strength is fading or the market is entering a sideways phase.
5. Trend Filtering
It includes a Trend Threshold (defaulted at 22). When the ADX line is above this level, it indicates the market is in a strong trending state; below it, the market is considered "choppy" or range-bound.
Summary: It is a sophisticated trend-following tool that combines directional movement (DI+/DI-) with a high-tech filter (vALMA) to provide cleaner signals than the default ADX.
Here is the breakdown of what it does:
1. Volume-Weighted ALMA (vALMA)
Instead of standard moving averages, this script uses ALMA (Arnaud Legoux Moving Average) weighted by volume.
The Benefit: It reduces the "lag" typically found in indicators while maintaining a very smooth line. The volume weighting ensures that price moves with high trading activity carry more weight.
2. Normalized ADX Mode (option)
You can toggle between two modes:
- Standard ADX: The classic calculation of trend strength.
- Normalized ADX: Rescales the ADX values to a 0–100 range based on a specific lookback period (default 50 bars). This helps identify trend surges relative to recent market behavior.
3. Visual Buy/Sell Signals
The script automatically plots shapes on your main price chart:
Green Triangle Up: Appears when the DI+ (bullish pressure) crosses above DI- (bearish pressure).
Red Triangle Down: Appears when the DI- crosses above DI+.
Note: There is a "Visual Offset" setting that allows you to shift these icons horizontally.
4. Dynamic ADX Coloring
The main ADX line changes color based on its slope:
Lime: Trend strength is currently increasing.
Red: Trend strength is fading or the market is entering a sideways phase.
5. Trend Filtering
It includes a Trend Threshold (defaulted at 22). When the ADX line is above this level, it indicates the market is in a strong trending state; below it, the market is considered "choppy" or range-bound.
Summary: It is a sophisticated trend-following tool that combines directional movement (DI+/DI-) with a high-tech filter (vALMA) to provide cleaner signals than the default ADX.
リリースノート
Added D+, D-, and TR smoothing selection options:- Fast - smoothing based on the volume-weighted average ALMA (vALMA)
- Standard - smoothing as in the original Wilder indicator (RMA)
The ADX curve remains unchanged - it is still based on vALMA
リリースノート
Chart update - indicating differences between the quick and standard versionsオープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。