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).
- A leg leaves a gapThat gap (FVG) is the internal liquidity: IRL.
- Price comes back into itThe leg's extreme becomes the target: ERL (dashed line).
- Price takes the target ✓The leg is done. The indicator removes it and waits for the next one.
Your first 5 minutes
- Add it to your chartIndicators › type IRL/ERL in the search (Free), or the Invite-only tab (Full).
- Pick your profileDouble-click its name › Profile: Intraday / Scalp on M1–M15, Swing on H1 / H4. (Full)
- 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?
| Free | Full | |
|---|---|---|
| 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
- Free edition: on TradingView, open Indicators, type IRL/ERL in the search bar and click IRL/ERL Orderflow Indicator Free. Add it to your favorites to find it quickly.
- Full edition (with Key Levels): once your access is active (founder offer on rafiletrading.com/beta: access on your TradingView username within 24 h), the script appears under Indicators › Personal › Invite-only. The Key Levels are built in, no second indicator to add.
- First load: the first time you add it, it can take a little while (TradingView fetches every timeframe). After that, it loads much faster.

First settings
- Multi-timeframe edition: the higher timeframes are on by default. To see only your chart's timeframe, untick Enable multi-timeframe FVGs (higher timeframes) in the settings (double-click the indicator name).
- Profile, the first setting: Swing (H1 / H4 charts: swing mode and its table, FVGs H1 → Monthly, no killzones or Key Levels), Intraday / Scalp (M1 → M15 charts: every timeframe from M5, IFVGs, killzones, Key Levels) or Minimal (FVGs, liquidity and the top-down table only) in one click. Custom (default) uses your own settings: back to Custom, they are all as before. The active profile is shown at the bottom of the top-down table.
- Colors, right under: Custom (your colors) or Rafile (Rafile's palette: grey FVGs and swing entries, black previous day / week / month levels…), your colors come back with Custom.
- The time tools (killzones, day separators, days) always use New York time, whatever the time zone of your chart.
- To save your setup, use Defaults › Save as default at the bottom of the settings window.
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 chart | Meaning |
|---|---|
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 line | The 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 line | The invalidation swing: the first swing against the move after price retraced into the leg. |
tgt:1.0845 in a label | The level targeted by the gap's leg (option). tgt:— means the target is not frozen yet. |
| Red-tinted gap | Multi-timeframe A lower-timeframe gap pointing against the higher-timeframe gap price is in. |
| Full-height colored bands | The killzones of the current day. |
Vertical dotted lines, MON … FRI | Day 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 corner | Multi-timeframe The top-down table: leg and state of each timeframe (section 6). |
| Thin gray horizontal line | A manual removal level (section 9). |
Label D→H1 · ST + orange line | Multi-timeframe The swing mode: entry and stop of a swing setup (section 7). |

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.

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.
- The gap appears (IRL)The leg leaves a gap behind it.
- Price comes back into itThe leg's extreme becomes the target (dashed line, ERL).
- The invalidation swingThe first swing against the move (dotted line).
- Target taken ✓The leg is done: its gaps and lines are removed.








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.
- The H4 gap (context)A higher-timeframe gap, with its label.
- Price comes into itThe H4 target (ERL) appears: the line labelled H4.
- Your chart joins inAn H1 leg goes the same way. The table says Aligned ▲.
- H4 target taken ✓The H4 leg is done: its gap and line are removed.

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.






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).

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.


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.
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 ▲.

When are they shown?
- On M1 and M5 charts only.
- Only while a higher-timeframe leg is delivering from IRL to ERL: price has retraced into one of its gaps, at least one of them is still on the chart, its target is not taken and its invalidation swing is untouched. Reference legs: M5 / M15 on an M1 chart, M15 / H1 / H4 on an M5 chart. If they disagree, the highest timeframe wins by default; with IFVG direction on Closest timeframe, the one closest to the chart decides (M15 on an M5 chart, M5 on an M1 chart), and an IFVG against a higher timeframe in IRL → ERL is tagged ⚠.
- Only in the direction of that leg.
- Only until your chart takes over: as soon as it prints its own gap in that direction after price has reached the higher-timeframe gap, its leg takes over and the IFVGs are cleared (the gaps left by the impulse that created the higher-timeframe gap do not count).
- Only the first pullback leg: after a takeover, no new window, even on a new reaction, until price makes a new extreme of the move (back to the high reached since price entered the higher-timeframe gap for a bearish leg, the low for a bullish one). The next pullback leg can then give an IFVG; only its gaps count.
- One IFVG per higher-timeframe leg (the reversal): after it, a new one only appears once price has come back to the start of the move (the high of the reaction for a bearish leg, the low for a bullish one).
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 ⚠.

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.


07Top-down table Multi-timeframe


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.
| State | Meaning |
|---|---|
| FVG present | The leg has its gaps; price has not come back into them yet. |
| IRL → ERL | Price retraced into one of the leg's gaps and is delivering toward its target. Shown in the color of the direction. |
| No FVG | None of the leg's gaps is left on the chart, even if its target line is still drawn. |
| Invalidated | The 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.
- Daily contextPrice is in a Daily gap: the Daily leg goes from IRL to ERL.
- 50/50: waitAn H4 gap against you sits on the path. The H1 entry is on hold.
- 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.
- Entry touchedPrice comes back into the entry box (amber, then green).
- Daily target taken ✓The setup is done.

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
- Group Swing mode, right after the multi-timeframe settings: tick Enable the swing mode (off by default). Quicker: Profile › Swing, the first setting, turns on the swing mode, its table and the right timeframes in one click.
- Use an H1 or H4 chart, with the multi-timeframe module on and the timeframes of the pairs enabled (Daily, Weekly, H4, and H1 under an H1 chart).
The pairs
W in IRL → ERL: D = 50/50: while the Weekly delivers, the Daily pairs pause.| Pair | Context | Confirmation and entry | Charts |
|---|---|---|---|
| Daily → H1 | Daily leg in IRL → ERL | New H1 leg, H1 entry gap | H1 |
| Daily → H4 | Daily leg in IRL → ERL | New H4 leg, H4 entry gap | H1, H4 |
| Weekly → H4 | Weekly leg in IRL → ERL | New H4 leg, H4 entry gap | H1, 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.


The rules · Details
- 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.
- 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. - RE-entries (
RE1,RE2…). Each next confirmation leg in the same direction, numbered (RE-entries). - 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)). - 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 chart | Meaning |
|---|---|
Label D→H1 · ST under a gap label | The 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 suffix | Amber = 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 swing | The 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 disappear | The 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.

Status table · Details

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:
| Status | Meaning |
|---|---|
W in IRL → ERL: D = 50/50 | Daily pairs paused: a Weekly context is in progress. |
waiting for the D retrace | The 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 leg | No context to trade. |
wait: H4 FVG tap | An untouched gap of the timeframe in between has to be tapped first. |
50/50: H4 on the path | The 50/50 filter blocks. |
waiting for the reversal | Context ready, nothing blocks: waiting for the first leg. |
↺ new reversal next | Price came back to the start of the move: the next leg is a new reversal. |
ST · pending · RE2 · entry | Entry drawn, not touched yet · touched, stop not hit (· BE (50/50): stop moved to break-even). |
RE1 SL hit · next leg · ST ✕ · next leg | The last entry is closed, with its result. |
run: 2 legs needed · 1/2 (run) · next leg = RE | After a run. |
Status table and its position (bottom right by default, lifted above the chart watermark).
| Setting | Default |
|---|---|
| Enable the swing mode | Off |
| Pairs | Auto |
| 50/50 filter · RE-entries | On · On |
| Entry: pending / touched / off | Amber · green · grey |
| Stop line / markers — color / width | Orange · 1 |
| Sweep / run | Line style |
| Status table | On · 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
- 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.
- 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. - 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.
- 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. - 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.
✅ 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 entered | Price enters a Daily (Weekly) gap. Every message starts with the symbol. |
D ▼ reversal confirmed: new H4 ▼ leg | The first H4 (H1) leg in the direction of the context: Weekly → H4, Daily → H4, Daily → H1. |
D ▼ new H1 ▼ entry FVG | Each 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 tradedD ▼ 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 ▼ leg | After price came back to the start of the move. |
D ▼ H1 ▼ entry cancelled: untouched H4 ▼ FVG, wait for price to tap it | An untouched gap of the timeframe in between has to be tapped first. |
D ▼ H1 ▼ trade: 50/50, H4 on the path · move to BE | Your 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 invalidated | End 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 FVGis 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

D ▲ reversal ✓ H4 ▲, the setup of the chart above.- Layout: Compact (default): one row per symbol with only the contexts in progress (
W ▼,D ▲ ✓: legs in IRL → ERL,✓= reversal confirmed and still alive: entry pending or trade running, gone once the stop is hit) in the color of their direction, the side (✓/✗/?), the last event and its age. Ultra compact: the same without the last event (symbol, contexts, side). Full: the Weekly and Daily states of every symbol and the complete last event. - Only symbols with something going on: hides the symbols with no context in progress and no event in the last 24 hours (a target taken alone does not count).
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:
- In the settings, group Manual leg removal, tick Enable manual removal.
- 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. - 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.






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

| Tool | Details |
|---|---|
| Killzones | Full-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 separators | A vertical line at each New York midnight, for the current week, on H4 and below. Color, style and width are adjustable. |
| Days of the week | The 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
| Setting | What it does | Default |
|---|---|---|
| Show only the FVGs of the latest leg | The 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 right | The H1 ▲ label of each gap. | On |
| Label size | Size of the gap and IFVG labels. | Small |
| Custom label color | One color for every label instead of the color of each gap. | Off |
| Show the zone borders | Off: zones are drawn without a border. | On |
| Bullish FVGs — zone / border · Bearish FVGs — zone / border | Show or hide each direction, with fill and border colors. | On |
| Draw the extreme liquidity when price retraces into an FVG | The 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 taken | Off: the line stays on the chart, frozen where it ended. | On |
| Remove the leg's FVGs when its liquidity is taken | Taking the target closes the leg. | On |
| Show the liquidity target in the FVG label | Adds tgt: to each label. | Off |
| Invalidate the leg when the retracement swing is swept | The swing invalidation rule. | On |
| Keep the extreme liquidity when the swing invalidates the leg | The gaps go, the target line stays. | Off |
| Draw the retracement swing line | The 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)
13Key Levels

| Label | Level |
|---|---|
PDH / PDL | Previous day high / low |
PWH / PWL | Previous week high / low |
PMH / PML | Previous month high / low |
ASH / ASL | Asian session high / low (20:00–00:00 New York time by default) |
LDH / LDL | London session high / low (02:00–05:00 New York time by default) |
NWOG | New Week Opening Gap: the gap between the last close of the week (Friday) and the first open of the next one (Sunday) |
NDOG | New 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) |
- Built into the Full edition, after the killzones. Enable Key Levels (PDH/PDL, PWH/PWL, PMH/PML, Asia, London) switches the whole module on or off.
- Each line starts on the candle that made the level and stops on the candle that trades through it: an unbroken line means the liquidity is still there.
- When two levels are at the same price, only the most important one is drawn: month > week > day > London > Asia (Merge overlapping levels (priority), tolerance Merge tolerance (ticks)).
- Session levels are shown on H1 and below. Their windows and Session time zone can be changed.
- Opening gaps: only the latest NWOG and NDOG are drawn, as a box between the two prices with a dashed midpoint line (CE), on H1 and below. Group Key Levels — Opening gaps (NWOG / NDOG): Show the last NWOG (New Week Opening Gap), Show the last NDOG (New Day Opening Gap), Midpoint line (CE). The first day of the week is the NWOG.
- Previous day, week and month levels follow the trading sessions of the symbol on TradingView.
14Alerts
Alerts run on TradingView's servers: they keep working when your chart, or your computer, is closed.
Create an alert
- Open the chart the alert is for: an alert watches this symbol on this timeframe.
- 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.
- 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).
- IRL/ERL:
- 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.
- Expiration: as late as your TradingView plan allows. An expired alert simply stops.
- 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.
- Create. Your alerts are listed in the Alerts panel (alarm clock, right toolbar).

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
- 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.
- Execution timeframe: go down to your timeframe. Read the current leg: its gaps, its target, its invalidation swing.
- Timing: use the killzones to focus on the moments you trade, and the Key Levels to know which liquidity is resting around.
- 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
| Problem | Solution |
|---|---|
| Zones are not aligned with the candles | The 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 gaps | Tick Enable multi-timeframe FVGs. Only timeframes higher than your chart are shown. 3M / 6M need the stock trading mode and enough history. |
| A gap disappeared | See “When does a gap disappear?” in section 3: this is the indicator doing its job. |
| No target line | The target only appears once price has come back into a gap of the leg. On M1 it is hidden by default. |
| No killzones | Killzones only show on intraday charts, for the current day. |
| No day names or separators | Day names: H1 and below. Separators: H4 and below. Both for the current week only. |
| No Asia / London levels or opening gaps | Session levels and opening gaps are shown on H1 and below. |
| No IFVG | IFVGs 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 row | Tick Show the top-down table. Without the multi-timeframe module, it only shows your chart's row (none on M1). |
| The chart feels heavy | Disable the timeframes you do not use, or the opposing FVG coloring. |
| No swing mode drawings | Use 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 nothing | One 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. |
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.
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.




