Liquidity Trap Detector: Turning Failed Breakouts into Zones
You see price clear the recent high, you jump in, and it snaps right back and stops you out. Anyone who trades FX or crypto has been there. That’s a fakeout. Liquidity Trap Detector spots those fakeouts on the chart and keeps them on screen as zones that mark where breakout traders got trapped. It is a TradingView indicator built around that one idea.
A failed breakout above a high is shown as a BULL TRAP, and a failed breakdown below a low is shown as a BEAR TRAP. Inside each zone, the volume traded during the fakeout is printed as a “TRAPPED” figure. On top of that, you get a trend ribbon and candle coloring for direction, plus a ✦ marker when price pulls back into a zone in the direction of the trend, all in a single indicator.
I loaded it on Bitcoin across eight timeframes, from the 1-minute to the weekly, and this write-up covers how to read Liquidity Trap Detector, how to trade with it, and how to think about the settings. Let’s start with the big picture: what actually shows up on the chart.
What Liquidity Trap Detector draws on the chart
It layers a trend ribbon with candle coloring, zones built from fakeout breakouts, and markers for trend-aligned retests on one chart.
Vowars DE ver.3.23.2
The chart elements boil down to three things. The first is the ribbon and candle color in Figure 1: green means the trend is read as up, pink means it is read as down. The second is the zones in Figure 2. Where price broke below a low and then reclaimed it, you get a green BEAR TRAP; where price broke above a high and then fell back, you get a pink BULL TRAP. The third is the ✦ in Figure 3, a marker that prints on the bar where price comes back into a zone that lines up with the trend.
The color logic is consistent: green is the buy side, pink is the sell side. A green BEAR TRAP might feel backwards at first, but it marks where breakdown sellers got trapped, which is an area that tends to act as support below price. That is why it gets the buy-side green.

In this 30-minute snapshot, the ribbon and candles stayed pink in a downtrend while price chopped sideways, and a pink ✦ printed near the top of that range. After a few pokes above the high that got pushed back down, a BULL TRAP zone was left behind and price sold off hard from there. In the lower right, a large BEAR TRAP formed where price flushed below a low and then reclaimed it. You can see the area to look for shorts and the area where the selling may stall on the same screen.
Three Checks Before a Fakeout Counts as a Trap
Liquidity Trap Detector does not call a quick wick through a level a trap. Before a zone appears, price has to pass three conditions in order: a swing level, a breakout on a closing basis, and a return within a set number of bars. Let’s walk through it with a BULL TRAP.
How a trap is confirmed and becomes a zone
When price closes above a swing high and then closes back below that level within 5 bars, a BULL TRAP is confirmed and the zone appears.
Vowars DE ver.3.23.2
The first thing the indicator watches is a swing high, a bar higher than the 5 bars on each side, as in Figure 1. The number of bars on each side is set by Swing Length, and the level only registers after those 5 bars on the right have printed, so the level is confirmed 5 bars after the high.
Next, as in Figure 2, the bar that closes beyond that level is recorded as the breakout. A close right at the level is not enough; price has to close above it by ATR(14) multiplied by Break Buffer (ATR) (0.1 by default). This buffer filters out wick-only pokes and bars that barely close above the level.
The last check is the return in Figure 3. If price closes back below the level within 5 bars of the breakout bar, the BULL TRAP is confirmed. The left edge of the zone is the breakout bar, the bottom is the broken level, and the top is the highest price reached between the breakout and the return. A BEAR TRAP is the same thing flipped upside down.
How a breakout ends up "accepted" or "trapped"
After a breakout, the swing level is watched for a set number of bars, and the outcome splits two ways depending on whether price comes back.
Vowars DE ver.3.23.2
Laid out as a flow, the logic looks like the diagram above. The easy-to-miss part is that Figure 1 and Figure 2 are not equally strict. Breaking out requires the ATR buffer, but getting back in only requires a close back through the level itself. “Hard to break out, quick to call it a failure” is baked into the design, so breakouts with little follow-through are the ones most likely to be classified as traps.
A breakout that does not come back within 5 bars is treated as a valid breakout, and that level is dropped from monitoring. No zone is drawn. Levels that go 300 bars without being broken are dropped too, and up to 6 levels per side are tracked at the same time.
A figure like “9.19K TRAPPED” inside a zone is the total volume from the breakout bar through the bar that closed back inside the level. K is thousands, M is millions, and B is billions. It gives you a sense of how much traded during the fakeout, so it works best for comparing zones on the same chart. Volume figures vary by orders of magnitude depending on the data feed, so they are not useful for comparing across symbols or exchanges. On symbols with no volume data, the figure does not show at all.
The Ribbon and Candle Colors Rarely Flip
The other pillar next to the zones is a trend read built on a DEMA (double exponential moving average) baseline. The ribbon is drawn as a five-step gradient off that baseline, below it in an uptrend and above it in a downtrend. The ribbon color, candle color and the ▲▼ markers at trend flips all come from the same read.
The first thing I noticed in use was how reluctant the color is to change. Candles pushing above the ribbon are not enough; it stays pink.
What it takes for the trend to flip
Candles poking above the ribbon do not change the color. It only turns green on a bar that closes more than 2.55 ATR away from the baseline.
Vowars DE ver.3.23.2
To flip green, the close has to be more than 2.55 times ATR(78) away from the baseline, and the baseline itself has to be rising. The bar in Figure 2 closes above the ribbon but does not reach the threshold in Figure 1, so the color stays put. Only when price closes through the threshold in Figure 3 does a ▲ print and the color turn green. Flips to the downside work the same way in reverse.
With a 78-bar ATR and a fairly wide 2.55 multiplier, the color almost never flips on ordinary pullbacks or bounces. The trade-off is that flips come late off tops and bottoms. Treat this ribbon as a guide for which side’s zones to trade, not as an entry timing signal.
Which Bars Get a ✦ and Which Do Not
Within Liquidity Trap Detector, the ✦ is the marker closest to an entry. That said, it does not print on every bar that touches a zone. There are two conditions.
- Price first moved completely away from the zone, then came back and touched it again
- The trend read at that moment matches the side the zone is meant for (uptrend for a BEAR TRAP, downtrend for a BULL TRAP)
Which bars get a retest ✦ and which do not
The ✦ only prints on the first bar that touches the zone after price has fully moved away from it.
Vowars DE ver.3.23.2
Zooming in on a BEAR TRAP during an uptrend, as in Figure 1, the ✦ prints on the first bar that touches the zone after price had pulled away above it. After that, as in Figure 2, additional bars that keep touching the zone do not add more ✦ markers. As in Figure 3, once price moves back above the zone and then touches it again, a second ✦ prints. Even if price chops around on top of a zone for a while, the markers do not spam the chart, so it stays readable.
On the other hand, a retest against the trend, such as price coming back into a BULL TRAP zone during an uptrend, gets no ✦. Counter-trend zones stay on the chart as reference levels and are not meant to be used as trade signals.
The “Trap Retest” alert condition fires on every retest regardless of trend direction. The chart ✦ only shows trend-aligned retests, while the alert covers all of them. If you lean toward counter-trend setups, or you just want to know when price is back at a higher-timeframe zone, the alert is the easier way to track it.
Besides that, there are alerts for a bullish trend flip (“Trend Long”), a bearish trend flip (“Trend Short”), and trap confirmations (“Bull Trap” and “Bear Trap”), for five in total.
Trading Retests with Liquidity Trap Detector, Step by Step
With the mechanics covered, here is how to put it to work in an actual trade. The core setup is buying the dip or selling the rally into a trap zone that lines up with the trend.
1 Use the ribbon color to pick a side
If the ribbon and candles are green, only look for longs; if they are pink, only look for shorts. Because the color rarely flips, locking in your bias here keeps you from getting whipsawed by every small swing.
2 Find a zone on the same side
In an uptrend, the candidates are green BEAR TRAP zones below price; in a downtrend, pink BULL TRAP zones above price. When there are several zones, the ones with a larger TRAPPED figure, meaning more volume traded during the fakeout, are the ones where a stronger reaction is more likely on a return.
3 Wait to see how price reacts on the ✦ bar before entering
The ✦ prints on the bar that touches the zone, so price may still be slicing through the zone on that same bar. Wait for the ✦ bar to close and check whether it leaves a wick and closes back above the zone, or whether the next bar moves away from it. That makes it easier to avoid zones that price simply runs through.
4 Put your stop beyond the outer edge of the zone
The thin line on the outer edge of the zone is the furthest price reached during the fakeout. With Mitigation set to the default Absolute, the zone is removed when price closes beyond this line. The indicator itself is telling you where it stops treating the area as a zone, which makes it a logical place for a stop.
5 Borrow your profit target from another level
Liquidity Trap Detector does not plot a profit target. Combine it with the opposite zone, the recent swing high or low, or the pivots covered later in this article to decide how far you are aiming.

In this 4-hour snapshot, the ribbon and candles stayed green while price drifted lower, and green ✦ markers printed several times along the way. The move up only came after price built a base. A ✦ is not a one-shot bottom call; think of it as a repeated “this is buy-side territory” marker, which ties back to the idea in STEP 3.
How It Looks on Each Timeframe and What It Suits
Liquidity Trap Detector runs on everything from the 1-minute to the weekly with the same settings. I checked it on the 1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, daily and weekly charts. It draws the same elements on every timeframe, but how often zones appear and how you use them changes.
| Timeframe | Zone character | Best use |
|---|---|---|
| 1-minute to 5-minute | Narrow zones that get replaced quickly | Scalping quick stop hunts that poke through a level and snap back |
| 15-minute to 1-hour | Zones form where intraday highs and lows are fought over | Day trading failed breakouts within a session |
| 4-hour to daily | Wider zones that can stay on the chart for weeks | Dip and rally candidates for swing trading, and major levels for lower timeframes |
| Weekly | Large failed breakouts on a yearly scale stay on the chart | Checking long-term levels. Very infrequent as a trade signal |

In this 1-minute snapshot, a few bars that dipped below a low and immediately reclaimed it were left behind as a small BEAR TRAP. Lower timeframes pick up noisy breaks too, so for scalping it is easier to read if you thin out the zones, for example by raising Swing Length a little or increasing Break Buffer (ATR).
Settings and What Changes When You Adjust Them
The settings are split into five groups: “Trend Engine”, “Level Detection”, “Trap Logic”, “Zone Construction” and “Visualization”. Note that a setting with the same name, ATR Length, appears in both Trend Engine and Trap Logic, and they do different jobs. The one in Trend Engine drives the trend flip threshold and ribbon width, while the one in Trap Logic sets the breakout buffer.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| DEMA Length | 26 | 26 (day trading) / around 20 (lower timeframes) | Length of the DEMA used as the trend baseline. Higher values smooth the baseline and make color flips slower |
| DEMA Smoothing | 2 | 2 | Length of the extra EMA applied to the DEMA. 1 disables the extra smoothing. Higher values reduce jaggedness but add lag |
| ATR Length (Trend Engine) | 78 | 78 | ATR length used for the flip threshold and ribbon width. The long length keeps it from reacting to short-lived volatility spikes |
| Flip Threshold ATR | 2.55 | 2.55 / around 2.0 (for faster flips) | How many ATRs from the baseline price must close to flip the trend. Lower values flip sooner but cause more back-and-forth |
| Gradient Width ATR | 0.8 | 0.8 | Width of the trend ribbon in ATR multiples. Visual only; it does not affect the trend read |
| Swing Length | 5 | 5 (15m to 4H) / 8 to 10 (to thin out zones on 1m to 5m) | Bars on each side required to confirm a swing high or low. Higher values keep only more prominent highs and lows as levels and delay confirmation |
| Levels Per Side | 6 | 6 | Number of levels tracked at once on each side. The oldest level is dropped when the limit is exceeded |
| Level Max Age (bars) | 300 | 300 | How many bars an unbroken level is kept before it is dropped. Lower values stop tracking breaks of old highs and lows |
| ATR Length (Trap Logic) | 14 | 14 | ATR length used to calculate the breakout buffer |
| Break Buffer (ATR) | 0.1 | 0.1 / 0.2 to 0.3 (to reduce zones) | How many ATRs beyond the level price must close to count as a breakout. Higher values stop small breaks from counting as traps |
| Trap Window (bars) | 5 | 5 / 2 to 3 (to catch quick reclaims only) | Number of bars after the breakout within which a return counts as a trap. Shorter values ignore breakouts that fail slowly |
| Zones Per Side | 4 | 4 / 2 (for a cleaner chart) | Maximum number of zones shown on each side. The oldest zone is removed when the limit is exceeded |
| Mitigation | Absolute | Absolute | When a zone is removed. Absolute removes it on a close beyond the outer edge; Middle removes it on a close beyond the midpoint |
| Hide Overlap | On | On | When a new zone overlaps an existing one on the same side, the older one is removed and replaced |
| Zone Extension | 40 | 40 | How many bars zones and lines are projected to the right of the latest bar |
| Show Trend Gradient | On | On | Shows the trend ribbon |
| Color Candles | On | On / Off if you only want the zones | Colors candles based on the trend read |
| Show Trend Flips | On | On | Shows the ▲▼ markers on trend flips |
| Show Trap Text | On | On | Shows the BULL TRAP / BEAR TRAP text inside zones |
| Show Trapped Volume | On | On | Shows the TRAPPED volume below the text. Only appears when Show Trap Text is on and the symbol has volume data |
| Bear Trap / Bull Trend | Green | Green | Color for BEAR TRAP zones, the bullish ribbon and candles, and buy-side ✦ markers |
| Bull Trap / Bear Trend | Pink | Pink | Color for BULL TRAP zones, the bearish ribbon and candles, and sell-side ✦ markers |
| Trap Gradient Layers | 4 | 4 | Number of gradient layers inside each zone. Darkest at the broken level, fading toward the outer edge |
The suggested values assume day trading and swing trading on the 15-minute to 4-hour charts. In that range, the defaults worked well as they are. If you do adjust anything, the four settings that matter most are the ones that control how many zones you get, Swing Length and Break Buffer (ATR), and the ones that decide how traps are judged, Trap Window (bars) and Mitigation.
A Shorter Trap Window Keeps Only Quick Reclaims
Trap Window decides how a slow failed breakout is treated
The same price action, returning below the level on the 4th bar after the breakout, compared with Trap Window set to 5 and 2.
Vowars DE ver.3.23.2
The same price action can be judged differently depending on Trap Window (bars). Figure 1 is a case where price closed back below the level on the 4th bar after the breakout, which makes it a BULL TRAP at the default of 5. Cut it to 2 and, as in Figure 2, the return comes too late, the breakout is treated as valid, the level is dropped, and no zone is drawn.
Keep it short if you only want quick poke-and-reclaim stop hunts, and make it longer if you also want to catch breakouts that fail slowly, such as on the daily chart.
Mitigation Is Easier to Work with on Absolute
How Mitigation changes when a zone is removed
On the same price action, the Mitigation setting changes the level at which a zone is removed.
Vowars DE ver.3.23.2
Mitigation controls when a zone is removed. With Absolute in Figure 1, the zone stays as long as price does not close beyond its outer edge, even if price pushes halfway into it. With Middle in Figure 2, the zone disappears on the bar that closes beyond its midpoint. In this example, the zone kept under Absolute capped price and it rolled over from there.
Middle cleans up the chart faster, but it misses moves that dig deep into a zone before reversing. Absolute also fits the approach of placing your stop beyond the zone, so stick with Absolute by default and only try Middle when the chart gets too crowded with zones.
Using Pivot Points Standard to Decide How Far to Aim
As mentioned in the steps above, Liquidity Trap Detector shows you where to enter and where to put your stop, but not where to take profit. Here I use another indicator to gauge how much room there is to the next level after entering on a ✦ at a zone.
The pairing I chose is TradingView’s built-in Pivot Points Standard. It automatically plots P, R1, S1 and other levels for the current session from the previous day’s (or week’s or month’s, depending on the timeframe) high, low and close. Liquidity Trap Detector works off swing highs and lows, so the inputs are different, which also means the lines are less likely to simply stack on top of each other. That was part of the reason for choosing it.
Measuring the distance from a retest ✦ to the pivot R1
Overlaying the R1 from Pivot Points Standard on a Liquidity Trap Detector retest ✦ shows how far it is from the entry area to the next level.
Vowars DE ver.3.23.2
Figure 1 shows a ✦ on a BEAR TRAP during an uptrend, and looking up, the R1 in Figure 2 is plotted as the next level. The distance from the ✦ low to R1 is the range in Figure 3. In this example, the rally stalled right around R1. If you line up “distance to the stop” and “distance to R1” before entering, it is easier to pass on ✦ setups where the risk-to-reward does not work.
It is also worth noting that the pivot P runs through the zone. When a trap zone and a level from a completely different calculation overlap, that price area is likely on more traders’ radar.
Another indicator that looks like a good fit is Parabolic SAR, which helps with exits. After entering on a ✦, trailing your stop along the SAR dots makes it easier to let profits run if price extends beyond R1. And if you trade intraday charts, checking the average daily range with Average Daily Range (ADR) helps you avoid chasing traps that show up late in a day that has already moved a lot.
Where It Shines and Where to Be Careful
Where Liquidity Trap Detector shines
- Automatically turns fakeout locations into zones without drawing any lines yourself
- Each zone’s TRAPPED figure lets you compare how much volume each fakeout involved
- The ✦ only prints on trend-aligned retests, so it does not pull you into counter-trend signals
- The outer edge of the zone doubles as a stop-loss reference
- The trend color rarely flips, so you do not lose your bias on pullbacks and bounces
Things to know before you use it
- In strong trends where breakouts keep working, traps barely show up
- Trend flips print late, after tops and bottoms
- In quiet sessions ATR shrinks too, so small poke-and-reclaim moves are more likely to count as traps
- No profit target is shown, so you need to pair it with other levels
- On gap-prone instruments, breakouts across a gap can produce oversized zones
It tends to work best in markets where price often takes out a recent high or low and then reverses, in other words, where stop hunts are common. It felt like a good match for Bitcoin, which trades around the clock, gold (XAUUSD), where highs and lows get fought over during the London and New York sessions, and day trading the major FX pairs. On the flip side, symbols without volume data will not show the TRAPPED figure, so you have to judge zones by structure alone.
When Zones Appear and When They Disappear
The ▲▼ triangles, candle colors and ✦ markers do not change once a bar has closed. On the live bar, conditions can be met and then lost, so markers can appear and disappear intrabar, but anything printed on a confirmed bar stays put.
Zones work a little differently. A trap is only confirmed on the bar that closes back inside the level, so at that point the zone is drawn back to the breakout bar on its left edge. Confirming the level takes 5 swing bars, and the return check can take up to 5 more bars, so the zone is not visible yet on the breakout bar itself. When you scroll back through history and think “I could have caught that zone there,” keep this delay in mind.
A zone is removed when price closes beyond its outer edge, when a new overlapping zone replaces it, or when the per-side limit is exceeded. The chart only shows zones that are still active at that moment, and removed zones leave no trace. The ✦ and ▲▼ markers do stay on the chart, though, so in older parts of the chart you may see a ✦ with no zone anywhere near it.

On the daily chart, after the ribbon flipped green on the August rally, green ✦ markers also printed during the decline from October onward. Yet the only green zones still on screen are the 57.81K zone far below and a small zone above it. The zones behind those ✦ markers were broken through their outer edge during the later decline and removed. If you want to see which zones were active at the time, rewind with TradingView’s Bar Replay and the chart is redrawn with that point as the latest bar. You have to step through bars manually, and how far back you can go depends on your plan and timeframe.
As with any indicator, setups that look clean on historical charts will not necessarily play out the same way in real time. The ✦ only tells you that price has come back into a trend-aligned zone. It does not promise a bounce, so always use it with proper risk management and a stop.
Liquidity Trap Detector Maps Out Who Got Trapped
There are plenty of indicators that try to call breakouts, but Liquidity Trap Detector shines a light on the breakouts that fail. Where the fakeout happened and how much volume got stuck on the wrong side are left on the chart as zones and numbers, so, to put it bluntly, you can see where other traders took the pain.
The basic playbook is simple: pick a side with the ribbon color, wait for a ✦ at a zone on that side, and use the outer edge of the zone as your stop reference. Add something like Pivot Points Standard for profit targets, and it becomes much easier to plan a trade from entry to exit. If you have been caught by fakeouts at highs and lows more times than you would like, this indicator can change how you read your charts.








