OPEN-SOURCE SCRIPT
Candle body break - Pure Box

Short Description
Visually charts the exact highs and lows of the three most recent confirmed higher-timeframe (HTF) candles as pure, independent boxes without any repainting.
Detailed Description
Overview
This indicator dynamically calculates and tracks three distinct levels of higher timeframes (HTFs) relative to your current chart interval. It visualizes the precise historical boundary (High to Low) and duration (Open time to Close time) of the most recently closed HTF candles as clean, separate boxes.
Key Features
Zero Repainting: Built strictly with lookahead=barmerge.lookahead_off and referencing confirmed data ([1]). The boxes never shift, calculation is locked upon session close, ensuring historical accuracy.
Dynamic Timeframe Selection: Automatically scales the three higher timeframes based on whether you are viewing intraday, daily, or weekly charts.
Independent Visual Isolation: Each timeframe maintains its own dedicated memory pool (array) and visual layer, keeping the historical market structure unpolluted.
How to Use
Use these pure structural boxes to identify major macro support/resistance zones, evaluate candle body gaps, and monitor multi-timeframe structural breaks right from your current lower-timeframe execution chart.
日本語表記(国内・個人用説明文)
概要
現在のチャート足(下位足)に応じて動的に判定された「3つの上位足」の、直近で完全に確定したローソク足(1本前)の高値・安値・期間を、リペイントを一切排除した純粋なボックスとして独立描写するマルチタイムフレーム(MTF)インジケーターです。
主な特徴と設計規律
完全ノンリペイント(確定値の厳守):
lookahead=barmerge.lookahead_off を採用し、すでに市場の合意が得られた確定足([1])のデータのみを抽出しています。リアルタイム形成中の上位足のブレに惑わされることはありません。
動的な時間軸自動切り替え:
分足、日足、週足など、表示している現在のタイムフレームに合わせて、最適な上位足3階層を内部ロジックで自動選択します。
独立したデータ構造:
それぞれの時間軸ごとに独立したボックス配列(Pool)を生成し、表示本数を制御しているため、過去の重要なマクロ構造の壁を曇りなく正確に視覚化します。
トレードへの活用
下位足でのエントリー執行中に、マクロ(大局)の物理的なレジスタンス・サポートラインや、ローソク足の実体・ヒゲによるブレイクアウトの事実を、同一チャート上で一目で把握するために最適化されています。
Visually charts the exact highs and lows of the three most recent confirmed higher-timeframe (HTF) candles as pure, independent boxes without any repainting.
Detailed Description
Overview
This indicator dynamically calculates and tracks three distinct levels of higher timeframes (HTFs) relative to your current chart interval. It visualizes the precise historical boundary (High to Low) and duration (Open time to Close time) of the most recently closed HTF candles as clean, separate boxes.
Key Features
Zero Repainting: Built strictly with lookahead=barmerge.lookahead_off and referencing confirmed data ([1]). The boxes never shift, calculation is locked upon session close, ensuring historical accuracy.
Dynamic Timeframe Selection: Automatically scales the three higher timeframes based on whether you are viewing intraday, daily, or weekly charts.
Independent Visual Isolation: Each timeframe maintains its own dedicated memory pool (array) and visual layer, keeping the historical market structure unpolluted.
How to Use
Use these pure structural boxes to identify major macro support/resistance zones, evaluate candle body gaps, and monitor multi-timeframe structural breaks right from your current lower-timeframe execution chart.
日本語表記(国内・個人用説明文)
概要
現在のチャート足(下位足)に応じて動的に判定された「3つの上位足」の、直近で完全に確定したローソク足(1本前)の高値・安値・期間を、リペイントを一切排除した純粋なボックスとして独立描写するマルチタイムフレーム(MTF)インジケーターです。
主な特徴と設計規律
完全ノンリペイント(確定値の厳守):
lookahead=barmerge.lookahead_off を採用し、すでに市場の合意が得られた確定足([1])のデータのみを抽出しています。リアルタイム形成中の上位足のブレに惑わされることはありません。
動的な時間軸自動切り替え:
分足、日足、週足など、表示している現在のタイムフレームに合わせて、最適な上位足3階層を内部ロジックで自動選択します。
独立したデータ構造:
それぞれの時間軸ごとに独立したボックス配列(Pool)を生成し、表示本数を制御しているため、過去の重要なマクロ構造の壁を曇りなく正確に視覚化します。
トレードへの活用
下位足でのエントリー執行中に、マクロ(大局)の物理的なレジスタンス・サポートラインや、ローソク足の実体・ヒゲによるブレイクアウトの事実を、同一チャート上で一目で把握するために最適化されています。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。