OPEN-SOURCE SCRIPT

PD Break Behavior Analysis

54
The PD Break Behavior Analysis indicator tracks and classifies daily price action relative to the previous day's high (PDH) and low (PDL). It evaluates how often price:

Breaks only the PDH (single upper breakout)

Breaks only the PDL (single lower breakdown)

Breaks both PDH and PDL (double breakout)

Remains inside the previous day’s range (no break)

Gaps and stays entirely above the previous day’s high (strong bullish gap)

The indicator maintains rolling counts for the past:

50 trading days

100 trading days

300 trading days

These statistics are displayed in a clear on-chart table, providing insight into market behavior over multiple timeframes.

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.