paaax

[PX] ADX Boxes

paaax Updated   
Hello guys,

today I would like to share an indicator that I had in my mind for quite some time. I call it ADX Boxes.

How does it work?

What the indicator does is very simple. Whenever the ADX falls below a certain threshold (which can be managed in the user input settings) a box will appear. The box will continue to grow as long as the ADX stays below the threshold. Once the ADX goes back above the threshold, the box will stop growing and will set its right border.

There are two modes, which can be used to determine the upper and lower border of the box. The first one is called "Extremes", which plots the borders the highest high and lowest low for the range below the threshold. The second one is called "Avg. High/Low", which plots the borders at the average high and average low within the range.
Furthermore, the indicator contains an option to show the average value of the detected range below the ADX threshold.

Just like all my other indicator scripts, this one comes with different styling options for boxes in progress, settled boxes and the average value.

Hopefully, some of you find it useful.

Make sure you leave a follow and a like :)

Happy trading!!
Release Notes:
Added the option "Show Box?" to turn on and off the box visualization. Turning the box off enables the indicator to plot more mid-lines in history, which turned out to be very useful when projected into the future.
Release Notes:
Added an option to extend the mid line.
Release Notes:
Fixed "Pine cannot determine the referencing length of a series."-error and updated header.

🙋‍♂️Listed as "Trusted Pine Programmer for Hire"

💰Save $30 on your Tradingview subscription: bit.ly/3OtLyNz

🔓Indicator access: www.dize-trading.de

🔒Trial access: discord.gg/DqwKjBZ8Qe
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.

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.

Want to use this script on a chart?