OPEN-SOURCE SCRIPT
Updated

Candle body break (WD4H1H)

241
When the body of a candlestick breaks on the weekly, daily, 4-hour, and 1-hour charts, a sign and horizontal line will be displayed. The alert corresponds to the break of the 1-hour chart, and although there are some places where it is not displayed accurately, it may be useful as a guide when determining whether a bottom or peak is forming.
Release Notes
This indicator automatically detects candle body breaks on weekly, daily, 4-hourly, and 1-hourly charts, and draws horizontal lines at the highs and lows at the time of the break. It also displays a table listing the most recent break direction (upward ⇧/downward ⇩), allowing you to see the break status across multiple time frames at a glance.

*This is a more robust version of the previous logic.

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.