ADX: The average directional index (ADX) is a technical analysis indicator used by some traders to determine the strength of a trend.
DI: The directional movement index (DMI) is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. ... Conversely, if -DI is above +DI, then there is more downward pressure on the price. This indicator may help traders assess the trend direction.
EMA: The exponential moving average (EMA) is a technical chart indicator that tracks the price of an investment (like a stock or commodity) over time. The EMA is a type of weighted moving average (WMA) that gives more weighting or importance to recent price data.
UPDATE: This current indicator has been changed from MA and EMA trend lines the 9 and the 50, and also added Inside & Outside bars...You can toggle anything Off or On
The code in this indicator calculates the value of each ADX and DI (+/-) value to give a green color for DI + trend and a red color for DI - trend, and lastly white for no direction...The nice part of this code is the 50 EMA will be your bull or bear transition level. The colors heading to the ema will tell you if we are still bull or bear heading to the EMA.
I also changed the ADX to become the 9 EMA with Yellow showing a ADX positive rate of change, Blue showing a negative rate of change, and white to show that the trend has no direction.
Open settings to adjust how big or small you want the ema lines to be and adjust colors for what works for you. Hopefully you enjoy this update