Skip to content
Script type
Indicator
Source code
Open-source

FVG and Order Blocks Detector

Also known as IOB Zones

Tells live and mitigated FVGs and order blocks apart by box length and color.

Difficulty Intermediate

No.VOW-000085

FVGs and order blocks are well-known concepts, but to get the most out of this indicator you need to understand a few things: there are three different rules for when an FVG counts as mitigated, order blocks only appear after a swing is confirmed and an ATR-based displacement condition is met, and zones are drawn back in time from earlier candles. With 24 settings, some of which (like Touch mode and the higher-timeframe option) change the display dramatically, we rated it Intermediate.

Repainting
Backpaints
  1. Live barChanges
  2. On closeFixed
  3. HistoryBackpaints
FVGs are drawn back from the 1st candle when the 3rd candle closes, and order blocks are drawn back to the block candle once the break is confirmed, but nothing changes after the bar closes.
Best timeframes
  • Lower TFs≤15m
  • Mid TFs30m–4H
  • Higher TFs1D+
Tested on BTCUSDT (1m, 5m, 15m, 1H, 4H, 1D, 1W)
Alerts
8 conditions
Buy/sell signals
Not providedN/A for analysis tools
Market conditions
Trending
Display
Overlay
Chart elements
BoxesLabels
Trading style
Swing TradingDay Trading
Support & ResistanceSmart Money

FVG and Order Blocks Detector: Clean FVG and Order Block Zones Without the Clutter

Diagram gallery 9

Article Summary
What does this indicator do?
Bottom line

“FVG and Order Blocks Detector” draws unmitigated FVGs and order blocks as boxes that keep extending right and mitigated ones as frozen, darker boxes, with per-type caps that keep your chart clean. It works best from the 15-minute to the daily chart, but watch out for how Touch mode and the higher-timeframe option behave.

Tell me more
Key points
  • An analysis tool that auto-plots FVGs and order blocks as boxes, with no buy or sell arrows.
  • Unmitigated zones extend 15 bars past the latest candle, then freeze and turn dark gray once mitigated.
  • FVGs are three-candle gaps, and gaps smaller than 0.1× ATR are filtered out by default.
  • Order blocks only form when a large-range candle closes beyond a swing high or swing low.
  • With Mitigation Mode set to Touch, FVGs get marked as mitigated on the very bar they form.
  • Setting a higher timeframe in FVG Timeframe looks for two-candle gaps, so almost nothing shows on crypto.
  • Detection runs on confirmed bars, but zones are drawn back to the first candle or the block candle.
  • Eight alert conditions cover both the creation and mitigation of FVGs and order blocks.

An Indicator That Splits FVGs and Order Blocks Into “Live” Boxes and “Frozen” Boxes

“FVG and Order Blocks Detector” is an indicator that automatically plots Fair Value Gaps (FVGs) and order blocks on your TradingView chart. In the chart’s status line it shows up as “IOB Zones.” Both concepts are staples of price action and Smart Money Concepts (SMC) trading, so most of you have probably at least heard the terms.

There’s no shortage of FVG and order block scripts out there, but what “FVG and Order Blocks Detector” really focuses on is keeping your chart clean. Zones that price hasn’t mitigated yet keep extending into the empty space on the right, and the moment one gets mitigated, it freezes on that candle and fades out. Each zone type also has a cap, and the oldest ones get dropped first.

FVG and Order Blocks Detector automatically plotting FVGs and order blocks on a 1-hour TradingView chart.
FVG and Order Blocks Detector automatically plotting FVGs and order blocks on a 1-hour TradingView chart.

For this review, I ran it on BTCUSDT across seven timeframes, from the 1-minute up to the weekly, to see how the zones show up and how much each setting actually changes. Some parts work great right out of the box, while others need a bit of care when you pick your settings, so I’ll cover both.

First, let’s look at how it appears on the chart. Boxes that reach into the empty space on the right are still live zones, while darker boxes that stop partway are zones that have already done their job Figure 1. Once you get that distinction down, the label text tells you everything else.

Default view of “FVG and Order Blocks Detector”

Unused zones keep extending to the right, while mitigated zones stop on that candle and fade.

Default view of “FVG and Order Blocks Detector”① Boxes reaching past the right edge are still unmitigated ② Freezes on the mitigating bar and turns dark gray ③ The gap left by three bearish candles = FVGFVGFVGBULLISH ORDER BLOCKBEARISH ORDER BLOCKFVGFVGFVGFVGFVGBoxes reaching past the right edgeare still unmitigatedFreezes on the mitigating barand turns dark grayThe gap left by threebearish candles = FVG

Vowars DE ver.3.12.36

Default settings (Gray Classic). Zone names sit in the center of each box, and the further a box extends, the more “alive” it is.

Here’s what “FVG and Order Blocks Detector” draws.

ZoneFormed whenLabelMitigated when (default)
Bullish FVGThe 3rd candle’s low is above the 1st candle’s highFVGA low breaks below the bottom of the zone
Bearish FVGThe 3rd candle’s high is below the 1st candle’s lowFVGA high breaks above the top of the zone
Bullish order blockA strong candle closes above a swing highBULLISH ORDER BLOCKA low (wick) breaks below the bottom of the block
Bearish order blockA strong candle closes below a swing lowBEARISH ORDER BLOCKA high (wick) breaks above the top of the block

It doesn’t print buy/sell arrows or entry signals. Think of it as a tool that neatly maps out “where to watch for a reaction when price comes back” and you’ll use it the right way.

Reading Live Zones From Box Length and Color

With the default color scheme (Color Theme set to “Gray Classic”), FVGs and order blocks are both drawn in the same gray. You tell them apart by the label in the middle of each box, not by color. That might sound awkward, but the labels are bold and sit dead center, so after a while I never had to think about it.

Unmitigated zones are drawn in light gray and extend 15 bars past the latest candle. Once price mitigates a zone, the right edge of the box freezes on that candle and it turns dark gray Figure 2. Since mitigated zones stay on the chart, you can scroll back later and see how long each one actually held.

Box width and label size

When a box is narrower than roughly 25 bars, its label automatically drops to the smallest size. Zones that got mitigated quickly end up with tiny text, so a cluster of small “FVG” labels means a lot of gaps got filled fast in that area.

Another thing I noticed is how overlaps look. When two unmitigated zones sit on the same price range, the semi-transparent gray layers stack and that area looks brighter. On the daily chart, bands where an FVG and an order block overlapped really stood out. It’s a handy visual cue when you’re hunting for confluence.

FVG and Order Blocks Detector on the daily chart, where an FVG and an order block overlap to form a brighter band.
FVG and Order Blocks Detector on the daily chart, where an FVG and an order block overlap to form a brighter band.

How FVGs Are Detected and When They Count as Filled

The gap between three candles

An FVG is the gap left when the ranges of the 1st and 3rd candles in a three-candle sequence don’t overlap. For a bullish FVG, the 1st candle’s high becomes the bottom of the zone and the 3rd candle’s low becomes the top Figure 1. The middle candle is usually a big displacement candle.

An FVG is the gap between the 1st candle’s high and the 3rd candle’s low

When the ranges of the 1st and 3rd candles don’t overlap, the empty space between them becomes an FVG box.

An FVG is the gap between the 1st candle’s high and the 3rd candle’s low① 1st candle’s high= bottom of the zone ② 3rd candle’s low= top of the zone ③ Drawn back to the 1st candle once the 3rd candle closesFVGFVG1st candle’s high= bottom of the zone3rd candle’s low= top of the zoneDrawn back to the 1st candleonce the 3rd candle closes

Vowars DE ver.3.12.36

Max Zones Per Type set to 1 and Show Order Blocks off, so only the bullish FVG is visible.

The box is drawn once the 3rd candle closes, and its left edge is placed back at the 1st candle Figure 3. On a live chart, that means a box suddenly appears starting two bars back the moment a candle closes, which takes a little getting used to.

Tiny gaps are filtered out by Minimum Gap Size (ATR multiple). The default is 0.1, so any gap smaller than 0.1× ATR (the average range over 14 bars) isn’t drawn. 0.1 is a very loose threshold, so on the 1-minute and 5-minute charts you’ll see a lot of small FVGs.

How Mitigation Mode changes what counts as filled

Whether an FVG counts as mitigated is decided by Mitigation Mode. You can choose between “Touch,” “50 Percent Fill,” and “Full Fill,” with Full Fill as the default.

  • Full Fill: a bullish FVG is mitigated on the candle whose low breaks below the bottom of the zone, a bearish FVG on the candle whose high breaks above the top
  • 50 Percent Fill: mitigated on the candle that reaches the midpoint of the zone
  • Touch: mitigated on the candle that touches the zone (with a big caveat, covered below)

With Full Fill, the box keeps extending even when price pulls back halfway into the zone Figure 1. It only stops on the candle that breaks below the bottom Figure 2. On the exact same price action, 50 Percent Fill ends the zone on the candle that tags the midpoint, so the zone’s lifespan gets a lot shorter Figure 3.

With Full Fill, the zone lives until price breaks the bottom

With the default Full Fill, the box doesn’t stop just because price dips back into the FVG.

With Full Fill, the zone lives until price breaks the bottom① Even a deep pullback doesn’t stop the box ② The zone stops on this bar breaking the bottom ③ 50 Percent Fill would end it here, at the midpointFVGFVGEven a deep pullbackdoesn’t stop the boxThe zone stops onthis bar breaking the bottom50 Percent Fill would end ithere, at the midpoint

Vowars DE ver.3.12.36

Show Order Blocks off, Max Zones Per Type set to 2. The dashed line on the left marks the zone’s midpoint and was added for illustration.

Neither one is “correct.” If you consider a gap done once price retraces half of it, use 50 Percent Fill. If you keep watching it until it’s completely filled, stick with Full Fill. It’s that simple.

Touch mode mitigates FVGs the moment they form

This is something I only caught by tracing the behavior step by step. With Mitigation Mode set to Touch, any FVG detected on the chart’s own timeframe is marked as “touched” on the very candle that creates it. The 3rd candle’s low (or high, for a bearish FVG) becomes the edge of the zone, so that candle is technically touching the zone already.

What it looks like with Mitigation Mode set to Touch

With Touch, FVGs are marked as “touched” on the bar they form, so every one stops after three bars.

What it looks like with Mitigation Mode set to Touch① Even large FVGs stop on the 3rd bar and turn dark gray ② The 3rd bar’s high becomes the zone edge, so that bar counts as a touch ③ No boxes extend into the futureFVGFVGFVGFVGFVGFVGFVGEven large FVGs stop onthe 3rd bar and turn dark grayThe 3rd bar’s high becomesthe zone edge, so that barcounts as a touchNo boxes extendinto the future

Vowars DE ver.3.12.36

Same price action as the default view, with Mitigation Mode set to Touch and Show Order Blocks off. Not a single FVG is left extending to the right.

As a result, every FVG stops after just three bars and is drawn in dark gray from the start Figure 1. Not a single box is left extending to the right Figure 3.

Touch doesn’t work as “done once price tags it”

Even with Touch selected, zones don’t stop when price later comes back and taps them. The “FVG Bullish Filled” and “FVG Bearish Filled” alerts also fire on the same candle the FVG forms. If you want to know when price actually touches a zone, use 50 Percent Fill instead, or draw a horizontal line at the edge of the zone and set an alert on that.

A caveat when setting a higher timeframe in FVG Timeframe

If you change FVG Timeframe from blank to another timeframe (say, 4H), the indicator tries to plot higher-timeframe FVGs on your current chart. It only uses confirmed higher-timeframe bars, so nothing repaints after the bar closes.

The catch is that in this mode, it compares two adjacent higher-timeframe candles to find a gap. In other words, it looks for a true price gap where the previous candle’s high and the next candle’s low don’t touch. That’s a different condition from the three-candle FVG used on the chart’s own timeframe.

On 24/7 markets like Bitcoin, each candle opens right where the previous one closed, so this pattern almost never forms. When I set it to 4H on BTCUSDT, no higher-timeframe FVGs showed up at all. On instruments that gap between sessions, like index futures or individual stocks, you will see them from time to time.

If you want higher-timeframe FVGs

If you want to see three-candle FVGs from a higher timeframe, the reliable way is to switch to the higher-timeframe chart, or put the HTF and LTF side by side in a multi-chart layout. How many charts you can open in one layout depends on your TradingView plan.

Order Blocks Only Come From Strong Breaks

In “FVG and Order Blocks Detector,” an order block only gets drawn after passing several filters, which is why you’ll see far fewer of them than FVGs. Let’s walk through the bullish case in three steps.

How an order block forms

When a strong candle closes above a swing high, the bearish candle with the lowest low in between becomes the block.

How an order block forms① Higher than 8 bars on each side= swing high ② Wick-only breaks don’t count; it needs a big candle closing above ③ The bearish candle with the lowest low becomes the blockBULLISH ORDER BLOCKHigher than 8 bars on each side= swing highWick-only breaks don’t count;it needs a big candle closing aboveThe bearish candle with thelowest low becomes the block

Vowars DE ver.3.12.36

Show FVGs off, Max Zones Per Type set to 1. The dashed line marks the swing high level and was added for illustration.

1 A swing high gets confirmed

First, a candle that’s higher than the Swing Lookback bars (8 by default) on each side gets recorded as a swing high Figure 1. It isn’t confirmed until all 8 bars on the right have printed, so a high doesn’t count as a swing high until 8 bars after it forms. When a new swing high is confirmed, it replaces the previous one.

2 A strong candle closes above it

Next, it waits for a candle to break above that swing high. With Break Confirmation at its default of “Candle Close,” only a candle that closes above it counts. A candle that just wicks above doesn’t Figure 2.

On top of that, when Displacement Filter is on, the breakout candle’s full range (high to low) has to be at least 1.2× ATR. If price breaks out on a small candle, it doesn’t count as a break. The break only registers later, when a large-range candle closes above the high.

3 The lowest bearish candle in between becomes the block

Once the break is confirmed, it searches from the swing-high candle to the breakout candle for the bearish candle with the lowest low Figure 3. That candle’s high-to-low range becomes the block. If there’s no bearish candle in that span at all, it simply picks the candle with the lowest low.

Bearish blocks are the mirror image: when a strong candle closes below a swing low, the bullish candle with the highest high in between becomes the block.

Near-duplicate blocks are skipped

If more than 70% of a new block’s range overlaps an unmitigated block in the same direction, the new one isn’t drawn. This keeps blocks from stacking up on the same price range, and it’s one of the reasons the chart stays so readable.

When blocks get mitigated, and how thick they should be

Order block mitigation is controlled by Mitigation Source. With the default “Wick,” a bullish block is mitigated as soon as a wick pierces its bottom. Switch to “Close,” and it isn’t mitigated until a candle closes below the bottom. On instruments that love to wick through and snap back, Close keeps your blocks alive longer.

Setting Block Body Mode to “Body Only (Open to Close)” limits the block to the candle’s body Figure 1. A thinner block gives you a tighter price area to work with, but since the bottom moves up by the length of the wick, even a shallow pullback is more likely to mitigate it Figure 3.

Block Body Mode set to “Body Only”

With Body Only, the block covers just the candle body (open to close) and leaves out the wicks.

Block Body Mode set to “Body Only”① Only the bearish candle’s open-to-close range is used ② Dashed outline =default Full Candle range ③ Without the lower wick, shallow pullbacks mitigate it more easilyBULLISH ORDER BLOCKOnly the bearish candle’sopen-to-close range is usedDashed outline =default Full Candle rangeWithout the lower wick, shallowpullbacks mitigate it more easily

Vowars DE ver.3.12.36

Same price action as the previous figure, with Block Body Mode set to Body Only (Open to Close). The dashed outline shows the default Full Candle range for comparison.

Flipping the labels with Naming Convention

Different schools name order blocks differently. Some call the bearish candle before a bullish break a “Bullish Order Block,” and others call it the opposite. Setting Naming Convention to “Reversed” swaps the “BULLISH” and “BEARISH” labels. Only the display changes; the detection and mitigation logic stays exactly the same.

With the Directional Colors theme, the colors swap along with the labels. Use it when you want the naming to match the course or content you usually follow.

What Seven Timeframes Taught Me About How Zones Show Up

I loaded it with default settings on BTCUSDT on the 1m, 5m, 15m, 1H, 4H, daily, and weekly charts and compared them. The character of the zones that stick around changes a lot depending on the timeframe.

TimeframeWhat the chart looks likeBest used for
1m / 5mSmall FVGs form and get filled one after another, leaving clusters of small dark boxesMostly gauging momentum over the last few candles. Cut down the zone count in the settings for a cleaner view
15m / 1HA manageable number of order blocks and FVGs remain, and unmitigated zones are easy to trackFinding intraday pullback and rally levels to buy the dip or sell the rally
4H / DailyWide zones can stay live for weeks, and overlapping bands stand out brightlyMapping the key levels for swing trading
WeeklyBlocks formed years ago can still be sitting there unmitigatedChecking major long-term levels

On the 1-minute chart, the last hour or so was packed with small overlapping FVG boxes, almost all of them with the smallest label size. The usual rule that lower timeframes mean more noise shows up right there on the chart.

On the 1-minute chart, FVG and Order Blocks Detector shows small FVGs forming one after another and getting filled almost immediately.
On the 1-minute chart, FVG and Order Blocks Detector shows small FVGs forming one after another and getting filled almost immediately.

On the weekly chart, by contrast, a bullish block from around 2020 was still unmitigated and extending all the way to today. Long-term zones are less about whether price will ever revisit them and more about reminding you where big buying came in.

FVG and Order Blocks Detector on the weekly chart, with order blocks that have stayed unmitigated for years.
FVG and Order Blocks Detector on the weekly chart, with order blocks that have stayed unmitigated for years.

Settings and How to Tune Them for Your Style

The settings in “FVG and Order Blocks Detector” are split into four groups: General, Zone Colors, Fair Value Gaps, and Order Blocks. Here are the defaults and some guidelines for tweaking them.

Parameters
SettingDefaultSuggestedEffect
Max Zones Per Type53–8How many bullish FVGs, bearish FVGs, bullish blocks and bearish blocks to keep, counted separately (1–30). Mitigated boxes count too; once over the limit, the oldest are removed
Hide Mitigated ZonesOffYour preferenceWhen on, mitigated zones are deleted instead of left on the chart
Label Text SizeSmallSmallLabel text size. Automatically shrinks to the smallest size on boxes narrower than about 25 bars
Label Text ColorNear black (very dark navy)Match your color schemeLabel text color. White is easier to read with Directional Colors on a dark background
Bold LabelsOnOnDraws labels in bold
Naming ConventionStandardWhatever you’re used toReversed swaps the bullish and bearish block labels
Color ThemeGray ClassicYour preferenceDirectional Colors color-codes zones by type and direction
Bullish FVG (Directional)Green (semi-transparent)DefaultBullish FVG color in Directional Colors
Bearish FVG (Directional)Red (semi-transparent)DefaultBearish FVG color in Directional Colors
Bullish OB (Directional)Blue (semi-transparent)DefaultBullish block color in Directional Colors
Bearish OB (Directional)Red (semi-transparent)DefaultBearish block color in Directional Colors
Show FVGsOnOnShows FVGs
FVG TimeframeBlank (chart timeframe)BlankWith a higher timeframe set, it looks for gaps between two adjacent HTF candles
Minimum Gap Size (ATR multiple)0.10.1–0.3Gaps smaller than this multiple of ATR(14) are ignored. Higher values mean fewer FVGs
Mitigation ModeFull FillFull Fill / 50 Percent FillThe rule for marking an FVG as mitigated
FVG Label TextFVGYour preferenceText shown on FVG labels
Show Order BlocksOnOnShows order blocks
Swing Lookback85–12Bars on each side used to confirm a swing high/low (3–50). Higher values keep only the major highs and lows
Break ConfirmationCandle CloseCandle CloseWick counts a break even when only a wick pokes through
Displacement FilterOn (1.2)On (1.0–1.5)Minimum range of the breakout candle as a multiple of ATR(14). The multiplier is the box to the right
Block Body ModeFull Candle (High to Low)Full CandleBody Only limits blocks to the candle body
Mitigation SourceWickWick / CloseWhether blocks are mitigated by a wick or by a close
Bullish OB Label TextBULLISH ORDER BLOCKYour preferenceText shown on bullish block labels
Bearish OB Label TextBEARISH ORDER BLOCKYour preferenceText shown on bearish block labels

The multiplier field for Displacement Filter has no label of its own; it’s just a number box to the right of the checkbox. If you’re looking for it in the settings panel, check next to the checkbox.

Starting points by trading style

No single set of values works on every market, so treat these as starting points. I tested on Bitcoin, but the same thinking applies to volatile markets like gold and stock indices.

StyleMain timeframesHow to adjust
Scalping1m–5mRaise Minimum Gap Size (ATR multiple) to 0.2–0.3 and lower Max Zones Per Type to about 3. Fewer tiny FVGs, so you can focus on the boxes that matter
Day trading15m–1HDefaults are already clean enough. If you judge zones by pullback depth, set Mitigation Mode to 50 Percent Fill
Swing trading4H–DailyRaise Swing Lookback to 10–12 so blocks only form from breaks of major highs and lows. In wicky markets, set Mitigation Source to Close

Another nice thing about this indicator is that you see the effect of a change right away. Fewer boxes, longer-lasting zones: it all shows up on the chart immediately.

Directional Colors for color-coded zones

Set Color Theme to “Directional Colors” and bullish FVGs turn green, bullish blocks turn blue, and bearish zones are drawn in shades of red Figure 1. You can see at a glance which direction dominates, which is handy for reading market bias.

Color-coding by direction with Directional Colors

Setting Color Theme to Directional Colors gives bullish and bearish FVGs and order blocks their own colors.

Color-coding by direction with Directional Colors① Bullish FVGs are green ② Blocks from bullish breaks are blue ③ Bearish zones are red (FVGs are darker red)FVGFVGBULLISH ORDER BLOCKFVGFVGBULLISH ORDER BLOCKFVGFVGFVGFVGFVGFVGBEARISH ORDER BLOCKBullish FVGs are greenBlocks from bullishbreaks are blueBearish zones are red(FVGs are darker red)

Vowars DE ver.3.12.36

Directional Colors with Label Text Color changed to white. Mitigated zones turn a very faint gray regardless of direction.

One catch: the default Label Text Color is nearly black. On a dark-background chart with Directional Colors, the labels blend into the background and are almost unreadable. In the figure, I changed Label Text Color to white. If you stay with Gray Classic, it’s dark text on light gray, so readability is fine.

Hiding mitigated boxes entirely

Turn on Hide Mitigated Zones and mitigated zones disappear without a trace Figure 1. All that remains are the unmitigated zones extending to the right Figure 2.

With Hide Mitigated Zones turned on

Mitigated zones disappear, leaving only the boxes still waiting for a reaction.

With Hide Mitigated Zones turned on① Mitigated boxes vanish without a trace ② Only unmitigated zones extending right remainBEARISH ORDER BLOCKFVGFVGFVGFVGMitigated boxes vanishwithout a traceOnly unmitigated zonesextending right remain

Vowars DE ver.3.12.36

Same price action as the first figure, with Hide Mitigated Zones turned on. The mitigated blocks and FVGs on the left are no longer shown.

You lose the ability to look back at how past zones played out, but it’s a great fit if you only want the levels that matter right now. Personally, I liked keeping it off while backtesting and turning it on during live trading.

Repainting and How the Alerts Fire

Confirmed signals don’t change, but drawings are placed back in time

“FVG and Order Blocks Detector” runs both FVG detection and the order block break check on bar close. Once a zone is drawn, it never moves or disappears later (except when old zones are dropped because of the Max Zones Per Type cap).

That said, drawings are placed back in time. An FVG is drawn from the 1st candle when the 3rd candle closes, and an order block is drawn from the block candle when the break is confirmed. Swing highs and lows also aren’t confirmed until Swing Lookback bars have printed on the right. Looking at historical data, it may seem like these zones were visible in real time, but in reality they appeared a bit later.

Mitigation is checked on the live bar too

Mitigation is also evaluated on the still-forming bar. With Wick, the box stops as soon as a wick pierces it and stays that way through the close. With Close, it looks at the live bar’s current price, so a box can stop and then start extending again before the bar closes.

If you want to see exactly when zones appear, step through the chart bar by bar with TradingView’s Bar Replay. How far back you can go depends on your plan and the timeframe.

Eight alert conditions

There are eight alert conditions to choose from.

Alert nameFires on
FVG Bullish Created / FVG Bearish CreatedThe bar where a new bullish / bearish FVG forms
FVG Bullish Filled / FVG Bearish FilledThe bar where a bullish / bearish FVG gets mitigated
Upward-Break Order Block Created / Downward-Break Order Block CreatedThe bar where a block forms from an upside / downside break
Upward-Break Order Block Mitigated / Downward-Break Order Block MitigatedThe bar where a block gets mitigated

The mitigation alerts can trigger on a bar that hasn’t closed yet. TradingView’s help center also notes that with triggers like “Once Per Bar,” an alert can fire mid-bar. If you want alerts to match what you see on the chart, “Once Per Bar Close” is the safe choice.

Also note that when Naming Convention is set to “Reversed,” the mitigation alerts get swapped. For example, “Upward-Break Order Block Mitigated” will fire when a block from a downside break (labeled BULLISH on the chart) is mitigated. The creation alerts don’t swap, so if you run Reversed, test your alerts once before relying on them.

Pairing It With Supertrend to Pick Which Side to Trade

“FVG and Order Blocks Detector” draws bullish and bearish zones at the same time, so it’s up to you to decide which side to focus on. Supertrend, which shows trend direction by the color of its line, makes that call much easier.

Using Supertrend to pick which zones to trade

While Supertrend is bullish, only the bullish zones below price are treated as buy-the-dip candidates.

Using Supertrend to pick which zones to trade① Supertrend flips green: bullish bias ② Bullish blocks and FVGs above the green line = dip-buy zones ③ Zones below the line are the next levels if the uptrend breaksFVGFVGFVGFVGFVGBULLISH ORDER BLOCKFVGSupertrend flips green:bullish biasBullish blocks and FVGs abovethe green line = dip-buy zonesZones below the line are the nextlevels if the uptrend breaks

Vowars DE ver.3.12.36

FVG and Order Blocks Detector (default settings) with TradingView’s built-in Supertrend (ATR Length 10, Factor 3).

When Supertrend flips green, treat the market as bullish Figure 1, and look at the bullish blocks and FVGs sitting above the green line as buy-the-dip candidates Figure 2. Zones below the line are the next levels to watch if the uptrend stalls and rolls over Figure 3. Bearish zones can be set aside until Supertrend turns red.

A few other indicators that pair well with it:

  • VWAP: for intraday trading, narrow it down to bullish zones below VWAP as discount pullbacks
  • ADX: in choppy markets with low ADX, breakouts often don’t follow through, so it tells you when to temper expectations for blocks
  • Donchian Channels: comparing new channel highs/lows with order block formation makes the strength of a breakout easier to read

What I Liked and What You’ll Have to Live With

Where it shines

  • Box length and color separate live and mitigated zones, so the chart stays clean
  • Per-type caps and overlap filtering keep zones from piling up
  • Centered labels tell you the zone type without memorizing colors
  • Three FVG mitigation modes, plus fine-grained control over order block conditions
  • Detection runs on confirmed bars, so drawn zones never shift
  • Eight alerts covering both zone creation and mitigation

What to live with

  • Touch mitigates FVGs on the bar they form, so it can’t tell you when price taps a zone
  • The HTF option looks for two-candle gaps, so it shows almost nothing on 24/7 crypto
  • In Gray Classic, you can’t tell zone types by color and have to read the labels
  • Swings need several bars to confirm, so blocks appear well after the high or low
  • With Directional Colors, the default label color gets lost on dark backgrounds
Zones are where you wait, not a signal to enter

FVGs and order blocks are just mechanically plotted areas where price is said to react. Price doesn’t always bounce when it reaches a zone; I saw plenty of cases where it sliced straight through and mitigated it. When price reaches a zone, check the candle structure and trend direction, decide where your stop goes, and only then enter. That order of operations doesn’t change.

For Traders Who Want FVGs and Order Blocks Without the Clutter

FVG and Order Blocks Detector

“FVG and Order Blocks Detector” takes the familiar ideas of FVGs and order blocks and presents them with one simple rule: an extending box is live, a frozen box is done. The zone caps and overlap filtering really do their job, and the fact that you can leave it on your chart all the time without it getting in the way was the biggest selling point for me.

If you’re just getting started, try it on the 15m or 1H chart with the default settings. Once you’re used to how the zones show up, adjusting Mitigation Mode and Swing Lookback to fit your style will make each setting click. Just keep the behavior of Touch and FVG Timeframe covered in this article in mind before you switch them on.

Sources: This article is based on hands-on testing and in-depth analysis of the indicator FVG and Order Blocks Detector by Michael_Fx_Trader on the charting platform TradingView.

Disclaimer: This article summarizes our own testing and analysis of how an indicator published on TradingView works and behaves. The symbols, timeframes, and settings used here were chosen to check how the indicator displays—they are not a recommendation to trade those instruments or to use the suggested settings. Indicators can change when their authors update them, so this article reflects the version we tested. All investment decisions are your own.

Never miss a new indicator
Get Vowars in Google search, a browser alert on publish, or updates on X.
YUZURU
AuthorYUZURUFounder & Reviewer, Vowars
View profileClose

An editor for content sites at a web agency, I started trading crypto in 2018. Working my way from spot to futures got me hooked on chart analysis, and I now build my own custom indicators on TradingView. On Vowars, I test TradingView indicators one by one on my own charts and review everything from the math behind them to how to use them and where they fall short, with custom visuals throughout.…

Created by

Vowars Picks

Stochastic Heat Map

“Stochastic Heat Map” Tested: Bottom-to-Top Color Shifts That Show How Real a Move Is

"Stochastic Heat Map" is an oscillator that stacks 28 Stochastics with lengths from 10 to 280 as colors, showing where price sits in its range on every lookback at once. The way color spreads from the bottom rows to the top tells you how strong a move is, but red stays pinned in strong trends, so it works best with direction handled separately by something like an EMA.

DifficultyIntermediate 8 figures

CME Institutional Order Flow & AMT Lens

Auction Market Theory on One Chart: An Indicator That Flags Volume Absorption by Color

“CME Institutional Order Flow & AMT Lens” is a TradingView indicator that combines a volume profile, candle coloring, shelves, and a dashboard in one. It gives no buy or sell signals and instead automatically marks key prices such as the POC and Value Area.

DifficultyAdvanced 7 figures

Fibonacci Trend Continuation Signals [AlgoAlpha]

Measure Pullback Depth Inside a Trend With “Fibonacci Trend Continuation Signals”

"Fibonacci Trend Continuation Signals" is a free TradingView indicator that automatically draws a Fibonacci range in the direction of the trend and prints a continuation signal the moment price starts moving again after a pullback or bounce. It gives you an objective read on pullback depth.

DifficultyIntermediate 5 figures

Smart Trader, Episode 06, Isotropic Trend Lines

Isotropic Trend Lines: Measuring Trend Strength with a Volatility-Adjusted Angle

Isotropic Trend Lines is a channel indicator that puts price on a log scale and divides it by volatility (σ) to produce a trend angle that does not depend on chart scaling. On one screen you get direction, strength, and position in the channel, plus breakout and retest status.

DifficultyIntermediate 10 figures

Strong Burst Fader

Strong Burst Fader: Measure Overextension with Diamond Stacks and Color for Mean-Reversion Fades

“Strong Burst Fader” measures how far the wick pokes outside a hidden moving average plus ATR band and shows that depth as diamond stack height and color, making it a mean-reversion indicator for fading overextended moves. The taller and redder the stack, the deeper the overshoot, and the best setups come when the burst stops at one stack and price closes back inside the band.

DifficultyBeginner 9 figures

Divergence for Many Indicators v4

Divergence for Many Indicators v4 : How to Read Divergence Across 10 Indicators in One Label

"Divergence for Many Indicators v4" is a TradingView indicator that detects divergence across 10 indicators, including RSI and MACD, and shows how many line up in a single label. Signals come early, but only the last one survives within the same swing. It works best once you've defined market direction.

DifficultyIntermediate 6 figures

Browse by goal

1 / 5