OPEN-SOURCE SCRIPT

Colored ADX with DI+/- and thresholds

מעודכן
Average Directional Index ( ADX )

Based off of MasaNakamura's implementation, modified to show high & super-high momentum thresholds. In addition, coloring the trend line by the prevailing trend direction from the DI (Red if down, Green if up) allows you to remove the DI if you want to reduce chart clutter!

"The Average Directional Index (ADX), Minus Directional Indicator (-DI) and Plus Directional Indicator (+DI) represent a group of directional movement indicators that form a trading system developed by Welles Wilder....
The Plus Directional Indicator (+DI) and Minus Directional Indicator (-DI) are derived from smoothed averages of these differences, and measure trend direction over time. These two indicators are often referred to collectively as the Directional Movement Indicator (DMI).

The Average Directional Index (ADX) is in turn derived from the smoothed averages of the difference between +DI and -DI, and measures the strength of the trend (regardless of direction) over time.

Using these three indicators together, chartists can determine both the direction and strength of the trend....

At its most basic, the Average Directional Index (ADX) can be used to determine if a security is trending or not. This determination helps traders choose between a trend-following system or a non-trend-following system. Wilder suggests that a strong trend is present when ADX is above 20..."


See
investopedia.com/articles/trading/07/adx-trend-indicator.asp
stockcharts.com/school/doku.php?st=adx&id=chart_school:technical_indicators:average_directional_index_adx
for detail.

AMD

There are more plans to add vertical lines on crosses and divergence indicators so stay tuned!

Thank you and good trading!
הערות שחרור
Added A color-correlation option to change colors based on the DI+/- to show the trend direction, or based on the threshold/magnitude of the trend
Centered OscillatorsMoving AveragesTrend Analysis

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור