OPEN-SOURCE SCRIPT

IRL ERL Liquidity Map

5 506
IRL ERL Liquidity Map is an original multi-timeframe orderflow and liquidity mapping tool designed to help traders organize internal liquidity zones and external liquidity objectives on one clean chart.

The script focuses on the relationship between IRL and ERL:

IRL, or Internal Range Liquidity, is represented by imbalance-style zones such as Fair Value Gaps (FVG) and Breakaway Gaps (BAG). These zones mark areas where price may return before continuing toward a larger liquidity objective.

ERL, or External Range Liquidity, is represented by swing highs, swing lows, and previous high/low levels from higher timeframes. These levels act as possible draw-on-liquidity objectives once price reacts from an internal zone.

The purpose of combining these components is not to create separate signals, but to show one complete liquidity workflow:
1. Identify an internal liquidity zone.
2. Watch whether price reacts from it or closes through it.
3. Track the likely external liquidity objective.
4. Use higher-timeframe levels and session ranges for context.

Main Features

Multi-Timeframe IRL Zones:
The indicator tracks FVG and BAG zones across selected timeframes including 15m, 1h, 4h, Daily, Weekly, and Monthly. Each timeframe can be enabled or disabled separately. Bias can be left on Auto or manually filtered to bullish or bearish.

FVG and BAG Detection:
A bullish FVG is detected when the current candle leaves an imbalance above the candle two bars back. A bearish FVG is detected when the current candle leaves an imbalance below the candle two bars back. BAG zones are stricter gap conditions where the displacement candle also breaks beyond the prior candle structure.

Zone Validation:
Zones remain active until price invalidates them by closing through the zone body on the related timeframe, or until the related external liquidity target is reached. This helps separate a simple wick reaction from a stronger body-close invalidation.

ERL Targets:
The script uses swing highs and swing lows as external liquidity targets. When price reacts from an IRL zone, the nearest relevant swing objective helps define where the current context may complete.

Swing Points:
Tiny swing dots and optional ERL swing lines can be displayed on the chart. These are intended to make local liquidity points easier to see without adding heavy visual clutter.

Higher-Timeframe Liquidity Levels:
Previous Day High/Low, Previous Week High/Low, and Previous Month High/Low can be displayed. These levels are commonly used as external liquidity references and can be automatically removed once swept.

Session Killzones:
The script includes configurable session ranges for London, New York, Asia, and Sydney. These ranges help traders study when liquidity runs, reactions, and displacement are occurring during active market windows.

Dashboard:
A compact dashboard summarizes the current orderflow state for each enabled timeframe. It shows whether price is reacting from an IRL zone, whether a zone is failing, or whether no active context is present. The dashboard uses matching timeframe colors for easier reading:
4h = orange
Daily = blue
Weekly = yellow
Monthly = red

Chart Clarity:
The script includes display controls to reduce clutter, including maximum active zones per timeframe, maximum total zones, fixed-width zone boxes, dashed zone borders, label controls, and opacity settings.

How To Use

Use higher timeframes first to identify major liquidity context. For example, Daily, Weekly, or Monthly zones can show larger areas where price may react or rebalance.

Use lower timeframes to refine entries and observe whether price is respecting or failing an internal liquidity zone.

A reacting state means price has entered an active IRL zone without yet invalidating it by body close.

A failing state means price has closed through the IRL zone according to the selected timeframe logic.

An ERL completion means price has reached the related swing or external liquidity objective after the IRL context was active.

This tool does not predict price direction by itself. It is designed as a visual framework for studying liquidity, imbalance, session timing, and higher-timeframe objectives. Traders should combine it with their own risk management, market structure analysis, and confirmation rules.

Recommended Chart Setup

For publication or clean analysis, use this indicator by itself on the chart, with minimal drawings. Keep the chart background clean so the FVG/BAG zones, ERL targets, session ranges, and higher-timeframe levels are easy to identify.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.