OPEN-SOURCE SCRIPT
Cập nhật

ADX-vALMA (N)

8 997
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.
Phát hành các Ghi chú
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
Phát hành các Ghi chú
Chart update - indicating differences between the quick and standard versions

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.