QQQ 4h swing high/low breakout (swing length 3) strategy
Buy when the close breaks above the last confirmed swing high (swing length 3), with the 50 EMA trend. QQQ 4-hour candles, long only, 2.5R target.
Found by searching 2263 variants of 50 setups on QQQ (Invesco QQQ (Nasdaq 100 ETF)), then tested once on the last 12 months (16 November 2025 to 16 November 2026), which were locked away during the search. Long only, about 11 trades a year. It takes signals at any hour the market trades.
- Style
- Breakout
- Timeframe
- 4 hours
- Test period
- Feb 2020 to Nov 2026
- Tested
- 18 November 2026
- Market
- QQQ (Nasdaq-100 ETF)
Return
+49.4%
Profit factor
2.23
Win rate
57.1%
Max drawdown
−6.85%
Prompt for TES
Tessera's AI strategy coach builds and backtests it
Swing high/low breakout on QQQ 4-hour candles, long trades only (no shorts): buy when the close breaks above the last confirmed swing high (swing length 3). Only take the trade when the signal candle closes above the 50 EMA. Take signals at any time of day (all sessions). Enter at the close of the signal candle. Stop 0.25 ATR(14) beyond the signal candle's low. Take profit at 2.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-02-10 to 2026-11-16.
- 1Copy the prompt
- 2Backtest it free
- 3Run it as a bot
Free account, no card. The button copies the prompt for you. Run it as a bot on your broker with Launchpad, from $39 a month.
Is the swing high/low breakout strategy profitable on QQQ?
In this backtest, yes. On QQQ 4-hour candles from Feb 2020 to Nov 2026 it made +49.4% after costs, with a profit factor of 2.23, a 57.1% win rate and a maximum drawdown of 6.85%, over 77 trades.
It held up on an unseen period it was never tuned on (+17.4% over the last 712 days), and the locked last 12 months stayed profitable (+5.70% on 10 trades). Plan for less live: with half the edge, a typical year is +3.1%.
A QQQ trading strategy
QQQ is Invesco QQQ (Nasdaq 100 ETF), traded on US exchanges and as a CFD at many brokers. This strategy looks for a break of the last swing high or low on 4-hour candles and trades only long, with no leverage.
About 11 trades a year, so expect a few trades a month. It's one of the better fits for a prop firm challenge in the library.
Prop firm results
Tested against
Verdict
Holds up on prop firm challenges
We ran this strategy's own trades through 8 challenges (FTMO 1-Step Challenge, FTMO 2-Step Challenge, FundedNext Stellar 2-Step, The5ers High Stakes (2.5K-25K), FundingPips 2-Step Standard, E8 Markets E8 One, FXIFY Two Phase (Trailing), Alpha Capital Group Alpha Pro 8%), starting a new one every week of the backtest and trying several risk levels per trade.
- Pass, fail and ran-out-of-time rates for every firm
- The risk per trade with the best pass rate
- Median days to pass and challenges per pass
Create a free account, then open this strategy in the Strategy Lab hub to see the pass rates, the risk per trade to use and how long challenges took to pass.
Read nextProp firms that allow algo tradingFTMO algo trading rulesProp firm consistency rule
Backtest results
Return
+49.4%
Feb 2020 to Nov 2026
Profit factor
2.23
Win rate
57.1%
Max drawdown
−6.85%
Trades
77
about 11 a year
Last 12 months
+5.70%
Nov 2025 to Nov 2026 · 10 trades
| Net profit | +$4,934.60 ($10,000 → $14,934.60) |
|---|---|
| Average trade | +0.69R / +$64.09 |
| Total R | +53.4R |
| Profit factor in R | 1.88 |
| Average win / loss | +$203.45 (+2.59R) / −$121.73 (−1.84R) |
| Largest win / loss | +$436.53 / −$265.08 |
| Targets / stops hit | 44 / 33 |
|---|---|
| Longest win / loss streak | 9 / 4 |
| Median hold | 2 candles (4 hours) |
| Max drawdown | −$775.02 (−14.69R) |
| Buy and hold, same dates | +187.4% |
| Signals | 130 (6 position open, 47 other side or filter) |
QQQ 4-hour candles, 10 February 2020 to 16 November 2026, starting with $10,000. 1% risk per trade, no leverage. Costs are included in every figure. US stock bars.
Read nextWhat is a good profit factor?Profit factor calculatorHow many trades a backtest needs
How it was proven
1. A wide search, with the last 12 months locked away
Strategy Lab searched 2263 variants on QQQ 4-hour candles, across setups, settings, targets, stops, trend and volatility filters, trading sessions and long or short sides. The last 12 months were kept locked away during the search, then the top 5 were tested on it once.
- 2,263Variants searched
- 319Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
- 24Had profitable neighbouring settings, so not a one-setting fluke
- 5Top 5 tested once on the locked last 12 months
- 3Stayed profitable on the locked last 12 months. This is the strongest
| Setup | Target | Filter | Side | Search period | Last 12 months | |
|---|---|---|---|---|---|---|
| Swing high/low breakout 2 | 1R | None | Longs only | +35.21% | +1.31% | Also held |
| Hull MA turn 10 | 4R | None | Longs only | +77.12% | −1.98% | |
| Keltner channel breakout 20 | 3R | 50 EMA trend | Long and short | +26.86% | −10.36% | |
| Donchian breakout 10 | 3R | None | Longs only | +36.02% | +4.98% | Also held |
| Swing high/low breakout 3 | 2.5R | 50 EMA trend | Longs only | +41.30% | +5.70% | This strategy |
Search period
10 Feb 2020 to 16 Nov 2025
- Return
- +41.30%
- Profit factor
- 2.23
- Trades
- 67
- Max drawdown
- −6.85%
Last 12 months, locked
16 Nov 2025 to 16 Nov 2026, tested once
- Return
- +5.70%
- Profit factor
- 2.24
- Trades
- 10
- Max drawdown
- −3.29%
The locked last 12 months made +5.70% with a profit factor of 2.24, on data the search never saw. That's the honest test of a searched strategy. Even so, paper trade it before a live account.
2. An unseen period: held up
Separately, Strategy Lab's walk-forward check kept the last 30% of the history (712 days, from 17 Nov 2024) unseen. It did as well after the cut as before it.
Before the cut
70% of the history
- Return
- +31.90%
- Profit factor
- 2.04
- Trades
- 56
- Win rate
- 55.4%
Unseen period
Last 712 days
- Return
- +17.45%
- Profit factor
- 2.85
- Trades
- 21
- Win rate
- 61.9%
3. Robustness: stable
The same strategy re-run on noisy copies of the data, with costs halved and doubled, and with the stop assumed to hit first inside every candle.
Price feed noise (10 runs)
Return +41.9% to +61.2%, 96% of trades unchanged
Double costs
+31.6%
Stop hit first inside a candle
+49.3%
Unseen period
+17.4% over 712 days
Last 12 months (locked)
+5.70%, profit factor 2.24 on 10 trades
Recent results
Traded results
Updated
No trades in the last 30 days
It only trades when its setup appears, so quiet weeks are normal.
No trades in the last 7 days
It only trades when its setup appears, so quiet weeks are normal.
Results shown are hypothetical, calculated from the strategy's rules on market data. No real money is at risk. Past results don't guarantee future results. Not financial advice.
The rules
A swing high is a peak with lower highs on each side (3 candles here). A close above the last confirmed swing high is a break of structure, and the strategy trades it, with shorts on a close below the last swing low.
It only takes longs while the signal candle closes above the 50 EMA, so it trades with the bigger trend. It only buys and never shorts, so it makes its money when Invesco QQQ (Nasdaq 100 ETF) rises.
It enters at the close of the signal candle. The stop goes 0.25 ATR(14) beyond the signal candle's low, and the target is 2.5 times the distance from entry to stop. There's no trailing stop or time exit. Each trade risks 1% of the account with no leverage, and every result includes QQQ's typical trading costs (spread 0.05% of price, swap 0.025% / 0.015% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.005% of price).
| Setup | The close breaks above the last confirmed swing high (swing length 3) for longs, below the last swing low for shorts |
|---|---|
| Filter | Only when the close is on the trade's side of the 50 EMA (above for longs, below for shorts) |
| Session | All hours: signals at any time the market trades |
| Entry | At the close of the signal candle |
| Stop | 0.25 ATR(14) beyond the signal candle's low |
| Target | 2.5R (2.5 times the distance from entry to stop) |
| Exit | Stop or target only: no trailing stop, break-even or time exit |
| Direction | Long only |
| Risk | 1% of the account per trade, no leverage |
| Costs | Spread 0.05% of price, swap 0.025% / 0.015% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.005% of price |
Read nextAlgorithmic trading strategies explainedBest AI trading strategy buildersBest no-code backtesting software
What to expect
Strategy Lab reshuffled this strategy's own trades 1,000 times, in blocks so losing streaks stay together, to show a range of next-12-month outcomes at about 12 trades a year. Plan with half the edge: live results usually keep about half of what a backtest shows.
See the range before you trade it
A bad year, a typical year and a good year, the chance of a losing year and the typical worst drop, as tested and with half the edge. Create a free account and open this strategy in the Strategy Lab hub.
In the backtest, the longest stretch below a previous high lasted 567 days (25 Jan 2021 to 15 Aug 2022).
Year by year
Return by year
- 2020*+10.77%12 trades
- 2021−3.82%14 trades
- 2022+4.96%6 trades
- 2023+9.23%11 trades
- 2024+9.15%14 trades
- 2025+6.00%10 trades
- 2026*+5.70%10 trades
*Part year: 2020 from 29 Apr 2020 to 31 Dec 2020, 2026 from 1 Jan 2026 to 30 Oct 2026.
Profit and loss by month, in dollars
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2020 | -179 | -9 | 208 | 224 | 586 | 132 | ||||||
| 2021 | 355 | -209 | 208 | -81 | 23 | -236 | -181 | 132 | -232 | -88 | ||
| 2022 | -111 | 248 | 651 | -129 | -131 | |||||||
| 2023 | 257 | 260 | -149 | 129 | 267 | 147 | -134 | 123 | 132 | |||
| 2024 | 379 | -62 | -64 | 160 | 276 | 208 | 220 | -108 | -186 | 153 | 140 | |
| 2025 | -77 | -53 | 257 | 333 | -72 | 111 | 301 | |||||
| 2026 | -199 | -265 | 437 | 278 | 222 | -184 | 322 | 194 |
Grey months had no trades. Hover a month for its trades, wins and losses.
Where it fails
- The locked final year was thin (+5.70%, profit factor 2.24, 10 trades).
- Long only: it makes money when Invesco QQQ (Nasdaq 100 ETF) trends up and sits out or loses in sell-offs.
- Low frequency: about 11 trades a year, so a prop challenge target usually takes months.
Every trade
| # | Closed | Exit | Side | Entry | Exit price | Candles | P&L | Equity |
|---|---|---|---|---|---|---|---|---|
| 77 | 6 Oct 2026 | Target | Long | 749.53 | 760.60 | 2 | +$193.99 | $14,935 |
| 76 | 21 Sept 2026 | Target | Long | 721.36 | 738.98 | 1 | +$322.40 | $14,741 |
| 75 | 14 Aug 2026 | Stop | Long | 732.06 | 728.93 | 1 | −$72.61 | $14,418 |
| 74 | 5 Aug 2026 | Stop | Long | 723.68 | 718.79 | 1 | −$111.47 | $14,491 |
| 73 | 1 Jun 2026 | Target | Long | 730.22 | 743.49 | 4 | +$222.38 | $14,602 |
| 72 | 5 May 2026 | Target | Long | 667.57 | 681.75 | 3 | +$278.01 | $14,380 |
| 71 | 14 Apr 2026 | Target | Long | 605.92 | 627.08 | 4 | +$436.53 | $14,102 |
| 70 | 26 Feb 2026 | Stop | Long | 616.52 | 605.37 | 1 | −$265.08 | $13,665 |
| 69 | 29 Jan 2026 | Stop | Long | 631.08 | 625.80 | 2 | −$139.88 | $13,930 |
| 68 | 13 Jan 2026 | Stop | Long | 626.66 | 624.72 | 2 | −$59.37 | $14,070 |
| 67 | 27 Oct 2025 | Target | Long | 617.00 | 626.60 | 1 | +$198.75 | $14,130 |
| 66 | 6 Oct 2025 | Target | Long | 603.29 | 609.09 | 3 | +$102.13 | $13,931 |
| 65 | 11 Sept 2025 | Target | Long | 578.82 | 584.74 | 3 | +$110.55 | $13,829 |
| 64 | 11 Aug 2025 | Stop | Long | 574.55 | 571.97 | 1 | −$72.17 | $13,718 |
| 63 | 26 Jun 2025 | Target | Long | 539.73 | 545.35 | 2 | +$117.80 | $13,790 |
| 62 | 10 Jun 2025 | Target | Long | 523.19 | 533.20 | 6 | +$215.08 | $13,673 |
| 61 | 14 May 2025 | Target | Long | 507.79 | 518.67 | 2 | +$256.85 | $13,458 |
| 60 | 13 Feb 2025 | Target | Long | 529.22 | 534.04 | 3 | +$91.22 | $13,201 |
| 59 | 7 Feb 2025 | Stop | Long | 529.58 | 524.10 | 1 | −$143.97 | $13,109 |
| 58 | 24 Jan 2025 | Stop | Long | 531.51 | 529.36 | 2 | −$76.75 | $13,253 |
Show all 77 trades
Loading trades…
Read nextCreate a trading bot without codingBest trading journal for algo tradersBest trading journal for TradingView
Run it as a bot
Once the strategy holds up, Launchpad runs it on paper, then live on cTrader, Liquid Brokers or Hyperliquid, with the stop and target attached to every order.
- Paper:live prices, no broker
- Copilot:approve each trade in Telegram or the app
- Autopilot:trades inside your daily limits
Compare
All QQQ strategiesBacktests are hypothetical: they apply fixed rules to historical data with assumed costs and fills. Past results don't predict future results, and leveraged trading carries a high risk of loss. This is an educational description, not a recommendation.