OPEN-SOURCE SCRIPT
MTF Candle Body Break WITH 20SMA

MTF Candle Body Break WITH 20SMA: Complete Guide
This indicator is a professional-grade market environment analysis tool designed to synchronize "Market Structure" and "Momentum" across multiple timeframes (MTF).
1. Core Logic: Candle Body Break
Unlike traditional high/low breakouts that include wicks, this tool focuses exclusively on "Body Breaks" (Closing prices).
Logical Basis: Wicks often represent temporary noise. A closing price break signifies a genuine shift in market consensus.
Visualization: * Blue Lines: Bullish Structure.
Red Lines: Bearish Structure.
Gray/Black Lines: Historical breakout levels that often act as future Support or Resistance (S/R Flip).
2. Triple 20SMA System
The indicator automatically plots three generations of 20-period SMAs relative to your current chart.
Short-term (Black): 15-Min 20SMA (On a 1H chart). This acts as the "immediate support" for a strong trend.
Mid-term (Blue): Current TF 20SMA. The backbone of the trend.
Long-term (Red): Higher TF 20SMA. The major trend direction.
3. The Dashboard System (Three Components)
The right side of the screen features a three-part visual system to confirm trend alignment:
① Top-Right Panel: Long-Term Signal
Compares Daily (1D) and 4-Hour (4H) structure.
Blue: Both are bullish.
Red: Both are bearish.
② Middle-Right Bar: Momentum Signal (The "Final Filter")
This vertical bar represents the SMA 10/20 Sync.
Blue: The SMA 10 is above the SMA 20 on the 1-Hour chart. This indicates that short-term momentum is accelerating upward.
Red: The SMA 10 is below the SMA 20. This indicates downward acceleration.
Gray: No clear momentum (ranging or indecisive).
③ Bottom-Right Panel: Short-Term Signal
Compares 1-Hour (1H) and 15-Minute (15M) structure.
Blue: Both are bullish.
Red: Both are bearish.
4. Entry Signal: The "●" (Dot)
The "●" signal is the "Perfect Alignment" trigger. It appears when:
Long-term (Daily/4H) is aligned.
Short-term (1H/15M) is aligned.
Momentum (Middle Bar) is aligned.
When all these turn the same color, the "●" appears, signaling a high-probability trade.
日本語解説:完全版
このインジケーターは、**「相場の構造(実体ブレイク)」と「勢い(移動平均線の同期)」**を全時間軸で一致させ、高勝率なポイントを特定する環境認識ツールです。
1. 核心:実体ブレイク(Body Break)
ヒゲではなく、**「終値(実体)」**で高値・安値を更新した時のみをトレンド転換と見なします。
メリット: 突発的なヒゲによるダマシを排除し、真の構造変化を捉えます。
表示: 青ライン(上昇)、赤ライン(下落)。過去のラインはグレー(サポレジ転換の目安)として残ります。
2. 3本の20SMA
チャートの時間足に合わせて、自動で最適な3本のSMAを描画します。
短期(黒): 15分足20MA(1時間足チャート時)。今の勢いを表し、押し目買いの目印になります。
中期(青): 表示中の時間足の20MA。
長期(赤): 上位足の20MA。
3. 3つのダッシュボード(信号機)
右側に表示される3つのパーツが、トレードの「Go/No-Go」を判定します。
① 右上パネル:長期構造シグナル
日足と4時間足の構造を比較します。ここが「青」なら、大きな流れは上向きです。
② 右中央のバー:モーメンタム・シグナル(真ん中のテーブル)
1時間足のSMA10とSMA20の同期を表します。
青: SMA10 > SMA20(上昇加速中)
赤: SMA10 < SMA20(下落加速中)
役割: 構造が良くても、勢いが死んでいる(レンジ)時はエントリーを避けるための「最終フィルター」です。
③ 右下パネル:短期構造シグナル
1時間足と15分足の構造を比較します。ここが「青」に変わる瞬間が、エントリーの準備段階です。
4. エントリーサイン「●」
「長期・中期(真ん中のバー)・短期」すべての色が揃った瞬間にチャートに「●」が出現します。 すべての時間軸の投資家が同じ方向を向いた「完璧な同調」を示しており、最も期待値の高いエントリーポイントとなります。
This indicator is a professional-grade market environment analysis tool designed to synchronize "Market Structure" and "Momentum" across multiple timeframes (MTF).
1. Core Logic: Candle Body Break
Unlike traditional high/low breakouts that include wicks, this tool focuses exclusively on "Body Breaks" (Closing prices).
Logical Basis: Wicks often represent temporary noise. A closing price break signifies a genuine shift in market consensus.
Visualization: * Blue Lines: Bullish Structure.
Red Lines: Bearish Structure.
Gray/Black Lines: Historical breakout levels that often act as future Support or Resistance (S/R Flip).
2. Triple 20SMA System
The indicator automatically plots three generations of 20-period SMAs relative to your current chart.
Short-term (Black): 15-Min 20SMA (On a 1H chart). This acts as the "immediate support" for a strong trend.
Mid-term (Blue): Current TF 20SMA. The backbone of the trend.
Long-term (Red): Higher TF 20SMA. The major trend direction.
3. The Dashboard System (Three Components)
The right side of the screen features a three-part visual system to confirm trend alignment:
① Top-Right Panel: Long-Term Signal
Compares Daily (1D) and 4-Hour (4H) structure.
Blue: Both are bullish.
Red: Both are bearish.
② Middle-Right Bar: Momentum Signal (The "Final Filter")
This vertical bar represents the SMA 10/20 Sync.
Blue: The SMA 10 is above the SMA 20 on the 1-Hour chart. This indicates that short-term momentum is accelerating upward.
Red: The SMA 10 is below the SMA 20. This indicates downward acceleration.
Gray: No clear momentum (ranging or indecisive).
③ Bottom-Right Panel: Short-Term Signal
Compares 1-Hour (1H) and 15-Minute (15M) structure.
Blue: Both are bullish.
Red: Both are bearish.
4. Entry Signal: The "●" (Dot)
The "●" signal is the "Perfect Alignment" trigger. It appears when:
Long-term (Daily/4H) is aligned.
Short-term (1H/15M) is aligned.
Momentum (Middle Bar) is aligned.
When all these turn the same color, the "●" appears, signaling a high-probability trade.
日本語解説:完全版
このインジケーターは、**「相場の構造(実体ブレイク)」と「勢い(移動平均線の同期)」**を全時間軸で一致させ、高勝率なポイントを特定する環境認識ツールです。
1. 核心:実体ブレイク(Body Break)
ヒゲではなく、**「終値(実体)」**で高値・安値を更新した時のみをトレンド転換と見なします。
メリット: 突発的なヒゲによるダマシを排除し、真の構造変化を捉えます。
表示: 青ライン(上昇)、赤ライン(下落)。過去のラインはグレー(サポレジ転換の目安)として残ります。
2. 3本の20SMA
チャートの時間足に合わせて、自動で最適な3本のSMAを描画します。
短期(黒): 15分足20MA(1時間足チャート時)。今の勢いを表し、押し目買いの目印になります。
中期(青): 表示中の時間足の20MA。
長期(赤): 上位足の20MA。
3. 3つのダッシュボード(信号機)
右側に表示される3つのパーツが、トレードの「Go/No-Go」を判定します。
① 右上パネル:長期構造シグナル
日足と4時間足の構造を比較します。ここが「青」なら、大きな流れは上向きです。
② 右中央のバー:モーメンタム・シグナル(真ん中のテーブル)
1時間足のSMA10とSMA20の同期を表します。
青: SMA10 > SMA20(上昇加速中)
赤: SMA10 < SMA20(下落加速中)
役割: 構造が良くても、勢いが死んでいる(レンジ)時はエントリーを避けるための「最終フィルター」です。
③ 右下パネル:短期構造シグナル
1時間足と15分足の構造を比較します。ここが「青」に変わる瞬間が、エントリーの準備段階です。
4. エントリーサイン「●」
「長期・中期(真ん中のバー)・短期」すべての色が揃った瞬間にチャートに「●」が出現します。 すべての時間軸の投資家が同じ方向を向いた「完璧な同調」を示しており、最も期待値の高いエントリーポイントとなります。
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.