OPEN-SOURCE SCRIPT
已更新

Market Balance Level

1 273
Market Balance Level (MBL)

This indicator dynamically identifies price consolidation zones (market balance levels) and plots a horizontal line at the average midpoint of the range once a valid breakout occurs. It helps traders visualize key zones where the market was previously in equilibrium and is likely to retest before continuing its trend.

How It Works:

Detects consolidation ranges using consecutive candles within a tight high-low structure.

When a breakout occurs (above or below the range), it plots a line at the average midpoint of the consolidation.

Triangles are drawn on breakouts to visually confirm the breakout direction.

Lines can be customized by color, width, and breakout direction (bullish, bearish, or both).

Recommended Use:

Wait for price to return to the Market Balance Level (MBL). These levels often act as strong support or resistance.

Enter upon engulfment (candle closes strongly in the direction of the breakout), confirming continuation.

Features:

Adjustable consolidation sensitivity and line length.

Option to show/hide bullish or bearish MBLs.

Visual breakout markers (triangles) with alert support.

Optional alert messages for breakout events.

Use this tool to enhance your structure-based or SMC-style trading strategies.
版本注释
Copyright tag added
版本注释
New Feature: Two Consolidation Modes

Stable Mode: Locks the range from the first qualifying candle. The balance level is drawn immediately after the consolidation period, giving quicker signals based on a fixed range.

Static Mode: Dynamically adjusts the consolidation range as long as price remains inside it. Draws the balance level only after a valid breakout, ideal for confirming mature zones.




版本注释
Title updated
版本注释
Terminology fix
版本注释
Line creation logic updated for more efficient plotting.
版本注释
Terminology fixed within code
版本注释
Terminology fixed within code
版本注释
Inputs fixed + new input (dim mitigated lines)
版本注释
Delete mitigated lines input added
版本注释
Mitigation logic updated
版本注释
Now uses SMA. Use 1 SMA if you prefer raw candle data
版本注释
Input default updated
版本注释
Chart updated
版本注释
Updated terminology for modes

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。