christofferka

ADX Color Coded Bar

christofferka Aktualisiert   
I use the Average Directional Index quite a lot in my trading both manual and automatic trading so i thought i would make it a little easier for myself and others to see if the ADX is above or below a certain value and to allow space on the chart for other indicators. This is done by plotting a green and red bar, green when the ADX is above a certain value and red when the ADX is below it.

Trading in the direction of a strong trend reduces risk and increases profit potential. The ADX is used to determine when the price is trending strongly. In many cases, it is the ultimate trend indicator. After all, the trend is your friend. ADX is usually plotted as a single line with values ranging from a low of zero to a high of 100. ADX is non-directional and registers trend strength whether price is trending up or down.

When the value of the ADX is going up above 20 which is the threshold i like to use, it means that there is more likely to be a confident move. So if you get an entry signal when the ADX bar is red the price is more likely to be in an area of consolidation where fakeouts could happen. It might be a good idea to stay away from entering trades here or remember to take some profits early and set the stop loss to break even.

Keep in mind that the ADX is a lagging indicator and not leading.
Versionshinweise:
Added the option to use another timeframe.
Changed the default threshold to 25.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?