OPEN-SOURCE SCRIPT
Cập nhật

MarketCraft FX - Liquidity Matrix V1.1

942
MARKETCRAFT FX – LIQUIDITY MATRIX V1.1

The MarketCraft FX Liquidity Matrix is a free liquidity-mapping indicator designed to identify areas where buy-side and sell-side liquidity may be resting.

Rather than displaying every minor swing, the indicator evaluates confirmed pivot structure, relative volume and displacement away from the level. Qualified liquidity zones are then displayed clearly on the chart, helping traders identify potential targets, reaction areas and liquidity events.

KEY FEATURES

• Buy-Side Liquidity (BSL) zones above confirmed swing highs
• Sell-Side Liquidity (SSL) zones below confirmed swing lows
• Dual structural and relative-volume detection
• PRIMARY, STRONG and MAJOR zone classifications
• ATR-based zone depth
• Optional dynamic zone sizing
• Nearby-level merging to reduce chart clutter
• Zones extend automatically beyond current price action
• Separate liquidity-sweep and close-through identification
• Nearest BSL and SSL displayed in a compact dashboard
• Configurable colours, transparency and display limits
• Alerts for approaches, sweeps and candle close-through events
• Suitable for light and dark chart backgrounds

HOW THE LIQUIDITY ENGINE WORKS

A liquidity zone begins with a confirmed swing high or swing low.

The indicator then evaluates the quality of that swing using two independent qualification paths:

1. Structural displacement away from the swing
2. Relative volume surrounding the liquidity origin

This dual-detection method allows a meaningful structural level to qualify even when market volume is relatively quiet. It can also identify volume-backed liquidity that may not produce an unusually large immediate displacement.

ZONE CLASSIFICATIONS

PRIMARY

A confirmed liquidity-bearing swing that meets the minimum qualification requirements.

STRONG

A higher-quality level supported by additional displacement, relative volume or price-action confirmation.

MAJOR

A high-scoring liquidity level with multiple supporting factors. These zones represent the strongest levels identified by the engine.

READING THE ZONES

BSL zones appear above price and represent areas where liquidity may be resting beyond previous highs.

SSL zones appear below price and represent areas where liquidity may be resting beyond previous lows.

Each active zone extends beyond current price action by the selected number of bars. The default extension is 20 bars.

The zone remains live and continues moving forward until its outer boundary is reached.

ZONE STATES

FRESH

The liquidity zone has been created and has not yet been approached or swept.

APPROACHING

Price has moved within the selected ATR distance of an active liquidity zone.

LIQUIDITY SWEPT

Price has wicked through the outer boundary of the zone. The zone stops extending at the sweep candle and changes to a dashed historical level.

CLOSE-THROUGH

A candle has closed beyond the outer boundary. This is separated from a wick-only sweep because it may indicate acceptance beyond the liquidity zone rather than an immediate rejection.

COMPACT DASHBOARD

The dashboard displays:

• Current draw on liquidity
• Nearest active BSL
• Nearest active SSL
• Strength of each nearest zone
• Number of retained zones
• Latest liquidity event

IMPORTANT SETTINGS

Minimum Zone Grade controls the overall quality of zones displayed.

Dual Structural + Volume Detection allows zones to qualify through either displacement or relative volume.

Swing Length and Confirmation Bars control how significant a swing must be before it is confirmed.

Base Zone Depth controls zone thickness using ATR.

Merge Nearby Levels combines levels forming within the selected ATR distance.

Extend Past Current Price controls how far active zones project beyond the latest candle.

Retain Swept Zones determines whether completed liquidity events remain visible for historical analysis.

TRADING APPLICATION

The indicator can be used to help identify:

• Potential draws on liquidity
• Areas above highs or below lows where stops may be resting
• Potential reaction points
• Liquidity sweeps
• Failed sweeps and close-through events
• Confluence with market structure, order blocks, supply and demand, Fibonacci levels or higher-timeframe analysis

Liquidity zones should not be treated as automatic entry signals. A zone identifies an area of interest; traders should use their own confirmation process before making a trading decision.

MARKETCRAFT FX

Craft Your Edge. Master the Market.

This indicator is an original MarketCraft FX development created as a free educational and chart-analysis tool.

DISCLAIMER

This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice or a recommendation to buy or sell any financial instrument.

No indicator can predict future market movements or guarantee profitable results. Liquidity zones may fail, price may trade through them, and historical performance does not guarantee future performance.

Always conduct your own analysis and use appropriate risk management.
Phát hành các Ghi chú
settings added for levels boxes and panel

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.