OPEN-SOURCE SCRIPT

ADX and DI With Coloured Histogram BUY/SELL

42711
We display here the ADX has a colored histogram, which is
- green when ADX and DI+ are higher then DI-, while the ADX is increasing, meaning that we are in a potential uptrend--> we should rather be long (only buy if you have other concordant signals !)
- red when ADX and DI- are higher then DI+, while the ADX is increasing, meaning that we are in a potential downtrend --> we should rather be short (only sell if you have other concordant signals !)
- not visible if none of these conditions are met, meaning that the indicator do not show a potential trend --> don't use this indicator to buy or sell at this stage

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.