ADX (Indicator)
Input Information
Name | Expression | Default | Description |
ADXLength | Numeric | 14 | Number of bars to use in the calculation of ADX. |
TriggerLevel | Numeric | 20 | Alert trigger level when alerts are enabled. |
UsePlotColoring | TrueFalse | True | When true, plots different colors based on whether ADX is above or below trigger level. |
AboveTrigColor | Numeric | MyColors( "DodgerBlue" ) | Plot color when ADX is above trigger level and UsePlotColoring is true. |
BelowTrigColor | Numeric | Red | Plot Color when ADX is below trigger level and UsePlotColoring is true. |
EqualTrigColor | Numeric | MyColors( "Teal" ) | Plot color when cDX is at the trigger level and UsePlotColoring is true. |
ColorCellBGOnAlert | TrueFalse | True | When true, changes the back.ground cell color in a grid when the alert criteria is met |
BackgroundColorAlertCell | Numeric | DarkGray | Color for cell background when ColorCellBGOnAlert is true. |
Market Synopsis
The ADX measures the strength of a prevailing trend as well as whether movement exists in the market. A low ADX value (generally less than 20) can indicate a non-trending market with low volatility whereas a cross above 20 may indicate the start of a trend (either up or down). If the ADX is over 40 and begins to fall, it can indicate the slowdown of a current trend. This indicator can also be used to identify non-trending markets, or a deterioration of an ongoing trend. Although market direction is important in its calculation, the ADX is not a directional indicator.
Plot Information
Number | Name | Default Color | Description |
Plot 1 | ADX | DodgerBlue | Plots the ADX as a line. |
Plot 2 | TrigLevel | Teal | Plots the trigger level specified by the TriggerLevel input. |