Overview
A precise, dual-algorithm adaptation of the highly regarded ADX and DI indicator. Designed for professional trend-following and momentum trading, this tool measures both the direction of the market (DI+ / DI-) and the absolute strength of the prevailing trend (ADX).
What sets this specific version apart is the inclusion of a customizable ADX Smoothing Method, allowing traders to choose the exact mathematical behavior of their trend strength line.
The Dual-Algorithm Engine
Different trading strategies require different mathematical tolerances. We integrated two distinct calculation models for the final ADX line:
- SMA (Original): The exact, highly accurate Simple Moving Average smoothing approach pioneered in the widely popular custom script by BeikabuOyaji.
- Wilder (Classic): The traditional, exponential-style smoothing originally formulated by J. Welles Wilder, providing the classic academic standard.
Key Features
- Seamless Algorithm Toggle: Instantly switch between BeikabuOyaji's precise SMA logic and the classic Wilder's smoothing via the settings menu.
- Clear Directional Bias: Distinct DI+ (Green) and DI- (Red) lines allow for immediate identification of bullish or bearish momentum.
- Built-in Threshold Filter: Features a customizable horizontal threshold line (default at 20) to help filter out weak trends, allowing you to ignore choppy or ranging markets.
- Optimized Stability: Built with robust zero-division protection, ensuring flawless mathematical execution even on early historical data points.
Credits: This tool is a faithful, mathematically accurate port and extension of the original Pine Script v4 "ADX and DI for v4" indicator developed by BeikabuOyaji.
Comments