Strategy Lab verdict: WinnerHolds up on prop firm challenges

XPTUSD 4h Stochastic divergence strategy

Stochastic %K divergence: price and %K disagree at a confirmed swing (regular or hidden), only when volatility is higher than usual. XPTUSD 4-hour candles, long and short, 1.5R 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 20 trades a year. It takes signals at any hour the market trades.

Style
Mean reversion
Timeframe
4 hours
Test period
Jan 2020 to Nov 2026
Tested
18 November 2026
Market
XPTUSD (Platinum)
Equity, after costs$10,000 → $13,496
$10k$12k$14k$16k
202120222023202420252026

Return

+35.0%

Profit factor

1.40

Win rate

51.8%

Max drawdown

−14.62%

Prompt for TES

Tessera's AI strategy coach builds and backtests it

Stochastic divergence on XPTUSD 4-hour candles, trading both longs and shorts, entering at the setup's signal. The setup: Stochastic %K divergence: price and %K disagree at a confirmed swing (regular or hidden). Works as a setup or as a confluence. 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 1.5 ATR(14) from the entry. Take profit at 1.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-16 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:Holds up on prop firm challenges, tested on 8 challengesSign up free to see the pass rates

Is the Stochastic divergence strategy profitable on XPTUSD?

In this backtest, yes. On XPTUSD 4-hour candles from Jan 2020 to Nov 2026 it made +35.0% after costs, with a profit factor of 1.40, a 51.8% win rate and a maximum drawdown of 14.62%, over 137 trades.

It stayed profitable, though weaker, on an unseen period it was never tuned on (−1.2% over the last 624 days), and the locked last 12 months stayed profitable (+5.17% on 19 trades). Plan for less live: with half the edge, a typical year is +3.6%.

A gold trading strategy for XPTUSD

XPTUSD is spot gold priced in US dollars. This strategy looks for a stochastic divergence signal on 4-hour candles and trades both directions, with up to 20× leverage.

About 20 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

FTMOThe5ersand 5 more firms

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

+35.0%

Jan 2020 to Nov 2026

Profit factor

1.40

Win rate

51.8%

Max drawdown

−14.62%

Trades

137

about 20 a year

Last 12 months

+5.17%

Nov 2025 to Nov 2026 · 19 trades

Equity, after costs$10,000 → $13,496
$10k$12k$14k$16k
202120222023202420252026
Net profit+$3,496.13 ($10,000 → $13,496.13)
Average trade+0.23R / +$25.52
Total R+31.1R
Profit factor in R1.44
Average win / loss+$171.79 (+1.43R) / −$131.83 (−1.07R)
Largest win / loss+$194.38 / −$162.45
Targets / stops hit71 / 66
Longest win / loss streak5 / 7
Median hold6 candles (4 hours)
Max drawdown−$2,047.48 (−15.67R)
Buy and hold, same dates+40.7%
Longs / shorts+11.8R (63) / +19.3R (74)
Signals193 (56 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. 1,726Variants searched
  2. 67Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
  3. 7Had profitable neighbouring settings, so not a one-setting fluke
  4. 5Top 5 tested once on the locked last 12 months
  5. 4Stayed profitable on the locked last 12 months. This is the strongest
SetupTargetFilterSideSearch periodLast 12 months
Inverse fair value gap2RNoneLong and short+37.10%+10.07%Also held
Inverse fair value gap3R50 EMA trendLong and short+25.03%+20.15%Also held
Stochastic divergence1.5RHigh volatility onlyLong and short+28.33%+5.17%This strategy
Stochastic RSI cross 143RHigh volatility onlyLongs only+27.40%+7.44%Also held
Parabolic SAR flip3RHigh volatility onlyLong and short+55.12%−1.28%

Search period

16 Jan 2020 to 16 Nov 2025

Return
+28.33%
Profit factor
1.38
Trades
118
Max drawdown
−14.62%

Last 12 months, locked

16 Nov 2025 to 16 Nov 2026, tested once

Weak: profitable but thin
Return
+5.17%
Profit factor
1.55
Trades
19
Max drawdown
−4.10%

The locked last 12 months made +5.17% with a profit factor of 1.55, 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: failed

Separately, Strategy Lab's walk-forward check kept the last 30% of the history (624 days, from 25 Jul 2024) unseen. It lost money after the cut, which is a warning sign.

Before the cut

70% of the history

Return
+36.19%
Profit factor
1.86
Trades
80
Win rate
58.8%

Unseen period

Last 624 days

Failed
Return
−1.23%
Profit factor
0.97
Trades
57
Win rate
42.1%

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 −1.8% to +49.7%, 69% of trades unchanged

  • Double costs

    +23.0%

  • Stop hit first inside a candle

    +35.0%

  • Unseen period

    −1.2% over 624 days

  • Last 12 months (locked)

    +5.17%, profit factor 1.55 on 19 trades

Read nextOut-of-sample testingIs my backtest overfit?

Recent results

Period

Updated

No trades in the last 30 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

Stochastic %K divergence: price and %K disagree at a confirmed swing (regular or hidden). Works as a setup or as a confluence.

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 1.5 ATR(14) from the entry, and the target is 1.5 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).

SetupStochastic %K divergence: price and %K disagree at a confirmed swing (regular or hidden). Works as a setup or as a confluence.
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
Stop1.5 ATR(14) from the entry
Target1.5R (1.5 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, up to 20× leverage
CostsSpread 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 24 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 691 days (4 Mar 2021 to 24 Jan 2023).

Read nextMonte Carlo backtestingMonte Carlo simulator

Year by year

Return by year

  • 2020*+8.17%9 trades
  • 2021+2.62%14 trades
  • 2022+2.81%23 trades
  • 2023+10.17%14 trades
  • 2024+7.83%25 trades
  • 2025−6.14%41 trades
  • 2026*+6.06%11 trades

*Part year: 2020 from 29 Jul 2020 to 31 Dec 2020, 2026 from 1 Jan 2026 to 10 Apr 2026.

Profit and loss by month, in dollars

JanFebMarAprMayJunJulAugSepOctNovDec
202014730291348
202132342-27840157
2022-117123158-354-118333287
2023185337-126380384
2024178898257967194-446
2025-98-292-358-506-348568280-237-25
202628837357236

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

Where it fails

  • The locked final year was thin (+5.17%, profit factor 1.55, 19 trades).
  • Low frequency: about 20 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.
  • The Lab's unseen-period check: failed.

Every trade

#ClosedExitSideEntryExit priceCandlesP&LEquity
13714 Apr 2026StopShort2,041.152,099.8611−$140.89$13,496
1369 Apr 2026TargetLong2,035.692,113.129+$191.94$13,637
1357 Apr 2026TargetLong1,877.912,033.6667+$184.93$13,445
13420 Mar 2026StopLong2,020.271,944.043−$136.43$13,260
1333 Mar 2026TargetShort2,357.902,234.639+$193.73$13,397
13225 Feb 2026TargetLong2,070.022,293.5377+$183.64$13,203
1315 Feb 2026TargetShort2,260.542,105.471+$189.56$13,019
13020 Jan 2026TargetLong2,350.122,475.5211+$185.19$12,830
12915 Jan 2026StopLong2,396.912,314.474−$133.44$12,644
1288 Jan 2026StopLong2,303.272,191.563−$133.11$12,778
1275 Jan 2026TargetLong2,202.842,296.972+$186.28$12,911
1265 Jan 2026TargetLong2,010.692,216.4014+$182.81$12,725
12529 Dec 2025TargetShort2,285.452,106.092+$182.82$12,542
12429 Dec 2025StopLong2,363.812,277.234−$128.60$12,359
12326 Dec 2025TargetLong2,258.042,396.766+$180.97$12,488
12219 Dec 2025StopShort1,917.841,978.286−$127.61$12,307
12112 Dec 2025StopShort1,662.981,710.0752−$132.10$12,434
12028 Nov 2025StopShort1,610.751,642.621−$132.89$12,566
11926 Nov 2025StopShort1,541.161,574.746−$133.85$12,699
11813 Nov 2025StopLong1,616.481,586.075−$141.75$12,833
Show all 137 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 63 long trades made +11.8R with a profit factor of 1.33, against +19.3R from the shorts.

    Stochastic divergence on XPTUSD 4-hour candles, long trades only (no shorts), entering at the setup's signal. The setup: Stochastic %K divergence: price and %K disagree at a confirmed swing (regular or hidden). Works as a setup or as a confluence. 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 1.5 ATR(14) from the entry. Take profit at 1.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-16 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

XPTUSD 4h Stochastic divergence questions

Rebuild this strategy free

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