Strategy Lab verdict: WinnerCan pass prop firm challenges

SPY 4h fair value gap strategy

Enter when a fair value gap forms (a strong middle candle leaves a gap between the first and third candles): bullish gap for longs, bearish for shorts, only when volatility is higher than usual. SPY 4-hour candles, long and short, 1R target.

Found by searching 2204 variants of 50 setups on SPY (SPDR S&P 500 ETF), then tested once on the last 12 months (16 November 2025 to 16 November 2026), which were locked away during the search. Long and short, about 9 trades a year. It takes signals at any hour the market trades.

Style
ICT and SMC
Timeframe
4 hours
Test period
Feb 2020 to Nov 2026
Tested
18 November 2026
Market
SPY (S&P 500 ETF)
Equity, after costs$10,000 → $11,780
$9.5k$10.0k$10.5k$11.0k$11.5k$12.0k
202120222023202420252026

Return

+17.8%

Profit factor

1.73

Win rate

61.7%

Max drawdown

−2.96%

Prompt for TES

Tessera's AI strategy coach builds and backtests it

Fair value gap on SPY 4-hour candles, trading both longs and shorts: enter when a fair value gap forms (a strong middle candle leaves a gap between the first and third candles): bullish gap for longs, bearish for shorts. Only take trades when the daily ATR(14) is above the daily ATR(100). 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 for longs (high for shorts). Take profit at 1R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-02-10 to 2026-11-16.

  1. 1Copy the prompt
  2. 2Backtest it free
  3. 3Run it as a bot
Backtest this strategy free

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.

Prop firms:Can pass prop firm challenges, tested on 8 challengesSign up free to see the pass rates

Is the fair value gap strategy profitable on SPY?

In this backtest, yes. On SPY 4-hour candles from Feb 2020 to Nov 2026 it made +17.8% after costs, with a profit factor of 1.73, a 61.7% win rate and a maximum drawdown of 2.96%, over 60 trades.

It stayed profitable, though weaker, on an unseen period it was never tuned on (+4.6% over the last 559 days), and the locked last 12 months stayed profitable (+4.09% on 16 trades). Plan for less live: with half the edge, a typical year is +1.5%.

An SPY trading strategy

SPY is SPDR S&P 500 ETF, traded on US exchanges and as a CFD at many brokers. This strategy looks for a fair value gap signal on 4-hour candles and trades both directions, with no leverage.

About 9 trades a year, so expect a few trades a month. It suits a personal account better than a prop firm challenge with a deadline.

Prop firm results

Tested against

FTMOThe5ersand 5 more firms

Verdict

Can pass 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

+17.8%

Feb 2020 to Nov 2026

Profit factor

1.73

Win rate

61.7%

Max drawdown

−2.96%

Trades

60

about 9 a year

Last 12 months

+4.09%

Nov 2025 to Nov 2026 · 16 trades

Equity, after costs$10,000 → $11,780
$9.5k$10.0k$10.5k$11.0k$11.5k$12.0k
202120222023202420252026
Net profit+$1,779.87 ($10,000 → $11,779.87)
Average trade+0.44R / +$29.66
Total R+26.5R
Profit factor in R1.77
Average win / loss+$113.90 (+1.65R) / −$105.84 (−1.50R)
Largest win / loss+$206.90 / −$231.11
Targets / stops hit37 / 23
Longest win / loss streak7 / 4
Median hold1 candles (4 hours)
Max drawdown−$323.84 (−6.03R)
Buy and hold, same dates+122.0%
Longs / shorts+9.8R (31) / +16.7R (29)
Signals60

SPY 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 2204 variants on SPY 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.

  1. 2,204Variants searched
  2. 77Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
  3. 9Had profitable neighbouring settings, so not a one-setting fluke
  4. 5Top 5 tested once on the locked last 12 months
  5. 1Stayed profitable on the locked last 12 months. This is the strongest
SetupTargetFilterSideSearch periodLast 12 months
Ichimoku TK cross3RNoneLong and short+8.49%−6.75%
Swing high/low breakout 32.5RNoneLongs only+18.48%−0.48%
Fair value gap1RHigh volatility onlyLong and short+13.17%+4.09%This strategy
MACD signal cross2R50 EMA trendLongs only+11.04%−1.50%
Swing high/low breakout 21R50 EMA trendLong and short+14.57%−16.93%

Search period

10 Feb 2020 to 16 Nov 2025

Return
+13.17%
Profit factor
1.76
Trades
44
Max drawdown
−3.05%

Last 12 months, locked

16 Nov 2025 to 16 Nov 2026, tested once

Weak: profitable but thin
Return
+4.09%
Profit factor
1.66
Trades
16
Max drawdown
−2.39%

The locked last 12 months made +4.09% with a profit factor of 1.66, 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: too little data to judge

Separately, Strategy Lab's walk-forward check kept the last 30% of the history (559 days, from 3 May 2025) unseen. Results were clearly weaker than before the cut, though still profitable.

Before the cut

70% of the history

Return
+13.17%
Profit factor
1.76
Trades
44
Win rate
59.1%

Unseen period

Last 559 days

Too little data to judge
Return
+4.63%
Profit factor
1.66
Trades
16
Win rate
68.8%

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 +11.4% to +24.6%, 95% of trades unchanged

  • Double costs

    +10.2%

  • Stop hit first inside a candle

    +17.8%

  • Unseen period

    +4.6% over 559 days

  • Last 12 months (locked)

    +4.09%, profit factor 1.66 on 16 trades

Read nextOut-of-sample testingIs my backtest overfit?

Recent results

Period

Updated

Last 30 days

Return

+0.65%

27 Oct to 26 Nov

Total P&L

+$64.63

$0.00 open

Total R

+0.75R

Trades

3

1 won

Win rate

33.3%

profit factor 1.20

Max drawdown

−3.28%

Open positions

No open positions. The strategy is watching the market for its next setup.

Equity, after costs$10,000 → $10,065
$9.6k$9.7k$9.8k$9.9k$10.0k$10.1k
27 Oct4 Nov11 Nov19 Nov26 Nov

Closed trades

Closed trades, last 30 days, newest first
ClosedResultP&LMarketSideClosedEntryExitResultP&L
16 Nov, 16:00Target+$392.30 (+4.06R)SPYShort16 Nov 2026, 16:00 UTC754.02740.72Target+$392.30 (+4.06R)
12 Nov, 16:00Stop−$130.62 (−1.33R)SPYLong12 Nov 2026, 16:00 UTC760.02756.27Stop−$130.62 (−1.33R)
9 Nov, 16:00Stop−$197.04 (−1.97R)SPYShort9 Nov 2026, 16:00 UTC732.91752.48Stop−$197.04 (−1.97R)

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

Fair value gap (FVG): a three-candle imbalance where a strong middle candle leaves a gap between the first and third candles’ extremes.

It only trades when the daily ATR(14) is above the daily ATR(100), meaning the market is moving more than it usually does. Quiet periods are skipped.

It enters at the close of the signal candle. The stop goes 0.25 ATR(14) beyond the signal candle's low for longs, high for shorts, and the target is 1 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 SPY'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).

SetupA fair value gap forms (a strong middle candle leaves a gap between the first and third candles): bullish gap for longs, bearish for shorts
FilterOnly when the daily ATR(14) is above the daily ATR(100) (higher than usual volatility)
SessionAll hours: signals at any time the market trades
EntryAt the close of the signal candle
Stop0.25 ATR(14) beyond the signal candle's low for longs, high for shorts
Target1R (1 times the distance from entry to stop)
ExitStop or target only: no trailing stop, break-even or time exit
DirectionLong and short (one trade at a time)
Risk1% of the account per trade, no leverage
CostsSpread 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 526 days (2 Nov 2023 to 11 Apr 2025).

Read nextMonte Carlo backtestingMonte Carlo simulator

Year by year

Return by year

  • 2021*+0.95%3 trades
  • 2022+5.83%24 trades
  • 2023+2.49%2 trades
  • 2024−2.63%10 trades
  • 2025+6.14%5 trades
  • 2026*+4.09%16 trades

*Part year: 2021 from 7 Oct 2021 to 31 Dec 2021, 2026 from 1 Jan 2026 to 13 Nov 2026.

Profit and loss by month, in dollars

JanFebMarAprMayJunJulAugSepOctNovDec
20212470
2022406-320415-124118142170-9-210
2023127139
2024-119-85-1194564392-114
202598557
202665-239249140254-63144-87

Grey months had no trades. Hover a month for its trades, wins and losses.

Where it fails

  • The locked final year was thin (+4.09%, profit factor 1.66, 16 trades).
  • Low frequency: about 9 trades a year, so a prop challenge target usually takes months.
  • The Lab's unseen-period check: too little data to judge.

Every trade

#ClosedExitSideEntryExit priceCandlesP&LEquity
6016 Nov 2026TargetShort754.25740.531+$196.88$11,780
5912 Nov 2026StopLong759.79756.501−$65.77$11,583
589 Nov 2026StopShort733.13752.252−$218.41$11,649
573 Aug 2026TargetLong746.81757.081+$144.06$11,867
5624 Jul 2026StopShort738.17741.751−$63.07$11,723
5526 Jun 2026TargetShort733.08729.222+$47.17$11,786
5415 Jun 2026TargetLong741.66756.121+$206.90$11,739
538 May 2026TargetLong731.59737.681+$81.50$11,532
521 May 2026TargetLong718.39722.961+$58.86$11,451
5117 Apr 2026TargetLong701.55709.881+$123.15$11,392
5013 Apr 2026TargetLong675.88682.493+$85.14$11,269
497 Apr 2026TargetLong655.18658.973+$40.39$11,183
4831 Mar 2026StopShort634.08647.032−$231.11$11,143
4720 Mar 2026TargetShort659.72652.191+$119.00$11,374
4616 Mar 2026StopShort662.30669.201−$126.97$11,255
4526 Jan 2026TargetLong688.93693.782+$64.89$11,382
4424 Apr 2025TargetLong535.38545.501+$168.32$11,317
4321 Apr 2025TargetShort526.39509.951+$191.12$11,149
4211 Apr 2025TargetLong524.71535.131+$99.28$10,958
418 Apr 2025TargetShort505.51492.712+$98.43$10,859
Show all 60 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

Variations to test

  • Longs only

    Keeps the long side only. In this backtest its 31 long trades made +9.8R with a profit factor of 1.62, against +16.7R from the shorts.

    Fair value gap on SPY 4-hour candles, long trades only (no shorts): enter when a fair value gap forms (a strong middle candle leaves a gap between the first and third candles): bullish gap. Only take trades when the daily ATR(14) is above the daily ATR(100). 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 1R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-02-10 to 2026-11-16.

    Backtest this variation free

    The button copies this prompt. Paste it into TES and Strategy Lab builds and backtests it.

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

TesseraFAQ

SPY 4h fair value gap questions

Rebuild this strategy free

Paste the prompt into TES and Strategy Lab backtests it on your own markets. No code, no card.