ADX Di+ Di- [Gu5]

Fill indicates Strong Trend

Cross indicates End of Trend


El relleno indica una fuerte tendencia cuando el Di supera "Level Trend"

El cruce de Di+ con Di- indica el fin de la tendencia

Cuando el valor del ADX es menor a "Level Range", estamos en Rango
Release Notes: Clean code
Change Alert, add label
Release Notes: Fix Bug
Clean code
Now comply Pine Script Coding Conventions
Release Notes: Change alert, add Bar color, and clean code
Release Notes: Fixed false entries
Clean code
Add alerts
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Hi, i have a question for you hope you still using TV. Do you have any youtube cahnel where i can see how this works?
+17 Reply
Hello and good day, seems to be a fantastic ADX DI, just not so sure what the X is, ok end of trend but seems more like chop area? bc mostly it appears on sideways action...or if a trend change happened the next trend dont show.. can u give more explaination about this pls, thank u
+5 Reply
interesting. gonna try this out.
does this work in all timeframes with the default settings? doing intraday
+5 Reply
Thanks...but it repaints..can u fix??/
+3 Reply
gu5tavo71 btcaudi
@btcaudi, done
+1 Reply
It's possilbe to create an alert (eg. email alert) when ADX line changes color?

+1 Reply
gu5tavo71 bialy39
@bialy39, Done
+2 Reply
bialy39 gu5tavo71
@gu5tavo71, Thank you!
PVIII bialy39
@bialy39, Can you please tell me how you do it for when it changes colour? Thanks. I can set alerts but how to when it changes colour?
bialy39 PVIII
@PVIII, Just left it as "Any Alert".
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out