Backtesting is mostly theater and I'll die on this hill

MacroTraderTom

Macro Analyst
Messages
234
Reaction score
71
Location
Edinburgh, UK

Been lurking here long enough to notice the same pattern repeat every few weeks. Someone spends 3 months optimizing a strategy in the MT5 tester, gets a 2.1 profit factor on 5 years of EURUSD data, goes live, blows up in 6 weeks. Then they post asking why live trading "tanks."

I'm not saying backtesting is useless. I'm saying most people use it wrong and the tools practically encourage it. The Strategy Tester and the TradingView tester both make it stupidly easy to curve-fit. You tweak a parameter, the equity curve looks like a ruler, you tweak another one, it looks even better. By the time you're done you've got a strategy that fits 2019 to 2023 like a glove and knows absolutely nothing about tomorrow.

I've done this. Twice. Two "optimized" EAs that tested like gold and traded like garbage. Lost around $4k combined before I pulled the plug on both. The backtest lied to me and honestly I let it.

What actually worked was boring. Forward test on demo for 3 months, same lot sizes I'd use live, no re-optimizing. Whatever survived that is what I still trade. So no, you don't need a faster rig or a fancier optimizer. You need to stop treating the backtest as proof and start treating it as a rough filter.

Genuinely curious how the prop firm folks square this with their max DD rules. You get one bad week and you're gone, but the only data you have going in is a backtest you know is full of holes. How are you guys sizing positions off that?

PropTraderDan

Funded Trader
Messages
195
Reaction score
29
Location
Dublin, Ireland

The prop firm question has a boring answer nobody wants to hear. You don't size off the backtest at all. You size off the worst week your forward test produced, then cut that number in half again, because live will always be worse than demo. If the backtest says risk 1% per trade and the forward test had a 6% drawdown week, you're trading like it's going to be 10%. That's it. Everyone blowing prop accounts is sizing off the equity curve in the tester instead of the one they actually lived through.

But honestly the bigger issue is the prop model itself. Those max DD rules aren't there to make you a better trader, they're there to churn accounts. One bad week and you're out, and statistically you WILL have a bad week eventually even with a real edge. It's a fee harvester dressed up as a challenge. Same energy as the "regulated" brokers up here, they'll happily take your spread and shut you down the second you're actually winning.

Anyway this is exactly why I stopped messing with that whole ecosystem. Offshore crypto books, instant ETH in and out, no guy in a suit deciding my week was too red. The variance still eats you alive but at least nobody's holding your payout hostage. Curious though, did either of those two EAs actually have a real edge that the curve-fitting buried, or were they cooked from the start?

ScalpMaster

Professional Scalper
Messages
199
Reaction score
38
Location
New York, USA

Dan's sizing rule is the right instinct but the number everyone quotes is too clean. Cutting your worst forward-test week in half only means anything if you actually saw a bad week. Three months of demo on a strategy that happened to run during a quiet stretch tells you nothing about your real tail. I forward tested an EA for 12 weeks once, zero losing weeks, felt untouchable, went live and copped a 9% run of red inside a fortnight. So now I want at least one genuinely ugly week in forward data before I trust the number at all.

The other thing nobody says out loud, your $4k is basically the entry fee for learning this. I did the same with two "optimized" EAs, one on AUDUSD that looked like a straight line for five years and then couldn't string two green days together live. The tester didn't lie to you, it just answered a question you didn't ask.

Curious though, with the offshore crypto books, how do you handle the funding side with AUD? I've been doing PayID into a couple of them and the spread between what the bank rate says and what actually lands is doing my head in.

ScalpMaster

Professional Scalper
Messages
199
Reaction score
38
Location
New York, USA

Dan's right that the prop DD rules are a churn machine, but I'll push back on the offshore cheerleading a touch. The variance on those crypto books is worse, not better, because half of them have withdrawal queues that move with the market. You're not just fighting your own drawdown, you're fighting theirs. I've had a book freeze ETH withdrawals for 11 days during a vol spike and that felt a lot like a guy in a suit deciding my week was too red, just with worse grammar in the support chat.

On the funding thing since nobody touched it, USDT through a local OTC desk landed cleaner for me than PayID. The bank spread was eating close to 1.2% on the way in and the desk cut that to about 0.4%. Still not free but at least I know what I'm paying upfront instead of watching the number shrink after the fact.

And yeah the tester answers the question you asked. Mine was "can this thing survive 2019 to 2023" and the answer was a very confident yes. Shame I was actually asking "can it survive next Tuesday."

ScalpMaster

Professional Scalper
Messages
199
Reaction score
38
Location
New York, USA

The thing that gets me is everyone argues about the optimizer when the data underneath is already cooked. MT5 will happily run your walk-forward on modelled ticks with 90% modelling quality and a fixed spread that wouldn't exist at 3am on an NFP candle. You can build the cleanest forward test in the world on top of that and it's still fantasy. Garbage in, ruler-shaped equity curve out.

I keep a graveyard folder of every EA I've killed. Nine of them now. All of them tested above 95% modelling quality and not one of them ever showed me a week where the spread blew out. That's my tell these days, not the profit factor. If the backtest never shows me an ugly week I don't trust it, no matter how pretty the curve looks.

Dan, on that halved number, are you running it as flat fixed fractional or scaling to vol? Because 0.5% on a dead euro Tuesday and 0.5% into CPI aren't the same trade and I can't work out if I'm supposed to be adjusting for that or just eating the variance.

CryptoFXTrader

Crypto-Forex Hybrid
Messages
237
Reaction score
27
Location
Singapore

Everyone keeps treating forward testing like it's the honest version of the backtest and I don't buy it. Demo forward data has the same disease as the tester, just on a slower clock. You still get fills you wouldn't get, spreads that don't widen into a 3am NFP candle, and none of the actual pressure. Three months of demo mostly taught me that I could follow a rule when the rule wasn't costing me anything.

What actually changed how I trade was going live at the smallest size my broker would allow, 0.01 lots, and just eating real slippage for a month. Not to make money, purely to collect the ugly weeks ScalpMaster keeps going on about. Those weeks are the whole point. You can't schedule a 9% red run, you have to sit inside one and find out what you actually do at 2am when it's still bleeding. Demo gives you a rule, live gives you your reaction to the rule. Different animals.

And Dan, the halved number is still a fixed number, which means it's wrong on precisely the days that matter. You're basically sizing for the average week and hoping the tail doesn't show up. It always shows up.

So forward test, sure. Just don't kid yourself it's proof. It's a filter, same as the backtest, just a less flattering one.

PipHunter

Senior Trader
Messages
208
Reaction score
45
Location
London, UK

ScalpMaster's graveyard folder is the real post here. Nine EAs, all above 95% modelling quality, not one of them ever showed you a spread blowout. That should be pinned somewhere. I've got four in mine and same story, none of them ever had a single week where the spread went sideways on me, and I never noticed until I read that back.

The bit that actually got me though was CryptoFXTrader saying demo gives you a rule and live gives you your reaction to the rule. I ran a tiny 0.01 lot thing for a month just to watch myself and the ugly part wasn't even the losses. It was that I moved a stop twice in week three and didn't clock it until I read the journal back. Strategy was fine. I was the variable.

Weird tangent but the only other thing that's ever given me that same gut-drop is my fish tank. Stable for months, you stop checking the heater, then one morning half of them are floating. Test strips said the water was perfect the whole time. They just don't measure the thing that actually kills you. Same energy as a 99% modelling quality backtest that's never seen a news candle.

Dan, when you halve the worst forward week, is that per strategy or per account? Because if I'm running two EAs I genuinely don't know if I'm halving each one or halving the combined number, and I feel like getting that wrong is how you end up in the red on a week that shouldn't have been.

CryptoFXTrader

Crypto-Forex Hybrid
Messages
237
Reaction score
27
Location
Singapore

Got cut off mid sentence, but the point stands: forward test is a filter, not a referee.

PipHunter the fish tank thing is closer than you probably meant it to be. Test strips measure what they're built to measure. A heater that quietly dropped two degrees overnight doesn't show up on a strip. And your 99% modelling quality backtest is a test strip too. So is your demo forward test. Both of them measure something that doesn't correlate with how you actually die.

On that vol scaling question nobody picked up, I'll bite. Yes you adjust, but not in the tester. Flat fractional is fine for collecting data, but the moment you're live you want size coming down into known event risk, not sitting at 0.5% into a CPI print because "the rule says 0.5%". The rule didn't account for the day. You're allowed to override it as long as you write down why.

And I'll push back on the graveyard folder a little. It's a great habit, and nine systems that never showed a spread blowout is genuinely a useful filter. But a few people are going to turn it into religion and gut a perfectly decent system because the backtest didn't happen to contain a massacre. Torture the tester with variable spread and it'll produce an ugly week for almost anything. The real tell is whether the system's reaction to an ugly week looks like something you'd actually want it to do.

there was a thread about this months back that made the same point about demo, better than I did
https://forexstrategy.co.uk/threads/demo-accounts-made-me-a-worse-trader-not-a-better-one.83

MarketPulse

Market Analyst
Messages
187
Reaction score
51
Location
Dubai, UAE

PipHunter, the per-strategy vs per-account thing got cut off and it's the one question in this thread that actually decides whether you survive. Per account. Always per account. Two strategies each sized off their own worst forward week sounds responsible until both tails land on the same Tuesday and your 5% week is suddenly a 10% week. The broker only sees one drawdown number and he doesn't care that strategy B was having a lovely month.

The thing nobody's raised though is the fine print on the prop DD rules themselves, because that's the actual killer, not the sizing. I spent years reading casino bonus T&Cs for a living and the lesson transfers cleanly: the term that gets you is never the headline number. Daily loss limit vs static max DD vs trailing max DD are three completely different games.

  • Static DD: floor stays put, you know where you're dead.
  • Trailing DD: floor follows your equity high, so a green week raises the bar and you can fail on a day you're actually up overall.
  • Daily loss: resets on the firm's server clock, not yours.

That last one is why sizing rules off your worst forward week don't save you. If the reset is midnight server time and you're holding through the Asia open, you're one gap from gone no matter how good the edge is. Your forward test never showed you that because the forward test doesn't have a clock with teeth.

Dan, quick one since you're the prop guy: were the firms you traded counting floating or closed DD? Because if it's floating, then halving your worst closed forward week is measuring the wrong thing entirely, and I'd want to know that before I trusted the number at all.

YenWarrior

JPY Specialist
Messages
183
Reaction score
44
Location
Tokyo, Japan

Gonna push back on the "the tester lied to me" framing that keeps floating up in here. It didn't lie. It's a calculator. It ran your rules and handed back arithmetic. The lie was the story you told yourself about what that arithmetic meant.

The thing nobody's actually said out loud in this whole thread: a lot of the EAs in these graveyard folders probably had no edge to begin with. Not a curve-fit edge, not a real one, nothing. You optimized parameters hunting for a shape, found a shape, slapped a name on it, ran it live. I did exactly that for the better part of two years and the tell was never modelling quality or a missing spread blowout. It was that I couldn't explain in one plain sentence why the thing should make money. ScalpMaster's filter (no ugly week = don't trust it) is a good habit but it's checking the wrong layer. A backtest that never shows a spread blowout is still useful if the underlying reason for the edge is sound, and useless if it isn't, blowout or not.

MarketPulse's per-account bit is the one sizing take in here I'd poke at. Not because it's wrong, it's right, but for a guy running a single small account it's academic. Per account matters when you've got real size spread across multiple systems. Before that it's a spreadsheet you built to feel in control of variance you haven't actually met yet.

ScalpMaster, genuine question on the nine. How many of them could you still explain the edge for in one sentence? I bet it's not many, and I bet that number predicts which ones died better than the modelling quality ever did.

You must log in or register to reply here.