paaax

[PX] ADX Boxes

paaax Aktualisiert   
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!!
Versionshinweise:
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.
Versionshinweise:
Added an option to extend the mid line.
Versionshinweise:
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 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?