OPEN-SOURCE SCRIPT

Market Break Analytics [ChartPrime]

28 040
🔶 OVERVIEW
Market Break Analytics is a structural momentum and volume-distribution tool designed to analyze confirmed pivot breaks and measure participation behind each structural move.

Instead of simply marking a breakout, this indicator builds a complete structural map:
• It identifies the pivot being broken
• Locates the true swing origin
• Measures volume dominance during the expansion
• Displays buy/sell participation as percentage strength

ảnh chụp nhanh

This provides traders with both structure confirmation and participation analytics in one visual framework.

🔶 CORE STRUCTURE LOGIC

  • The indicator tracks confirmed pivot highs and pivot lows.
  • A structural break occurs only after price closes beyond a confirmed pivot level.
  • Break Up mode → Tracks bullish breaks above pivot highs.
  • Break Dn mode → Tracks bearish breaks below pivot lows.
  • Trend direction flips only when an opposite structural break is confirmed.


This ensures the tool reacts to true structural shifts, not temporary volatility spikes.


🔶 SWING ORIGIN DETECTION
Once a break occurs:
  • The algorithm scans backward to find the lowest low (for bullish breaks).
    ảnh chụp nhanh
  • Or the highest high (for bearish breaks).
    ảnh chụp nhanh
  • This swing origin becomes the structural base.
  • A baseline is drawn from origin to current structure.
  • A dashed expansion line visualizes the active swing.


This clearly maps the entire structural leg from origin to breakout.


🔶 VOLUME PARTICIPATION ANALYTICS
A unique component of this tool is the in-swing volume distribution model.
For each structural leg:
  • Total buy volume is measured (close > open).
  • Total sell volume is measured (close < open).
  • Percent dominance is calculated.
  • Buy/Sell boxes are drawn near swing completion.
  • Color intensity reflects participation strength.

ảnh chụp nhanh
ảnh chụp nhanh
This answers a critical question:
Was the breakout driven by strong participation or weak momentum?
You see the conviction behind the move — not just the price level.


🔶 BREAK LINE & LABEL SYSTEM

Each structural event includes:
  • Break Line → Marks the exact pivot that was broken.
  • Break Label → Visually confirms structural violation.
  • Base Line → Shows structural origin level.
  • Swing Line → Displays directional expansion.
  • Swing Start Label → Displays swing start price.

ảnh chụp nhanh

These elements allow traders to visually separate:
• Accumulation → Expansion → Structural shift


🔶 HISTORY CONTROL
  • History ON → All past break structures remain visible.
    ảnh chụp nhanh
  • History OFF → Only the most recent structure is shown.
    ảnh chụp nhanh



This allows the tool to function as either:
• A structural archive
• Or a clean real-time breakout monitor


🔶 TREND COLORING
Bars are automatically colored based on active structural direction:
  • Bullish structure → Bull color.
  • Bearish structure → Bear color.
  • No active structure → Default chart color.


This provides immediate structural bias recognition.


🔶 HOW TO USE
  • Use Break Up mode during bullish market phases.
  • Use Break Dn mode during bearish market phases.
  • Watch for high buy % during bullish breaks for strong continuation setups.
    ảnh chụp nhanh
  • Watch for weak participation during breaks for potential fakeouts.
  • Combine with liquidity or order block tools for confluence.
  • Pivot strength settings can be increased to filter noise.


This tool works particularly well on:
• Intraday trend continuation
• Swing breakout strategies
• Market structure confirmation systems


🔶 WHAT MAKES IT DIFFERENT
Most breakout tools only show:
• A level
• A cross
• A label

Market Break Analytics adds:
• Structural origin detection
• Volume dominance mapping
• Swing expansion tracking
• Directional bias coloring
• Historical structural control

It transforms simple breakouts into complete structural analysis.

🔶 CONCLUSION
Market Break Analytics [ChartPrime] provides a comprehensive view of market structure shifts by combining:
• Pivot break detection
• Swing mapping
• Participation analytics
• Structural trend visualization

Instead of reacting to price alone, traders can now evaluate the strength and quality of every structural move — gaining deeper insight into whether a break is supported by real participation or lacks conviction.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.