XPTUSD 4h inverse fair value gap (3R) strategy
Inverse fair value gap: start from a three-candle imbalance (a fair value gap left by a strong middle candle), with the 50 EMA trend. XPTUSD 4-hour candles, long and short, 3R target.
Found by searching 1726 variants of 48 setups on XPTUSD (Platinum), 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 19 trades a year. It takes signals at any hour the market trades.
- Style
- ICT and SMC
- Timeframe
- 4 hours
- Test period
- Jan 2020 to Nov 2026
- Tested
- 18 November 2026
- Market
- XPTUSD (Platinum)
Return
+50.2%
Profit factor
1.49
Win rate
35.9%
Max drawdown
−8.72%
Prompt for TES
Tessera's AI strategy coach builds and backtests it
Inverse fair value gap on XPTUSD 4-hour candles, trading both longs and shorts, entering at the setup's signal. The setup: Inverse fair value gap: start from a three-candle imbalance (a fair value gap left by a strong middle candle). Once price has fully traded through and filled that gap within about a day, the invalidation close flips the zone’s role. Very old gaps that only get filled much later are ignored. Only take longs when the signal candle closes above the 50 EMA, and shorts when it closes below it. Take signals at any time of day (all sessions). Enter at the close of the signal candle. Stop 1.5 ATR(14) from the entry. Take profit at 3R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-16 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 inverse fair value gap strategy profitable on XPTUSD?
In this backtest, yes. On XPTUSD 4-hour candles from Jan 2020 to Nov 2026 it made +50.2% after costs, with a profit factor of 1.49, a 35.9% win rate and a maximum drawdown of 8.72%, over 128 trades.
It held up on an unseen period it was never tuned on (+29.2% over the last 738 days), and the last 12 months, locked away during the search, were strong (+20.15% on 20 trades). Plan for less live: with half the edge, a typical year is +3.5%.
A gold trading strategy for XPTUSD
XPTUSD is spot gold priced in US dollars. This strategy looks for an inverse fair value gap signal on 4-hour candles and trades both directions, with up to 20× leverage.
About 19 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
+50.2%
Jan 2020 to Nov 2026
Profit factor
1.49
Win rate
35.9%
Max drawdown
−8.72%
Trades
128
about 19 a year
Last 12 months
+20.15%
Nov 2025 to Nov 2026 · 20 trades
| Net profit | +$5,022.82 ($10,000 → $15,022.82) |
|---|---|
| Average trade | +0.34R / +$39.24 |
| Total R | +43.1R |
| Profit factor in R | 1.48 |
| Average win / loss | +$331.81 (+2.89R) / −$124.88 (−1.10R) |
| Largest win / loss | +$429.94 / −$159.74 |
| Targets / stops hit | 46 / 82 |
| Longest win / loss streak | 3 / 8 |
|---|---|
| Median hold | 12 candles (4 hours) |
| Max drawdown | −$1,050.74 (−9.07R) |
| Buy and hold, same dates | +40.7% |
| Longs / shorts | +20.5R (67) / +22.6R (61) |
| Signals | 165 (37 position open) |
XPTUSD 4-hour candles, 16 January 2020 to 16 November 2026, starting with $10,000. 1% risk per trade, up to 20× leverage. Costs are included in every figure. Spot metal 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 1726 variants on XPTUSD 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,726Variants searched
- 67Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
- 7Had profitable neighbouring settings, so not a one-setting fluke
- 5Top 5 tested once on the locked last 12 months
- 4Stayed profitable on the locked last 12 months. This is the strongest
| Setup | Target | Filter | Side | Search period | Last 12 months | |
|---|---|---|---|---|---|---|
| Inverse fair value gap | 2R | None | Long and short | +37.10% | +10.07% | Also held |
| Inverse fair value gap | 3R | 50 EMA trend | Long and short | +25.03% | +20.15% | This strategy |
| Stochastic divergence | 1.5R | High volatility only | Long and short | +28.33% | +5.17% | Also held |
| Stochastic RSI cross 14 | 3R | High volatility only | Longs only | +27.40% | +7.44% | Also held |
| Parabolic SAR flip | 3R | High volatility only | Long and short | +55.12% | −1.28% |
Search period
16 Jan 2020 to 16 Nov 2025
- Return
- +25.03%
- Profit factor
- 1.28
- Trades
- 108
- Max drawdown
- −8.72%
Last 12 months, locked
16 Nov 2025 to 16 Nov 2026, tested once
- Return
- +20.15%
- Profit factor
- 2.79
- Trades
- 20
- Max drawdown
- −3.17%
The locked last 12 months made +20.15% with a profit factor of 2.79, 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 (738 days, from 21 Oct 2024) unseen. It did as well after the cut as before it.
Before the cut
70% of the history
- Return
- +21.01%
- Profit factor
- 1.31
- Trades
- 86
- Win rate
- 33.7%
Unseen period
Last 738 days
- Return
- +29.22%
- Profit factor
- 1.86
- Trades
- 42
- Win rate
- 40.5%
3. Robustness: sensitive
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 +32.1% to +80.6%, 73% of trades unchanged
Double costs
+32.2%
Stop hit first inside a candle
+50.2%
Unseen period
+29.2% over 738 days
Last 12 months (locked)
+20.15%, profit factor 2.79 on 20 trades
Recent results
Traded results
Updated
Last 30 days
Return
+5.99%
27 Oct to 26 Nov
Total P&L
+$598.77
$0.00 open
Total R
+5.90R
Trades
2
2 won
Win rate
100.0%
Max drawdown
−0.00%
Open positions
No open positions. The strategy is watching the market for its next setup.
Closed trades
| Closed | Result | P&L | Market | Side | Closed | Entry | Exit | Result | P&L |
|---|---|---|---|---|---|---|---|---|---|
| 19 Nov, 00:00 | Target | +$303.91 (+2.95R) | XPTUSD | Short | 19 Nov 2026, 00:00 UTC | 1,452.96 | 1,359.27 | Target | +$303.91 (+2.95R) |
| 4 Nov, 00:00 | Target | +$294.85 (+2.95R) | XPTUSD | Short | 4 Nov 2026, 00:00 UTC | 1,506.77 | 1,416.46 | Target | +$294.85 (+2.95R) |
No trades in the last 7 days
It only trades when its setup appears, so quiet weeks are normal. The last 30 days had 2 trades.
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
Inverse fair value gap: start from a three-candle imbalance (a fair value gap left by a strong middle candle). Once price has fully traded through and filled that gap within about a day, the invalidation close flips the zone’s role. Very old gaps that only get filled much later are ignored.
It only takes longs while the signal candle closes above the 50 EMA and shorts while it closes below, so it trades with the bigger trend.
It enters at the close of the signal candle. The stop goes 1.5 ATR(14) from the entry, and the target is 3 times the distance from entry to stop. There's no trailing stop or time exit. Each trade risks 1% of the account with up to 20× leverage, and every result includes XPTUSD's typical trading costs (spread 0.08% of price, swap 0.03% / 0.005% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.002% of price).
| Setup | Inverse fair value gap: start from a three-candle imbalance (a fair value gap left by a strong middle candle). Once price has fully traded through and filled that gap within about a day, the invalidation close flips the zone’s role. Very old gaps that only get filled much later are ignored. |
|---|---|
| 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 | 1.5 ATR(14) from the entry |
| Target | 3R (3 times the distance from entry to stop) |
| Exit | Stop or target only: no trailing stop, break-even or time exit |
| Direction | Long and short (one trade at a time) |
| Risk | 1% of the account per trade, up to 20× leverage |
| Costs | Spread 0.08% of price, swap 0.03% / 0.005% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.002% 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 19 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 498 days (5 Feb 2020 to 17 Jun 2021).
Year by year
Return by year
- 2020−2.38%13 trades
- 2021+12.68%18 trades
- 2022+0.28%14 trades
- 2023+4.30%14 trades
- 2024+5.33%34 trades
- 2025+8.20%18 trades
- 2026*+14.57%17 trades
*Part year: 2026 from 1 Jan 2026 to 29 Oct 2026.
Profit and loss by month, in dollars
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2020 | -328 | -202 | -100 | 171 | 61 | 278 | -119 | |||||
| 2021 | -602 | 267 | 161 | 565 | 184 | 161 | 191 | 311 | ||||
| 2022 | 180 | -236 | 321 | -119 | -117 | 307 | -255 | 193 | -243 | |||
| 2023 | 322 | 332 | -251 | 326 | -248 | 334 | -129 | 338 | -130 | -287 | -132 | |
| 2024 | -125 | -252 | 63 | 185 | 309 | -54 | -52 | -192 | 528 | 43 | 437 | -133 |
| 2025 | -142 | -278 | 56 | 340 | -128 | -256 | -39 | 689 | 609 | |||
| 2026 | 115 | -136 | 245 | 237 | 254 | -298 | 651 | 412 | 430 |
Grey months had no trades. Hover a month for its trades, wins and losses.
Where it fails
- Low frequency: about 19 trades a year, so a prop challenge target usually takes months.
- The robustness test rated it sensitive: results move with small changes in the price feed.
Every trade
| # | Closed | Exit | Side | Entry | Exit price | Candles | P&L | Equity |
|---|---|---|---|---|---|---|---|---|
| 128 | 4 Nov 2026 | Target | Short | 1,507.41 | 1,415.89 | 23 | +$429.94 | $15,023 |
| 127 | 9 Sept 2026 | Target | Long | 1,806.13 | 1,927.26 | 25 | +$411.92 | $14,593 |
| 126 | 28 Aug 2026 | Stop | Long | 1,873.14 | 1,841.44 | 2 | −$150.68 | $14,181 |
| 125 | 20 Aug 2026 | Target | Long | 1,750.93 | 1,847.66 | 9 | +$403.46 | $14,332 |
| 124 | 4 Aug 2026 | Target | Long | 1,649.26 | 1,738.13 | 3 | +$398.61 | $13,928 |
| 123 | 17 Jul 2026 | Stop | Long | 1,641.34 | 1,606.63 | 13 | −$152.14 | $13,530 |
| 122 | 13 Jul 2026 | Stop | Long | 1,635.12 | 1,598.93 | 6 | −$145.57 | $13,682 |
| 121 | 17 Jun 2026 | Stop | Short | 1,737.65 | 1,779.51 | 1 | −$144.56 | $13,827 |
| 120 | 5 Jun 2026 | Target | Short | 2,023.72 | 1,844.53 | 93 | +$398.17 | $13,972 |
| 119 | 14 May 2026 | Stop | Long | 2,130.82 | 2,076.37 | 11 | −$147.72 | $13,574 |
| 118 | 11 May 2026 | Target | Long | 2,000.74 | 2,132.46 | 21 | +$384.69 | $13,721 |
| 117 | 29 Apr 2026 | Target | Short | 2,043.08 | 1,908.15 | 26 | +$382.55 | $13,337 |
| 116 | 7 Apr 2026 | Stop | Long | 1,978.64 | 1,913.17 | 18 | −$137.21 | $12,954 |
| 115 | 31 Mar 2026 | Stop | Short | 1,887.04 | 1,953.02 | 17 | −$135.90 | $13,091 |
| 114 | 30 Jan 2026 | Target | Short | 2,507.35 | 2,060.20 | 4 | +$382.88 | $13,227 |
| 113 | 30 Jan 2026 | Stop | Long | 2,707.35 | 2,520.67 | 11 | −$132.62 | $12,844 |
| 112 | 2 Jan 2026 | Stop | Long | 2,145.19 | 2,085.73 | 3 | −$134.87 | $12,977 |
| 111 | 22 Dec 2025 | Target | Long | 1,970.12 | 2,145.89 | 8 | +$376.32 | $13,112 |
| 110 | 15 Dec 2025 | Target | Long | 1,693.78 | 1,810.49 | 12 | +$363.12 | $12,736 |
| 109 | 10 Dec 2025 | Stop | Short | 1,637.68 | 1,669.69 | 2 | −$130.51 | $12,372 |
Show all 128 trades
Loading trades…
Read nextcTrader 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, Binance Futures 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 67 long trades made +20.5R with a profit factor of 1.42, against +22.6R from the shorts.
Inverse fair value gap on XPTUSD 4-hour candles, long trades only (no shorts), entering at the setup's signal. The setup: Inverse fair value gap: start from a three-candle imbalance (a fair value gap left by a strong middle candle). Once price has fully traded through and filled that gap within about a day, the invalidation close flips the zone’s role. Very old gaps that only get filled much later are ignored. Only take longs 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 1.5 ATR(14) from the entry. Take profit at 3R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-16 to 2026-11-16.
Backtest this variation freeThe 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.