Skip to main content False Breakout Scanner For ThinkorSwim | TOS Indicators Skip to main content Skip to content
New The Squeeze Setups platform just launched, a live squeeze scanner built around the Slingshot Squeeze and Squeeze Signal Take advantage of the launch discount →
TOS Indicators
  • Tools

    Categories

    • Indicators
    • Backtesters
    • Scans
    • Dashboards
    • thinkScript
    • Member Resources
    Browse Full Library

    Featured Tutorials

    False Breakout Scanner for ThinkorSwim (Free Scan Pair)
    False Breakout Scanner for ThinkorSwim (Free Scan Pair)
    Scans

    A two-scan pair that flags failed breakouts and failed breakdowns with volume...

    Learn more →
    Heiken Ashi Trend Indicator
    Heiken Ashi Trend Indicator
    Indicators

    Download our Custom Heiken Ashi indicator for ThinkOrSwim. Full ThinkScript code, formula...

    Learn more →
    Commodities Tracker
    Commodities Tracker
    Indicators

    For acceleration signals: trend-following strategies and buying pullbacks. For deceleration signals: short...

    Learn more →

    Popular Posts

    Unusual Volume Pro Scans
    Unusual Volume Pro Scans
    Scans

    4 additional scans to find unusual volume overlapping with key...

    Learn more →
    High Short Interest Near 52 Week Highs (thinkScript)
    High Short Interest Near 52 Week Highs (thinkScript)
    Scans

    Build a simple scan in which to find stocks that...

    Learn more →
    Upcoming Earnings with High Short Interest
    Upcoming Earnings with High Short Interest
    Scans

    Build a scan to find stocks that are likely to...

    Learn more →
  • Courses
    Squeeze Course
    Squeeze Course
    19 Modules

    Scan, backtest, and trade the TTM Squeeze setup with precision.

    Unlock Course →
    Earnings Course
    Earnings Course
    3 Modules

    Master earnings plays with free indicators and proven strategies for ThinkOrSwim.

    Unlock Course →
    V-Shaped Reversals
    V-Shaped Reversals
    7 Modules

    Identify and trade powerful V-shaped reversal patterns with confidence and precision.

    Unlock Course →
    Fibonacci Trading
    Fibonacci Trading
    4 Modules

    Learn to trade Fibonacci retracements and extensions in ThinkOrSwim effectively.

    Unlock Course →
  • Products
    Futures Volatility Box Premium
    Futures Volatility Box

    Volatility models for 10 major futures markets, including micros & SPX.

    Explore Futures VB →
    Stock Volatility Box Premium
    Stock Volatility Box

    Dynamic support & resistance for 595+ stocks/ETFs, with a live scanner.

    Explore Stock VB →
    Opening Range Breakouts Premium
    Opening Range Breakouts

    Powerful live scanner & backtester for ORB strategies on 595+ stocks.

    Explore ORB Setups →
My Account
All Scans
Beginner-Friendly 20 mins ThinkOrSwim

How to Scan for False Breakouts in ThinkOrSwim

Download our False Breakout Scanner for ThinkOrSwim. Two free scans that find failed breakouts and failed breakdowns on above-average volume, plus the False Breakdown indicator, delivered as ThinkorSwim share links you can import directly.

Download Scans
How to install in ThinkOrSwim →
Table of Contents
  • What the False Breakout Scanner Looks For
  • Why It Ships as Two Separate Scans
  • How to Load the Scan in ThinkorSwim
  • Scan 1: False Breakout Scanner
  • Scan 2: False Breakdown Scanner
  • AMD Example: June 17, 2025
  • GOOGL Example: November 19, 2025
  • Tuning the Three Inputs
  • How to Trade What the Scanner Returns
  • Where This Scan Fits Alongside Other Tools
  • Known Limitations
  • Download the Scan

Most breakouts fail. Price pushes through an obvious level, everyone piles in, and then it closes right back inside the range and traps them. This tutorial builds a pair of scans that hunt for exactly that moment.

You get two scans: one for failed upside breakouts (a bull trap you can fade short) and one for failed downside breakdowns (a bear trap you can fade long). Both require above-average volume on the break bar, so you are not scanning thin-air pops with no real participation behind them.

The False Breakout Scanner is a pair of free ThinkorSwim scans that find stocks where a breakout attempt failed inside a single bar. One scan finds failed upside breakouts, the other finds failed breakdowns. Both require above-average volume on the break bar, so you are looking at levels that real size traded through and then rejected.

A false breakout is a bar whose high pierces a prior resistance level but whose close falls back below it. Buyers took the level, could not hold it, and the bar closed inside the old range. The same pattern runs in reverse at support, where a low pierces below the level and the close recovers above it.

What the False Breakout Scanner Looks For

The False Breakout Scanner flags a bar when three conditions are true at the same time. The bar’s high exceeds the 20-bar pivot high, the bar’s close finishes below that same pivot high, and volume on the bar is at or above the 20-bar average.

The key level is defined with a one-bar offset: Highest(high[1], lookbackPeriod). That [1] matters. It excludes the current bar from the calculation, so the level is fixed before the current bar starts printing. Without the offset the current bar’s own high would raise the level it is being measured against, and the condition could never trigger.

The volume filter is the condition that gets left off most often, and it is the one doing the most work. A stock can poke a hair above a 20-day high on well under its normal volume and close back under it, and that tells you almost nothing. The same poke on twice normal volume means a large number of shares changed hands at a price nobody was willing to defend by the close.

If you want the volume leg on its own, our unusual volume scanner for ThinkorSwim runs that filter without the price condition attached.

False breakout scanner ThinkorSwim signal anatomy: GOOGL daily candles on November 19 2025 with the high at 303.81 piercing the 20-bar pivot high of 293.95, the close falling back below that level, and volume at 1.85 times the 20-bar average
The three scan conditions on one bar. GOOGL pierced its 20-day pivot high of 293.95 intraday to 303.81, closed back below the level, and did it on 1.85x average volume.

Why It Ships as Two Separate Scans

The False Breakout Scanner ships as two scans, not one, because ThinkorSwim evaluates exactly one boolean plot per custom study filter. A single study that plotted both the fade-up and fade-down conditions would give the Stock Hacker no way to know which of the two you wanted to filter on.

So the logic is split:

  • TI_FalseBreakoutScanner_FadeUp returns true on a failed upside breakout. This is the bull trap, a candidate to fade short.
  • TI_FalseBreakoutScanner_FadeDown returns true on a failed downside breakdown. This is the bear trap, a candidate to fade long.

Load them as two saved scans and run whichever one matches the side you are hunting. A common habit is to check the fade-down list on red days and the fade-up list on green days, on the assumption that each pattern concentrates there. We tested that on a year of data and it does not hold.

False breakout scanner signal frequency by market direction, bar chart: FadeUp averages 22.9 signals per day on strong down days versus 17.2 on strong up days, while FadeDown averages 22.2 and 19.0 respectively
Signals per day by SPY return quintile. 643 symbols, 272 sessions.

Across those 643 symbols and 272 trading days, sorted into fifths by SPY’s daily return: FadeUp averaged 22.9 signals per day on the worst fifth of days, about 20.5 through the middle three, and 17.2 on the best. FadeDown peaked at both ends, 22.2 on the worst days and 19.0 on the best, and bottomed at 14.5 through the quiet middle. Failed breakouts show up more when the market is weak. Failed breakdowns show up whenever the tape moves hard, in either direction. Both lists lengthen with movement, so run the side you intend to trade.

How to Load the Scan in ThinkorSwim

  1. Open ThinkorSwim, then go to Scan → Stock Hacker → Add Filter → Study.
  2. Click the edit (pencil) icon on the study filter, then choose thinkScript Editor.
  3. Delete the placeholder code and paste one of the code blocks below.
  4. Name the study to match the scan, then click Save.
  5. Set the condition to FalseBreakoutUp (or FalseBreakdownDown) is true.
  6. Tune lookbackPeriod, volumePeriod, and volMultiplier directly in the Study Filter dialog. You do not need to edit the code to change them.

If you have never pasted a custom study into the platform before, our walkthrough on how to import a ThinkScript study into ThinkorSwim covers the same steps with screenshots.

Set your aggregation period on the Stock Hacker before you run it. The scan reads whatever timeframe the scanner is set to, so on a daily aggregation the 20-bar lookback is a 20-day high, and on a 5-minute aggregation it is the high of the last 20 five-minute bars.

Scan 1: False Breakout Scanner

This scan finds bars whose high poked above the N-bar pivot high on above-average volume but closed back below it. Paste it into the Study Filter and set the condition to FalseBreakoutUp is true.

#Written by TOS Indicators 2026
#Home of the Volatility Box
#Scan: False Breakout Scanner (Short Setup)
#Full Tutorial Link: tosindicators.com/scans/false-breakout-scanner/

input lookbackPeriod = 20;
input volumePeriod   = 20;
input volMultiplier  = 1.0;

def pivotHigh = Highest(high[1], lookbackPeriod);

def avgVolume   = Average(volume, volumePeriod);
def aboveAvgVol = volume >= avgVolume * volMultiplier;

def highAbove  = high  > pivotHigh;
def closeBelow = close < pivotHigh;

plot FalseBreakoutUp = highAbove and closeBelow and aboveAvgVol;

Scan 2: False Breakdown Scanner

This scan is the mirror image. It finds bars whose low pierced below the N-bar pivot low on above-average volume but whose close recovered above it. Set the condition to FalseBreakdownDown is true.

#Written by TOS Indicators 2026
#Home of the Volatility Box
#Scan: False Breakdown Scanner (Long Setup)
#Full Tutorial Link: tosindicators.com/scans/false-breakout-scanner/

input lookbackPeriod = 20;
input volumePeriod   = 20;
input volMultiplier  = 1.0;

def pivotLow = Lowest(low[1], lookbackPeriod);

def avgVolume   = Average(volume, volumePeriod);
def aboveAvgVol = volume >= avgVolume * volMultiplier;

def lowBelow   = low   < pivotLow;
def closeAbove = close > pivotLow;

plot FalseBreakdownDown = lowBelow and closeAbove and aboveAvgVol;

AMD Example: June 17, 2025

AMD on June 17, 2025 is a textbook fade-up signal. The 20-day high going into the session was 128.14. AMD printed a high of 130.70, which is 2.0 percent above the level, and then closed at 127.10, a full 1.04 below it. Volume on the bar came in at 2.1 times the 20-day average.

Read that bar back as an order flow story. Buyers paid up through a level that had capped the stock for a month, they did it on more than double normal participation, and by the close the entire 3.60 point excursion off the high had been given back. Everyone who bought the breakout above 128.14 finished the day underwater.

AMD false breakout example from June 17, 2025 showing the high of 130.70 piercing the 20-day high of 128.14 before closing back below at 127.10
AMD, June 17, 2025. High 130.70 above the 128.14 pivot, close 127.10 back below it, on 2.1x average volume.

GOOGL Example: November 19, 2025

GOOGL on November 19, 2025 shows the same structure with a wider excursion. The 20-day high was 293.95. GOOGL printed 303.81, which is 3.4 percent above the level, then closed at 292.81, back below it by 1.14.

The scan does not care by how much the close finished under the level. The condition is binary: the high cleared the pivot and the close did not hold it. A close that finishes just under the level is arguably the cleaner version of the pattern, because it leaves the level intact as overhead resistance and gives you a tight, well-defined risk point for a short entry.

GOOGL false breakout example from November 19, 2025 showing the high of 303.81 piercing the 20-day high of 293.95 before closing back below at 292.81
GOOGL, November 19, 2025. High 303.81 above the 293.95 pivot, close 292.81 back below it.

Tuning the Three Inputs

All three inputs are editable from the Study Filter dialog without touching the code. Here is what each one does to your result count.

Input Default What it controls Effect of raising it
lookbackPeriod 20 Bars used to set the pivot high or low A more significant level, fewer hits, and a longer memory of prior supply
volumePeriod 20 Bars in the average-volume baseline A smoother baseline that reacts more slowly to a recent volume regime change
volMultiplier 1.0 Minimum volume on the break bar as a multiple of average Fewer, higher-conviction signals. Set it to 1.5 or 2.0 to demand real participation

If you are running this on a daily aggregation across a broad universe and getting more results than you can review, raise volMultiplier to 1.5 before you touch anything else. The volume filter cuts the most noise per unit of tuning, because a marginal poke above a level on average volume is the most common low-quality version of this pattern.

Going the other direction, a lookbackPeriod of 5 or 10 turns this into a short-term rejection scan usable on intraday aggregations, where the level is the high of the last few hours rather than the last month.

False breakout scanner lookbackPeriod tuning, bar chart: FadeUp falls from 30.9 signals per day at a 5-bar lookback to 14.2 at 50 bars, while FadeDown falls from 29.0 to 10.2
Signals per day at each lookback setting with volMultiplier held at 1.0. A 50-bar pivot produces roughly half the hits of a 5-bar pivot because the level it has to break is far more significant.

That trade-off is measurable. Dropping the lookback from 20 to 5 raises FadeUp from about 20 signals a day to 31 and FadeDown from 17 to 29, because a five-bar high is a level almost any pullback can clear. Stretching it to 50 cuts FadeUp to 14 and FadeDown to 10, and every one of those bars is rejecting a level that held for roughly ten weeks. Note that the two sides diverge as the lookback grows: over this particular sample, which trended upward, 50-bar failed breakdowns were rarer than 50-bar failed breakouts.

False breakout scanner volMultiplier tuning, bar chart: 70.4 hits per day with no volume filter, 37.1 at 1.0x, 19.8 at 1.25x, 10.4 at 1.5x, 3.7 at 2.0x and 1.7 at 2.5x
Average combined FadeUp and FadeDown hits per day across 643 symbols. Moving from the 1.0 default to 1.5 cuts the list by 72 percent; 2.0 cuts it by 90 percent.

The numbers behind that chart come from running this exact logic over 643 liquid US symbols and 272 trading days. The 1.0 default is already doing real work: without any volume filter the raw price pattern alone fires about 70 times a day across that universe, and requiring merely average volume roughly halves it to 37. Raising the multiplier to 1.5 takes it to about 10 a day, a list one person can actually review before the open. At 2.0 you are down to under four a day, which is a watchlist rather than a scan. Your own counts will differ with universe size, aggregation, and how volatile the period is, but the shape of the decay holds.

How to Trade What the Scanner Returns

The scan is a shortlist builder, not a trade signal. It tells you which names failed a level on real volume. What you do next is a discretionary or rules-based decision that the scan does not make for you.

A common structure for the fade-up setup: enter short on a break of the signal bar’s low, place the stop above the signal bar’s high, and target the opposite side of the range the stock just failed out of. That gives you a risk point defined by the bar itself rather than an arbitrary percentage.

Size the position off the distance between entry and stop, not off a fixed share count. On the AMD example above, the signal bar spanned from a 130.70 high down to a 127.10 close, so a stop above the high is a wide stop in dollar terms and the position size has to shrink accordingly.

We are not publishing a win rate for this pattern, because we have not run it as a full backtest with a stated entry, stop, target, and sample size. A rate without those four things attached is not information. If you want to see what a fully specified breakout ruleset looks like on our side, the opening range breakout indicator and the Volatility Box both publish their levels against defined rules.

Where This Scan Fits Alongside Other Tools

The False Breakout Scanner answers one question: which names failed a level today. It does not tell you whether the broader tape supported that failure, and that context changes how much weight the signal deserves.

For the reasoning behind the pattern itself, including how to read momentum divergence at a failed level, see our longer walkthrough on how to identify and trade false breakouts in ThinkorSwim, which covers the confirmation side that this scan deliberately leaves out.

The scan also defines its level mechanically, as the highest high of the prior N bars. That is deliberate, but it means the level carries no information about how heavily that zone was traded. Overlaying the Supply Demand Edge indicator on the names it returns shows whether the failed pivot sits inside a real supply zone or in thin air.

For the volume side, our breakdown of the best volume indicators for ThinkorSwim covers relative volume, VWAP, and OBV, any of which gives you a second read on whether the participation on the break bar was genuinely unusual.

On the chart side, the free Simple Breakout tool plots the same style of range boundary the scan measures against, so you can see the level the scan used before you commit to fading it.

Known Limitations

  • It is a single-bar pattern. The scan evaluates one bar in isolation. It has no concept of trend, so it will return failed breakouts in strong uptrends where fading is the wrong side of the tape.
  • The pivot ignores round numbers and prior structure. The level is purely the highest high of the prior N bars. If a more meaningful level sits 30 cents away, the scan does not know about it.
  • Results depend on your universe. Run against a low-float small cap watchlist and the volume filter behaves differently than it does against the S&P 500.
  • Scan results are end-of-bar. On a daily aggregation the condition can only be confirmed at the close, so the shortlist is for the next session, not for an intraday entry on the signal bar itself.

None of these are defects in the code. They are the boundary of what a three-condition scan can know, and the reason the output is a shortlist rather than an entry.

Download the Scan

Both code blocks above are free to copy. Paste them into the Stock Hacker study filter, set the condition to true, and save each one as its own scan. Every other free scan we publish is on the ThinkorSwim scanners page, and the code patterns behind them are explained in our ThinkScript tutorials.

Educational content only. Nothing here is a trade recommendation or investment advice. Test any scan against your own rules and risk limits before trading it.

False Breakout Scanner.ts
#Written by TOS Indicators 2026

#Home of the Volatility Box

#Scan: False Breakout Scanner (Short Setup)

#Full Tutorial Link: tosindicators.com/scans/false-breakout-scanner/

input lookbackPeriod = 20;


// ... 21 more lines ...

Unlock This Code

Create a free account to access the full source code and download files.

Create Free Account Login
A false breakout is a bar whose high or low pierces a key level but whose close finishes back on the original side of it. The breakout attempt was made and rejected inside the same bar, leaving traders who entered on the break in a losing position at the close.
The [1] offset excludes the current bar, so the pivot level is set entirely by prior bars and is fixed before the session opens. Without it, a bar making a new 20-day high would define the very level it is being measured against, and the breakout condition could never be true.
No. The pivot level uses a [1] offset, which excludes the current bar, so the level is fixed before the current bar begins. Once a bar closes, its signal state is final and does not change on later bars.
ThinkorSwim evaluates exactly one boolean plot per custom study filter in the Stock Hacker. Combining the fade-up and fade-down logic into one study would leave the scanner with no way to know which condition you wanted to filter on, so the logic ships as TI_FalseBreakoutScanner_FadeUp and TI_FalseBreakoutScanner_FadeDown.
The scan reads whatever aggregation period the Stock Hacker is set to. On a daily aggregation the default 20-bar lookback becomes a 20-day high or low. On a 5-minute aggregation it becomes the high or low of the last 100 minutes, which suits intraday rejection setups better than swing setups.
Without the volume condition the scan returns bars that poked a level on almost no participation, which carries no information about supply or demand. Requiring above-average volume keeps results to bars where a real attempt was made and rejected.
All three inputs are exposed in the Study Filter dialog, so you can change lookbackPeriod, volumePeriod, and volMultiplier without editing the ThinkScript. Raise volMultiplier from the 1.0 default to 1.5 or 2.0 to cut the result count down to bars with heavier participation.
We are not publishing one. A win rate is only meaningful with a stated entry rule, stop, target, universe, date range, and sample size attached, and this scan is a shortlist builder rather than a specified strategy. Define your own exit rules, then backtest that specific ruleset before sizing real risk against it.

Here are some resources that you may find useful:

  • Browse all free ThinkorSwim scans
  • More ThinkScript tutorials
Featured Tools:
Stock Volatility Box

Stock Volatility Box

Spot reversal zones across 600 stocks & ETFs.

  • Hourly & daily models
  • Powerful Live Scanner
  • Built for day traders
Futures Volatility Box

Futures Volatility Box

Pinpoint reversal zones in 10 major futures markets.

  • 5 models (incl. Scalper)
  • ThinkOrSwim & TradingView
  • SPX traders
ORB Setups

ORB Setups

Find the best Opening Range Breakout setups.

  • Powerful real-time scanner
  • Instant backtests
  • 2+ years data

Get Free Access

Create a free account for downloads and new tutorial alerts.

Create Free Account

More Tutorials Like This

Unusual Volume

Unusual Volume

Beginner • 31 minutes
Upcoming Earnings Scan

Upcoming Earnings Scan

Beginner • 10 minutes
V-Score Scans

V-Score Scans

Intermediate • 12 minutes

Ready to Trade With an Edge?

Join 40,000+ traders using institutional-grade tools for ThinkOrSwim.

Get the Bundle
TOS Indicators

Premium thinkorswim indicators, scans, and trading tools to help you trade smarter.

ThinkOrSwim Tools

  • Indicators
  • Scans
  • Backtesters
  • Dashboards
  • thinkScript
  • Browse All

Courses

  • Squeeze Course
  • Earnings Course
  • V-Shaped Reversals
  • Fibonacci Trading

Products

  • Futures Volatility Box
  • Stock Volatility Box
  • ORB Setups
  • Shop All

Guides

  • TTM Squeeze
  • Automated Trading
  • Volatility Trading
  • Opening Range Breakouts
  • Trade Reports
  • Contact Us

© 2026 TOS Indicators. All rights reserved.

Privacy Policy Terms of Service Disclaimer

The information contained on this website is solely for educational purposes, and does not constitute investment advice. The risk of trading in securities markets can be substantial. You must review and agree to our Terms of Service prior to using this site.

U.S. Government Required Disclaimer - Commodity Futures Trading Commission. Futures and options trading has large potential rewards, but also large potential risk. You must be aware of the risks and be willing to accept them in order to invest in the futures and options markets. Don't trade with money you can't afford to lose. This website is neither a solicitation nor an offer to Buy/Sell futures or options. No representation is being made that any account will or is likely to achieve profits or losses similar to those discussed on this website. The past performance of any trading system or methodology is not necessarily indicative of future results.

Individual results may vary, and testimonials are not claimed to represent typical results. All testimonials are by real people, and may not reflect the typical purchaser's experience, and are not intended to represent or guarantee that anyone will achieve the same or similar results.

TOS Indicator's Traders and employees will NEVER manage or offer to manage a customer or individual's options, stocks, currencies, futures, or any financial markets or securities account. If someone claiming to represent or be associated with TOS Indicator solicits you for money or offers to manage your trading account, do not provide any personal information and contact us immediately.

CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER-OR-OVER COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY, SIMULATED TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.

Developers: get API access to our signals