paaax

[PX] ADX Boxes

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!!
發布通知: 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.
發布通知: Added an option to extend the mid line.
發布通知: Fixed "Pine cannot determine the referencing length of a series."-error and updated header.
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
http://www.pascal-simon.de - Custom indicator development

評論

A hidden gem! I've found some fascinating patterns of market behavior by observing if A)price closes candles beyond the ADX box and B) how previous midlines act as magnets during excursions back into the box price ranges. Inability to close beyond previous midlines often return to opposite side of the box that created the midline. Really valuable indicator! Thanks for your work!
+1 回覆
Hi, if I well understood this indicator could give a hint when the market is going horizontal? Correct
+1 回覆
Your work is admirable. This is a case of deep analysis and excellent results! Thanks! Waiting for other works!
回覆
thanks paax very good
回覆
hello,
ive been trying to us this along with my script its very helpful but im trying to only plot my long/short signals when there are no ADX boxes forming or complete can you tell me which variable plots the forming and completed line of the box so i can say for example :
longCond = long and not(ADX BOX is forming or completed)
shortCond = short and not(ADX BOX is forming or completed)
回覆
hello Paaax,
how do i get the top or bottom lines of the box when its in progress or finished, lets say I wanted to code something like this for example:
(low<=bottom of box)
(high>=top of box)
if (candle is in the box forming or completed)
回覆
Just what I needed. Excellent tool. Thank you very much.
回覆
I have this error
Script could not be translated from: )|E||B|showBox
回覆
it says - the pine cannot determine the referencing length of series. what should i do?
回覆
paaax siddharthbudhale
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 關於 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特