IRL/ERL← Back to the site
IRL/ERL Multi-Timeframe Orderflow Indicator · Key Levels

User guide

Everything you need to read the indicators and set them up the way you trade. Sections marked Multi-timeframe only apply to the Full edition.

01Start here

The whole indicator in one idea: price leaves a gap (IRL), comes back into it, then goes for the leg's extreme (ERL).

  1. A leg leaves a gapThat gap (FVG) is the internal liquidity: IRL.
  2. Price comes back into itThe leg's extreme becomes the target: ERL (dashed line).
  3. Price takes the target ✓The leg is done. The indicator removes it and waits for the next one.

Your first 5 minutes

  1. Add it to your chartIndicators › type IRL/ERL in the search (Free), or the Invite-only tab (Full).
  2. Pick your profileDouble-click its name › Profile: Intraday / Scalp on M1–M15, Swing on H1 / H4. (Full)
  3. Read three thingsThe shaded zone = a gap (IRL). The dashed line = the target (ERL). The table in the corner = which timeframes are going from IRL to ERL.

Then go to the part you need

Free or Full: what do I have?
FreeFull
Gaps, legs, targets, invalidation (chart timeframe)✓✓
Killzones, day separators, manual leg removal✓✓
Profiles, higher timeframes, top-down table—✓
IFVG (M1 / M5), Key Levels, swing mode—✓
IRL/ERL Scanner (alerts for your watchlist)—✓

In this guide, the parts marked Multi-timeframe are Full only.

02Getting started

Add the indicator to your chart

Indicators › Personal › Invite-only: the indicator and the scanner once your access is active. Star them to find them in Favorites.

First settings

03Reading the chart

This screenshot and the swing mode one use the default colors. Most others use the Rafile colors (grey gaps, black lines): same meaning.

On the chartMeaning
Colored zone + label H1 ▲A Fair Value Gap of the current leg, with its timeframe and direction (▲ bullish, ▼ bearish). Chart-timeframe gaps are teal (bullish) or red (bearish); higher-timeframe gaps use the color of their timeframe.
Dashed lineThe leg's extreme liquidity (ERL): the target of the leg. Green = buy-side (above), pink = sell-side (below). Higher-timeframe targets carry their timeframe label.
Dotted orange lineThe invalidation swing: the first swing against the move after price retraced into the leg.
tgt:1.0845 in a labelThe level targeted by the gap's leg (option). tgt:— means the target is not frozen yet.
Red-tinted gapMulti-timeframe A lower-timeframe gap pointing against the higher-timeframe gap price is in.
Full-height colored bandsThe killzones of the current day.
Vertical dotted lines, MON … FRIDay separators at New York midnight and day names.
Dashed zone + label M1 IFVG ▲Multi-timeframe An inversion FVG, on M1 / M5 charts (section 5).
Table in a cornerMulti-timeframe The top-down table: leg and state of each timeframe (section 6).
Thin gray horizontal lineA manual removal level (section 9).
Label D→H1 · ST + orange lineMulti-timeframe The swing mode: entry and stop of a swing setup (section 7).
USDJPY H4, default colors: the Daily ▲ gap price came back into (orange) with its target (dashed line D at the top), the two H4 ▲ gaps of the current H4 leg (teal) and the table: Daily and H4 in IRL → ERL, aligned ▲. Swing mode is on here: entry D→H4 · ST, its stop in orange dashes.
CustomRafile
Colors (Custom by default), SP500 M15. Custom: each timeframe has its own color (D orange, H1 teal…). Rafile: grey gaps, black labels and target lines. In both, the gaps that go against the higher timeframe stay pink. Same meaning, only the palette changes. Drag to compare.

04The life of a leg

Every leg goes through the same 4 steps. The indicator follows them for you and cleans up when it is over.

  1. The gap appears (IRL)The leg leaves a gap behind it.
  2. Price comes back into itThe leg's extreme becomes the target (dashed line, ERL).
  3. The invalidation swingThe first swing against the move (dotted line).
  4. Target taken ✓The leg is done: its gaps and lines are removed.
On a real chart (SP500 H4, Replay): the leg's gaps, price comes back into one: the target appears (dashed line), the target is taken: everything is removed.
OffOn
Show only the FVGs of the latest leg (on by default), SP500 Daily. Off: the gap of the previous leg stays on the chart. On: only the gaps of the current leg. Drag to compare.
OffOn
Remove the leg's FVGs when its liquidity is taken + Remove the line when liquidity is taken (both on by default), XAUUSD Daily. The last candle takes the targets of the W and D legs. Off: the gaps and the dashed lines stay. On: everything goes, the move is over. Drag to compare.
OffOn
Keep the extreme liquidity when the swing invalidates the leg (off by default), EURUSD Daily. The bearish D leg has just been invalidated (table enlarged in the corner). Off: its target disappears with it. On: the target line at the low stays on the chart, and the table shows “Invalidated”. Drag to compare.
OffOn
Show the liquidity target in the FVG label (off by default), SP500 H4, zoomed in. Off: the label shows the timeframe and the direction. On: it adds the target price. “tgt:6884.30” is the dashed line at the low; “tgt:—” means the target is not locked yet. Drag to compare.
What if price touches the invalidation swing?

The leg's gaps are removed. A candle closing beyond the swing resets the leg.

When does a gap disappear? (5 cases)
  • Price entered it, then a candle closed beyond it.
  • The leg's target was taken.
  • The invalidation swing was touched.
  • A new leg started (new swing + new gap), or a gap formed in the opposite direction.
  • More than 20 chart-timeframe gaps: the oldest one makes room.

Everything is calculated on closed candles: nothing appears and disappears inside a candle. If a candle makes a new extreme and comes back into the gap in the same bar, the indicator reads the lower timeframe to place the target at the level reached before the pullback.

05Multi-timeframe Multi-timeframe

A higher timeframe gives the context, your chart gives the timing. The indicator draws both on the same chart.

  1. The H4 gap (context)A higher-timeframe gap, with its label.
  2. Price comes into itThe H4 target (ERL) appears: the line labelled H4.
  3. Your chart joins inAn H1 leg goes the same way. The table says Aligned ▲.
  4. H4 target taken ✓The H4 leg is done: its gap and line are removed.
On a real chart (XAGUSD H1, Replay): price is inside the Daily ▲ gap (an H1 ▼ leg against it comes and goes), then an H1 ▲ leg starts the same way as the Daily. The table (enlarged in the corner) reads Aligned ▲.
H1 chart with H4 and Weekly gaps and their targets.

Choose your timeframes

Tick Enable multi-timeframe FVGs (higher timeframes), then enable the timeframes you follow (M5 to Monthly) and pick their colors. Only timeframes higher than your chart are shown: on an H1 chart, the M5 and M15 boxes have no effect.

Each timeframe runs the same rules as the chart (its own swings, legs, targets and invalidation). Higher-timeframe data comes from closed higher-timeframe candles only: a Daily gap appears once its third candle has closed, and never repaints.

OffOn
Enable multi-timeframe FVGs (higher timeframes) (on by default), SP500 H1. Off: only the H1 gaps. On: the Daily and H4 gaps appear too, each with its label, and the H4 target (dashed line). The H1 gaps turn pink: they point against the H4 gap price is in. Drag to compare.
OffOn
Priority: keep only the higher-timeframe FVGs when the extreme liquidity is shared (on by default), SP500 H1. Off: the H1 gaps stay inside the H4 gaps that aim at the same target. On: only the H4 gaps. Drag to compare.
OffOn
Color opposing lower-timeframe FVGs (on by default), SP500 H1. Price is inside a bearish H4 gap. Off: the bullish H1 gaps keep their usual color. On: they turn pink, so you see at a glance that they go against the H4. Drag to compare.
Priority to the higher timeframe

When a lower-timeframe leg and a higher-timeframe leg aim at the same extreme liquidity (within “Same extreme liquidity” tolerance (ticks), 1 tick by default), only the higher-timeframe gaps are kept. Untick Priority: keep only the higher-timeframe FVGs when the extreme liquidity is shared to see everything. A lower-timeframe gap sitting behind a higher-timeframe gap of the same direction that price has not reached yet is hidden too: price has to go through the higher-timeframe gap first. Whatever this setting, a target shared by several timeframes shows a single label: the highest timeframe's.

Opposing FVGs

When price is inside a higher-timeframe gap, lower-timeframe gaps pointing the other way are recolored, so you instantly see which ones go against it.

  • Minimum timeframe of the triggering gap: M5 by default: a gap of any higher timeframe triggers the coloring. Set it to H4 or Daily to keep only the big gaps.
  • Trigger mode: Zone touched (while valid) (default: from the first touch, as long as the gap is on the chart) or Price inside the zone (only while the close is inside the gap).
M15 chart: price is back inside a bearish H1 gap, so the bullish M15 FVG pointing the other way is recolored (pink).
Stock trading mode

Enable stock trading mode (3M / 6M FVGs) adds quarterly and semi-annual gaps, for Daily, Weekly and Monthly charts. It needs enough history: at least three closed candles of 3 or 6 months.

OffOn
Enable stock trading mode (3M / 6M FVGs) (off by default), a stock on the Monthly chart (table enlarged in the corner). Off: no gap, the table only has the M row. On: the 6M and 3M gaps appear under price, with the 3M target at the high, and the table adds the 3M and 6M rows. Drag to compare.

Also draw the liquidity of higher-timeframe FVGs controls the higher-timeframe target lines.

06IFVG on M1 / M5 Multi-timeframe

In 30 seconds

  • M1 and M5 charts only, while a higher-timeframe leg is going from IRL to ERL.
  • A gap of your chart that a candle closes through turns into a zone in the other direction: the IFVG.
  • One per reaction; it disappears when a candle closes back through it.
SP500 M5 (Replay), price inside M15 ▼ gaps: an M5 ▲ gap pointing against them (tinted), a candle closes through it: it becomes an M5 IFVG ▼, the IFVG is removed.

An inversion FVG (IFVG) is a gap of your chart that a candle closes through: it flips into a zone in the opposite direction (a bearish gap closed above becomes a bullish IFVG). It is drawn with a dashed border and a label such as M1 IFVG ▲.

SP500 M5: the M15 leg is bearish and in IRL → ERL (M15 ▼ gaps, M15 target below). A bullish M5 gap closed through flips into a bearish M5 IFVG (dashed, M5 IFVG ▼).

When are they shown?

Confirmation

By default (Whole leg), the gaps of the pullback leg only turn into IFVGs, and the alert only fires, once all of them have been closed through: one close below the upper gap is not enough while the lower one still holds. Setting IFVG confirmation: First FVG turns each gap into an IFVG as soon as a candle closes through it.

An IFVG disappears when a candle closes back through it, or when no higher-timeframe leg supports its direction anymore.

Direction

When the reference legs disagree (e.g. H4 ▲ and M15 ▼ on an M5 chart), the highest timeframe sets the IFVG direction by default. Setting IFVG direction: Closest timeframe lets the one closest to the chart decide (M15 on an M5 chart, M5 on an M1 chart). An IFVG against a higher timeframe in IRL → ERL is then tagged ⚠.

SP500 M5: M15 ▼ in IRL → ERL inside an H4 ▲ move. With “Closest timeframe”, the M15 sets the direction: bearish IFVG, tagged ⚠ (against the H4).

On an M1 chart

M5 IFVGs are shown too, with the same rules as on an M5 chart. While one is on the chart, it hides the M1 IFVGs of the same direction.

Settings

Group IFVG (scalping M1 / M5), after the Key Levels: Enable IFVGs (M1 / M5 charts only), the colors of each direction and Maximum IFVGs shown (3 by default), IFVG confirmation and IFVG direction. The multi-timeframe module must be on, with the reference timeframes enabled.

Whole legFirst FVG
IFVG confirmation (Whole leg by default), SP500 M1, zoomed in, inside a bearish M15 gap. The last candles close through the top gap of the M1 pullback leg, but the two lower ones still hold. Whole leg: no IFVG yet, every gap of the leg must be closed through. First FVG: the top gap turns into an IFVG ▼ right away. Drag to compare.

07Top-down table Multi-timeframe

EURCAD M15: the Daily and H1 legs are in IRL → ERL and the M15 leg has its gaps, so the bias reads Aligned ▼ (table enlarged).
USDJPY: Daily and H4 ▲ in IRL → ERL, but the M15 leg ▼ goes the other way: the bias reads Mixed.

One row per timeframe shown, from the highest down to your chart's timeframe (no row for M1): the direction of the current leg (▲ / ▼) and its state.

StateMeaning
FVG presentThe leg has its gaps; price has not come back into them yet.
IRL → ERLPrice retraced into one of the leg's gaps and is delivering toward its target. Shown in the color of the direction.
No FVGNone of the leg's gaps is left on the chart, even if its target line is still drawn.
InvalidatedThe invalidation swing has been touched.

The last row, Bias, reads Aligned ▲ or Aligned ▼ when every IRL → ERL leg points the same way, and Mixed otherwise.

Group Top-down table, right after the swing mode: Show the top-down table, position, size and the colors of each direction. The table follows the light or dark theme of your chart.

08Swing mode Multi-timeframe

Swing mode draws the plan of the 50/50 model: a Daily (or Weekly) context, an H1 (or H4) entry, its stop and its target. Here, Daily → H1.

  1. Daily contextPrice is in a Daily gap: the Daily leg goes from IRL to ERL.
  2. 50/50: waitAn H4 gap against you sits on the path. The H1 entry is on hold.
  3. 50/50 cleared → STAn H4 candle closes through that gap. The H1 leg becomes the entry (ST, Sharp Turn), stop at the low it started from.
  4. Entry touchedPrice comes back into the entry box (amber, then green).
  5. Daily target taken ✓The setup is done.
USDJPY H1, default colors: the Daily leg ▲ is in IRL → ERL (Daily gap in orange, target D in green dashes at the top). The first H1 leg ▲ gave the entry D→H1 · ST ✓ (touched); its stop is the orange dashed line below it. Bottom right, the status of each pair: D→H1 ▲ ST · entry.

The swing mode draws the swing plan of the 50/50 model on top of the indicator: the higher-timeframe context, the entry of each confirmation leg, its stop and what happens to it. Everything you used to mark by hand. It reads the indicator's own legs, gaps and liquidity: what you see on the chart is what it uses.

Turn it on

The pairs

GBPCAD H1 (Replay): price comes into the Weekly ▲ gap. The status panel (bottom right, enlarged) switches to W in IRL → ERL: D = 50/50: while the Weekly delivers, the Daily pairs pause.
PairContextConfirmation and entryCharts
Daily → H1Daily leg in IRL → ERLNew H1 leg, H1 entry gapH1
Daily → H4Daily leg in IRL → ERLNew H4 leg, H4 entry gapH1, H4
Weekly → H4Weekly leg in IRL → ERLNew H4 leg, H4 entry gapH1, H4

Pairs: Auto shows every pair that fits your chart (H1: all three; H4: Daily → H4 and Weekly → H4), or pick a single one. The Weekly comes first: while the Weekly leg is in IRL → ERL, no trade is taken from a Daily gap going the other way. The Daily pairs pause and the Daily only acts as a 50/50 for Weekly → H4. A Daily leg in the same direction as the Weekly is aligned: its pairs stay active.

Line styleLabels
Sweep / run (Line style by default), USDCHF H1, zoomed in. The stop lines of the setups: one untouched, one swept, one run. Line style: dashed = untouched, dotted = sweep, solid = run. Labels: “sweep” / “run” written above the line, at its right end. Drag to compare.
The rules · Details
  1. Context. The Daily (Weekly) leg is in IRL → ERL, exactly as in the top-down table: price retraced into one of its gaps, at least one gap is left, the target is not taken and the invalidation swing is untouched.
  2. Reversal (ST). The first H1 (H4) leg that forms in the direction of the context. Its entry is the gap of that leg closest to price (the first one met on the retracement), updated as long as nothing is touched. Only the gaps shown by the indicator count.
  3. RE-entries (RE1, RE2…). Each next confirmation leg in the same direction, numbered (RE-entries).
  4. Stop: sweep or run. The stop sits at the leg's invalidation swing (the opposite extreme since the leg started). Touched without a close beyond on the leg's timeframe = sweep: the next leg is tradable. Closed beyond = run: two new legs are needed (the first one is skipped: 1/2 (run)).
  5. New reversal (NewST). After a cancelled entry, if price comes back to the start of the move (the extreme reached since price entered the Daily / Weekly gap), the next leg is a new reversal and the RE numbering starts again.
Filters · Details
  • 50/50 (50/50 filter, on): no reversal or RE-entry while the timeframe in between (H4 for Daily → H1, Daily for Weekly → H4) has a gap against the context before its target, until a candle of that timeframe closes through it; once that opposite leg has an invalidation swing, until a close beyond that swing (or until that leg takes its own target). The blocked leg becomes the entry as soon as the 50/50 clears, if its swing still holds. Daily → H4 has no timeframe in between.
  • Untouched gap in between: while a gap of the timeframe in between, in the context direction, has not been touched since it formed, price has to tap it first. No entry until then; a pending entry is cancelled (H4 FVG first), then judged again once that gap is touched, if its swing still holds. A gap of that timeframe already touched closer to price counts for the ones behind it: price has already pulled back on that timeframe.
  • Hidden gaps: a confirmation gap sitting behind a higher-timeframe gap of the same direction that price has not reached yet is not an entry (price will reach the bigger one first).

Timing. Everything is calculated at the close of the chart candles, without repainting. When an H4 candle (a Daily one for Weekly → H4) closes at the same time as the candle that creates the leg, the leg is judged one candle later: the gaps of that higher-timeframe candle are only known then (forex H4 candles close at 01:00, 05:00, 09:00… New York time). A touch of the entry during that candle still counts. The IRL/ERL Scanner, which builds its own H4 candles, sends its alert one candle earlier: the chart follows at the next close.

On the chart

On the chartMeaning
Label D→H1 · ST under a gap labelThe entry of the pair (here the reversal of Daily → H1). RE1, RE2…: RE-entries. NewST: new reversal. 1/2 (run): leg skipped after a run, then 2/2 · RE3.
Label color and suffixAmber = pending, green + ✓ = touched, grey + ✕ = cancelled. SL hit: touched, then stop. BE?: touched, then a RE-entry. BE (50/50): touched, then a 50/50 appeared on the path: stop to break-even; → BE: price came back to the entry, out at break-even. replaced: a new leg replaced it before it was touched.
Orange line from the swingThe stop. With Sweep / run on Line style (default): dashed while untouched, dotted once swept, solid once run. Labels: the line stays dotted and sweep / run is written at its end.
Drawings disappearThe Daily / Weekly leg is no longer in IRL → ERL (target taken, invalidated, no gap left): the pair's drawings go, like the higher-timeframe gaps.

Each label sits under its gap's label and disappears with the gap. The status table keeps the summary of the move.

GBPCAD H4: the ST entry is filled, then a wick sweeps its stop (the line turns dotted, “SL hit”); the next leg is the re-entry, RE1, with its own stop (dashed). After a run, the line would turn solid.
Status table · Details
USDJPY H1, the same Daily context ▲ less than two hours later. Status table at the bottom right, one row per pair: W→H4 ▲ W leg invalidated (no Weekly context), D→H4 ▲ ST · entry (the H4 entry of the chart above, validated at the H4 close, running towards D), D→H1 ▲ RE2 · pending (a new H1 leg ▲: second RE-entry on its H1 FVG, labelled D→H1 · RE2). Price is coming back into that FVG (H1 in IRL → ERL in the top table), but the status table only changes at the close of the H1 candle (RE2 · entry once the touch is confirmed).

One row per pair (the pair and the direction of its context), with the first status that applies:

StatusMeaning
W in IRL → ERL: D = 50/50Daily pairs paused: a Weekly context is in progress.
waiting for the D retraceThe context leg has its gaps; price has not come back into them yet.
D leg: no FVG left · D leg invalidated · D target taken · no D legNo context to trade.
wait: H4 FVG tapAn untouched gap of the timeframe in between has to be tapped first.
50/50: H4 on the pathThe 50/50 filter blocks.
waiting for the reversalContext ready, nothing blocks: waiting for the first leg.
↺ new reversal nextPrice came back to the start of the move: the next leg is a new reversal.
ST · pending · RE2 · entryEntry drawn, not touched yet · touched, stop not hit (· BE (50/50): stop moved to break-even).
RE1 SL hit · next leg · ST ✕ · next legThe last entry is closed, with its result.
run: 2 legs needed · 1/2 (run) · next leg = REAfter a run.

Status table and its position (bottom right by default, lifted above the chart watermark).

SettingDefault
Enable the swing modeOff
PairsAuto
50/50 filter · RE-entriesOn · On
Entry: pending / touched / offAmber · green · grey
Stop line / markers — color / widthOrange · 1
Sweep / runLine style
Status tableOn · Bottom right

The swing mode draws a plan; it does not place orders. Its rules are the same as the IRL/ERL Scanner, which sends them as alerts for your whole watchlist (next section).

09IRL/ERL Scanner Swing pack

In 30 seconds

  • Add the IRL/ERL Scanner to an H1 chart and pick your pairs in Settings › Watchlist.
  • Create one alert (Any alert() function call): it watches all your pairs, even with the chart closed.
  • You get a message when a setup forms, an entry is touched, a RE-entry appears or a target is taken.
  • The table on the chart shows where each pair stands. The message list is in the details below.

A companion script of the Full edition: one alert for your whole watchlist (up to 40 symbols). For each symbol, it runs the swing mode's rules on Weekly, Daily, H4 and H1 candles and tells you when something happens, without opening each chart.

Set it up

  1. Add IRL/ERL Scanner to an H1, H4 or Daily chart of a liquid forex pair (Indicators › Personal › Invite-only). The chart symbol only gives the rhythm: messages go out when it ticks.
  2. Settings › Watchlist › Symbols: your list, comma or line separated (30 symbols by default: crosses, majors, gold and silver). Symbols without a prefix use the feed set in Data feed (symbols without a prefix): OANDA by default. If you analyze on your broker's feed (Vantage, FTMO…), pick Chart's feed and add the scanner to one of those charts: feeds can differ by a pip or two, and the scanner should see the same candles and FVGs as your charts. A prefix (VANTAGE:NAS100) always wins.
  3. Create one alert: ⋯ next to the scanner's name on the chart › Add alert on IRL/ERL Scanner (or right-click › Add alert) › Condition: IRL/ERL Scanner › Any alert() function call. In Notifications, keep App on (TradingView app on your phone, same account) and set the expiration as late as your plan allows. It keeps running on TradingView's servers when your chart is closed. More details: section Alerts.
  4. Check: within a minute (at the chart symbol's next tick, so at the reopening if the market is closed), you receive ✅ IRL/ERL Scanner is running: 30 symbols (OANDA), H1 chart…. The alert works; the message also lists the symbols the feed doesn't have.
  5. Changed your list or a setting, or the scanner was updated? Delete the alert and create it again: an alert keeps the settings and the version it was created with.
⋯ next to the scanner's name › Add alert on IRL/ERL Scanner › keep Any alert() function call, Open-ended (or the latest date your plan allows) and App › Create. The alert turns Active, and at the next tick the first message arrives: ✅ IRL/ERL Scanner is running… (here under Show more, next to a setup sent at the same time).
The messages · Details
Message (example)When
AUDCAD · D ▼ FVG enteredPrice enters a Daily (Weekly) gap. Every message starts with the symbol.
D ▼ reversal confirmed: new H4 ▼ legThe first H4 (H1) leg in the direction of the context: Weekly → H4, Daily → H4, Daily → H1.
D ▼ new H1 ▼ entry FVGEach new gap of the confirmation leg until one is touched: move your limit order.
D ▼ price in H1 ▼ entry FVG (live)Live, as soon as price touches the pending entry.
D ▼ RE-entry #2: new H1 ▼ leg · previous entry to BE?Each next leg in the same direction.
D ▼ H1 ▼ leg swept: stop hit, the next H1 ▼ leg can be traded
D ▼ H1 ▼ leg run: entry cancelled, wait for 2 new H1 ▼ legs
Invalidation swing touched (sweep) or closed beyond (run), with the next step.
D ▼ new reversal: new H4 ▼ legAfter price came back to the start of the move.
D ▼ H1 ▼ entry cancelled: untouched H4 ▼ FVG, wait for price to tap itAn untouched gap of the timeframe in between has to be tapped first.
D ▼ H1 ▼ trade: 50/50, H4 on the path · move to BEYour trade is running and a 50/50 appears on the path to the target: move the stop to break-even.
D ▼ target taken · D ▼ leg invalidatedEnd of the Daily / Weekly context.
  • Same rules and filters as the swing mode (Weekly first, 50/50, untouched gap in between, hidden gaps). Use the swing mode on the chart to see the levels: messages carry no prices.
  • Everything is calculated on closed H1 candles, without repainting. Only price in … entry FVG is sent live.
  • Each family of messages can be switched off in the Alerts group (Weekly, Daily, entries, RE-entries, 50/50, target taken, leg invalidated).
Strong / weak side · Details

Between AUD and NZD (EUR and GBP), buy the strong one and sell the weak one: the cross pair tells which is which (its H4 leg: AUDNZD ▲ = AUD strong). Each setup message on a pair that contains one of these currencies ends with a tag: AUD > NZD (H4) ✓ when it buys the strong one or sells the weak one, otherwise ✗ → NZDCAD better with the sister pair. A ✗ does not cancel the setup: it means “better next door”. When the cross pair says nothing clear (its H4 leg has no FVG or was invalidated), the tag reads AUD / NZD unclear (H4) ? → compare with NZDCAD and the table shows ?: compare the two pairs by hand.

  • Tag setups with the cross pair (AUDNZD, EURGBP): on by default. AUDNZD and EURGBP must be in your list.
  • Only send setups on the strong side: off by default. On: a ✗ setup is not sent when its sister pair has a Weekly / Daily context in IRL → ERL in the same direction (the better pick is there). Context messages are always sent.
  • Running trade turns to the wrong side: move to BE?: an alert when the cross pair flips while your trade is running.
  • Pending entry changes side: alert: an alert when the cross pair flips while an entry is still waiting (✗ → ✓ or ✓ → ✗).

The table

The scanner table in compact layout: contexts in progress, strong / weak side, last event and its age for each symbol. USDJPY: D ▲ reversal ✓ H4 ▲, the setup of the chart above.
Good to know · Details
  • History per symbol (H1 candles): 1000 by default (about 2 months), enough for Weekly / Daily legs of about a month and a half. If a Weekly state differs from the indicator, raise it (5000 ≈ 10 months, but a slower script).
  • Chart: Daily or lower. On an H4 or Daily chart, messages still go out at the H1 close.
  • If two events of a symbol happen on consecutive H1 candles while the chart symbol does not tick (market closed), only the last one is sent: keep a forex or crypto pair on the chart.

10Manual leg removal

Once in a while, a sweep happens without being detected and a leg stays on the chart. You can remove it by hand:

  1. In the settings, group Manual leg removal, tick Enable manual removal.
  2. In Level 1, enter the price of the leg's target line (the dashed line). An approximate value is enough. To read the exact level, tick Show the liquidity target in the FVG label: it shows tgt: next to each gap.
  3. The leg disappears with its gaps and its line, on every timeframe. Other assets are never affected: the match is done by price, within Tolerance (ticks) (10 by default, see the note on ticks below).

Leave the level in place as long as you want the leg hidden, and set it back to 0 to switch it off. Three levels are available.

1Before: the H4 leg is on the chart with its gaps and target line. The level is typed, removal still off. Example on GBPCAD H4, with a tolerance of 100 ticks (10 pips).
2Removal on: the leg, its gaps and its line are gone. With Show the lines, a dotted grey line marks the level you typed.
3Show the lines off: nothing is left on the chart.

About ticks. A tick is the smallest price step of the instrument, so the same number of ticks covers very different distances: 0.00001 on most forex pairs (10 ticks = 1 pip), often 0.01 or 0.1 on index CFDs depending on the broker, 0.25 on Nasdaq futures. Adjust the tolerances to what you trade: on GBPCAD, 100 ticks = 10 pips. This applies to every setting in ticks (manual removal, “same extreme liquidity”, Key Levels merge).

11Killzones, separators and days

M15: London, NY Open and Asia drawn ahead of time, day separator and day name.
ToolDetails
KillzonesFull-height bands for the current day, drawn from the start of the day so you see them ahead of time. Intraday charts only. Defaults (New York time): Asia 2000-0000, London 0200-0500, NY AM 0930-1200, NY PM 1330-1600. Each one can be switched off, moved (format HHMM-HHMM) and recolored.
Day separatorsA vertical line at each New York midnight, for the current week, on H4 and below. Color, style and width are adjustable.
Days of the weekThe day name at noon New York time, for the current week, on H1 and below, at the bottom or top of the chart.

Everything follows the candle being processed, so it also works in Bar Replay.

12Settings reference

SettingWhat it doesDefault
Show only the FVGs of the latest legThe core filter: only the current leg's gaps stay on the chart.On
Extend zones to the right · Extend zones past the last bar (bars)Zones follow price, and go a few candles beyond the last one.On · 1
Show label (TF + direction) on the rightThe H1 ▲ label of each gap.On
Label sizeSize of the gap and IFVG labels.Small
Custom label colorOne color for every label instead of the color of each gap.Off
Show the zone bordersOff: zones are drawn without a border.On
Bullish FVGs — zone / border · Bearish FVGs — zone / borderShow or hide each direction, with fill and border colors.On
Draw the extreme liquidity when price retraces into an FVGThe target line of the leg.On
Hide chart-timeframe liquidity on M1 (1 min)Keeps M1 charts light.On
Remove the line when liquidity is takenOff: the line stays on the chart, frozen where it ended.On
Remove the leg's FVGs when its liquidity is takenTaking the target closes the leg.On
Show the liquidity target in the FVG labelAdds tgt: to each label.Off
Invalidate the leg when the retracement swing is sweptThe swing invalidation rule.On
Keep the extreme liquidity when the swing invalidates the legThe gaps go, the target line stays.Off
Draw the retracement swing lineThe dotted invalidation line (color, style, width).On

Multi-timeframe, manual removal and time tools settings are described in their own sections. Hover the ⓘ icons in TradingView for a reminder of each setting.

See the settings window (screenshots)
Profile, Multi-timeframe, Swing mode
Profile, Multi-timeframe, Swing mode
Top-down table, Fair Value Gaps, Liquidity
Top-down table, Fair Value Gaps, Liquidity
Killzones, Key Levels
Killzones, Key Levels
IFVG, Day separators, Days of the week, Stock trading mode
IFVG, Day separators, Days of the week, Stock trading mode
Advanced: Leg, Invalidation, Multi-timeframe priority, Manual leg removal
Advanced: Leg, Invalidation, Multi-timeframe priority, Manual leg removal

13Key Levels

NAS100 H1: previous day, previous month, Asia and London levels.
LabelLevel
PDH / PDLPrevious day high / low
PWH / PWLPrevious week high / low
PMH / PMLPrevious month high / low
ASH / ASLAsian session high / low (20:00–00:00 New York time by default)
LDH / LDLLondon session high / low (02:00–05:00 New York time by default)
NWOGNew Week Opening Gap: the gap between the last close of the week (Friday) and the first open of the next one (Sunday)
NDOGNew Day Opening Gap: the gap between a day's last close and the next day's first open (daily break of indices / CFDs, usually tiny on forex)

14Alerts

Alerts run on TradingView's servers: they keep working when your chart, or your computer, is closed.

Create an alert

  1. Open the chart the alert is for: an alert watches this symbol on this timeframe.
  2. Right-click the chart › Add alert (or the alarm clock in the right toolbar). Quicker: ⋯ next to the indicator's name on the chart › Add alert on …, which selects it for you.
  3. Condition: choose the indicator, then the alert:
    • IRL/ERL: New bullish FVG, New bearish FVG (chart timeframe, on closed candles).
    • IFVG: New bullish IFVG, New bearish IFVG (M1 / M5 charts).
    • Key Levels: PDH break, PDL break, PWH break, PWL break (price crossing the level).
  4. Trigger (if the window shows it): Once per bar close: the indicator works on closed candles. The scanner's Any alert() function call has no such field.
  5. Expiration: as late as your TradingView plan allows. An expired alert simply stops.
  6. Notifications: keep App on (Notify in app in the older window) and install the TradingView app on your phone, logged in with the same account: that is where the notification arrives. Email and sound are optional.
  7. Create. Your alerts are listed in the Alerts panel (alarm clock, right toolbar).
The Create alert window, here for the IRL/ERL Scanner: Condition = the script, then the alert (Any alert() function call for the scanner), Notifications with App on.
In motion, in the current TradingView window: Alert › Condition › the script (here the IRL/ERL Scanner), keep Any alert() function call › Create.

Good to know

  • An alert keeps the version of the indicator and the settings it was created with. After an update of the indicator, or when you change its settings, delete the alert and create it again.
  • One alert watches one chart, and the number of active alerts depends on your TradingView plan.
  • Swing setups: the IRL/ERL Scanner sends them for your whole watchlist with a single alert (see IRL/ERL Scanner).

15A simple routine

  1. Top-down: start on a higher timeframe (Daily, H4) to see where price is in the bigger legs and which targets are open. The top-down table gives you that reading for every timeframe at a glance.
  2. Execution timeframe: go down to your timeframe. Read the current leg: its gaps, its target, its invalidation swing.
  3. Timing: use the killzones to focus on the moments you trade, and the Key Levels to know which liquidity is resting around.
  4. Context: a lower-timeframe gap recolored against a higher-timeframe gap deserves extra caution.

The indicators draw the structure and, in swing mode, a plan (entry, stop, target). They do not place orders and do not decide for you: the decision and the risk stay yours.

16Troubleshooting

ProblemSolution
Zones are not aligned with the candlesThe indicator is on a separate price scale. Click the … next to its name › Pin to scale › choose the scale of the chart (right scale). TradingView remembers it.
No higher-timeframe gapsTick Enable multi-timeframe FVGs. Only timeframes higher than your chart are shown. 3M / 6M need the stock trading mode and enough history.
A gap disappearedSee “When does a gap disappear?” in section 3: this is the indicator doing its job.
No target lineThe target only appears once price has come back into a gap of the leg. On M1 it is hidden by default.
No killzonesKillzones only show on intraday charts, for the current day.
No day names or separatorsDay names: H1 and below. Separators: H4 and below. Both for the current week only.
No Asia / London levels or opening gapsSession levels and opening gaps are shown on H1 and below.
No IFVGIFVGs only show on M1 / M5, with the multi-timeframe module on, while a higher-timeframe leg is in IRL → ERL (the table shows it), and only until your chart's own leg takes over.
No table, or a single rowTick Show the top-down table. Without the multi-timeframe module, it only shows your chart's row (none on M1).
The chart feels heavyDisable the timeframes you do not use, or the opposing FVG coloring.
No swing mode drawingsUse an H1 or H4 chart, with the multi-timeframe module and the Daily, Weekly and H4 (and H1) timeframes on. Nothing is drawn until a Daily / Weekly leg is in IRL → ERL and a confirmation leg has a visible gap: the status table says where it stands.
The scanner sends nothingOne alert on Any alert() function call, created after the last change of settings. Messages go out at the H1 close when the chart symbol ticks: keep a forex pair on the chart. Check the Alerts group.
Misaligned zones: ⋯ next to the indicator name › Pin to scale › Pin to right scale (the chart's scale).

The chart is squashed (flat candles) once the indicator is pinned to the chart's scale? Its far levels count in the automatic scale. Right-click the price scale › tick Scale price chart only: the scale follows the candles again.

Right-click the price scale › Scale price chart only.

17Glossary

The words of the indicator, one line each.

FVG / gap
Three candles where the 1st and the 3rd do not overlap: the empty space between them.
IRL
Internal range liquidity: the gaps inside a leg. Price comes back to them.
ERL
External range liquidity: the leg's extreme (its high or low). The target.
Leg
A move in one direction, from a swing, that leaves gaps behind it.
Swing
A candle whose high (or low) is above (or below) the candles on each side.
Target (frozen)
When price comes back into a gap, the leg's extreme is fixed: that is the target.
Invalidation swing
The first swing against the move after the pullback. Touched: the gaps go.
Timeframe (TF), HTF
M5, H1, H4, Daily… HTF = a higher timeframe than your chart.
IRL → ERL
The state of a leg whose price came back into a gap and now heads for its target.
Top-down table
One line per timeframe: leg direction and state. Aligned = they agree.
IFVG
Inversion FVG: a gap that a candle closed through, which now works the other way (M1 / M5).
Killzone
A session window (Asia, London, NY AM, NY PM), in New York time.
Sweep / run
Stop touched without a close beyond (sweep) or closed beyond (run). Swing mode.
RE-entry (RE1, RE2…)
The next entry in the same direction after the first one. Swing mode.
ST (Sharp Turn)
The first entry of a swing setup: the first leg that turns in the direction of the context. Swing mode.
50/50
A gap of the timeframe in between (H4 for Daily → H1) against your context, on the way to the target. While it stands, it is a coin toss: swing mode waits.
BE
Break-even: the stop moved to the entry price.
Repaint
A drawing that changes after the fact. This indicator works on closed candles: it does not.