OPEN-SOURCE SCRIPT

Price Adjusted ADX Trend Identifier

Used to identify trend by applying advance decline formula directly to price action. The result is smoothed activity that incorporates trend strength so that minor pullbacks and consolidation that result from large moves do not cloud the overall trend of the chart. Also sideways action will identify the end of a trend sooner by incorporating the shrinking advance decline activity into price action.

The value is less important than the trend identification against the shown imbedded Bollinger band.

The script allows for advance decline length to be adjusted. Set at 2. Longer will be less reactive shorter will be more reactive.

I have not traded this indicator but it may be useful in identifying smoother trends. Possibly using the cross of the ADX line against the Bollinger upper/lower/mid lines.

Enjoy.
Trend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer