christofferka

ADX Color Coded Bar

christofferka Uppdaterad   
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.
Versionsinformation:
Added the option to use another timeframe.
Changed the default threshold to 25.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?