OPEN-SOURCE SCRIPT

Candle body break (M_WD4H1H)v5

111
Overview
This indicator is a multi-timeframe (MTF) analysis tool specialized in detecting candle body breaks. It overlays the break levels for five timeframes: monthly (M), weekly (W), daily (D), 4-hourly (4H), and 1-hourly (1H) on the current chart.

Major Features
Feature Description
Five timeframes: M/W/D/4H/1H. Data for each timeframe is retrieved and calculated using the request.security() function.
Break Detection Logic: A "body break" is defined as when the closing price of the current candlestick exceeds or falls below the body high/low of the previous opposite candlestick.
Confirmed Break Line: A solid line extending from the point of the break to the right edge of the chart indicates the price level at which a previous body break occurred. Upward breaks are drawn in blue, and downward breaks are drawn in red.
Candidate Break Lines: Green dotted lines indicate the (unbroken) body high and low levels that are the next target for a break.
Summary Table: A list of the most recent break direction (upward ⇧ / downward ⇩ / none "") for each time frame (M/W/D/4H/1H) is displayed in the upper right corner of the chart.
Display Time Frame Limit: Depending on user settings, the break line itself will only be displayed for the chart's time frame or higher. Candidate lines can also be displayed only for the current chart's time frame.
Alert Function: An alert will be issued when a body break occurs on the 1-hour (1H) time frame.
Scale Settings: The entire indicator is fixed to the price scale on the right.

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。