You’re Backtesting Trading Strategies WRONG — Transcript
Full transcript
- 0:00Most of you are backtesting trading
- 0:01strategies completely wrong. And I don't
- 0:03mean you're calculating something
- 0:04incorrectly. I mean the backtest itself
- 0:07might be giving you perfectly accurate
- 0:09numbers that are completely useless to
- 0:11you. In this video, I'm going to show
- 0:12you what I mean. Because this is
- 0:13something that I see traders doing all
- 0:15the time. You find an indicator and
- 0:17maybe it gives you good buy and sell
- 0:18signals. You put it up on TradingView,
- 0:20you scroll backwards, and then you start
- 0:23counting. Win, loss, win, win, win,
- 0:25loss, loss, loss. And maybe you do this
- 0:27100 times, maybe 200 times. Maybe you're
- 0:30really dedicated and you have a full 8
- 0:33hours to dedicate to this and you do 500
- 0:35or 1,000 backtested trades. And then you
- 0:37get to the end and you say, "Okay, 57%
- 0:40win rate, this strategy works." Or 42%,
- 0:43this thing is garbage. But there's a
- 0:44pretty massive problem with doing that.
- 0:47You're assuming that every single one of
- 0:48those trades was actually available to
- 0:51you. And it probably wasn't. As you can
- 0:53see right here, I've got an indicator on
- 0:54the chart. And for this example, I
- 0:56backtested hundreds of trades. We're not
- 0:58concerned with what the indicator is.
- 1:00You could do this on any buy-sell
- 1:01indicator. We're concerned with the
- 1:03signals. We've got buys, we've got
- 1:05sells. And I've put a position tool on
- 1:07every single one of these trades,
- 1:09meaning that every time the signal
- 1:11prints, position tool, just like you
- 1:13would do in a normal backtest. So, let's
- 1:15just take the signals exactly as they
- 1:16appear. No discretion, no
- 1:18cherry-picking, every single signal. And
- 1:21I'm going to run this across roughly the
- 1:23last month of price action. Now, when we
- 1:25do that, we get these results. We've got
- 1:27182 trades. We have 89 winners and 93
- 1:32losers. That's a 48.9%
- 1:34win rate, profit factor of 0.95.
- 1:37Now, normally, this is where somebody
- 1:39decides whether the strategy is good or
- 1:41bad. But I want you to look at
- 1:42something. When did these trades
- 1:44actually happen? Because I'm sitting
- 1:45here in Europe, and let's say
- 1:47realistically, I trade from 9:00 in the
- 1:50morning until noon, 3 hours. That's my
- 1:52trading window. Maybe I've got work
- 1:54after that. Maybe I have other tasks
- 1:56after that. Maybe I got to do some
- 1:58gardening or mow the lawn. Maybe I got
- 2:00kids. Maybe I want to go to the gym. It
- 2:02doesn't matter. The point is I'm not
- 2:04sitting here in front of this computer
- 2:0524 hours a day. So, why the hell am I
- 2:07including signals that happen 2:00 in
- 2:09the morning in my strategy and my back
- 2:12test? I wasn't awake. I couldn't take
- 2:14it. It's not a trade. At least it's not
- 2:16a trade for me. And this sounds
- 2:17incredibly obvious when I say it out
- 2:19loud. But, think about how most people
- 2:21actually back test. They scroll
- 2:23backwards through the chart test
- 2:25everything they see. Tokyo session,
- 2:27London session, New York session, middle
- 2:29of the night, middle of the afternoon.
- 2:31It doesn't matter. Every single signal
- 2:33gets thrown into the same bucket. And
- 2:35then they use that number to decide
- 2:37whether the strategy works. So, let's
- 2:39change one thing. I'm not changing the
- 2:41indicator. I'm not changing the entry.
- 2:43I'm not changing the stop losses. I'm
- 2:45just filtering the results to give me
- 2:48the trades during my time window. Let's
- 2:50say 9:00 a.m. till noon. That's it. Now
- 2:53that I filtered out every single one of
- 2:54those trades that were not inside of my
- 2:57personal trading window where I'm
- 2:59actually on the charts, we can see the
- 3:01actual numbers of this specific
- 3:03strategy. Now we only have 51 trades. 23
- 3:06of them were winners. That gives us a
- 3:0845.1%
- 3:10win rate and a profit factor of 0.81.
- 3:13And these are the numbers that matter
- 3:15more to me. Even if the results were
- 3:17better, that's not the thing that I'm
- 3:19focusing on. Filtering the time doesn't
- 3:21magically make the bad strategy
- 3:23profitable. The results could improve.
- 3:25They could get worse. But, at least now
- 3:27I'm testing something I can actually
- 3:29execute on my charts while I'm trading.
- 3:32Because imagine we discovered that this
- 3:33strategy performs amazingly between
- 3:36midnight and 4:00 a.m. but terribly
- 3:39between 9:00 a.m. and noon. For someone
- 3:41who can only trade between 9:00 a.m.
- 3:43until noon, who cares what the overall
- 3:46profitability of this strategy is? You
- 3:48can't trade the profitable part. And the
- 3:50opposite can happen, too. Maybe the
- 3:52strategy looks mediocre across the
- 3:54entire day, but during the 3 hours
- 3:56you're actually available, it performs
- 3:58significantly better. If you only looked
- 4:01at the overall backtest results, you
- 4:03might throw away a strategy that
- 4:05actually fits you incredibly well. And
- 4:07this gets even more important depending
- 4:09on where you live. If you live in
- 4:10Europe, maybe you're interested in
- 4:12London session. If you're in the United
- 4:13States, maybe London session happens
- 4:15while you're asleep. Maybe New York is
- 4:17your window. Or maybe you're a night owl
- 4:19and Tokyo session is best for you. And
- 4:21it's not just geography. Your life
- 4:23matters. Maybe you're working a normal
- 4:25job, and you can only trade from 6:00
- 4:27p.m. to 8:00 p.m. after your normal job.
- 4:30Then it becomes, which window do I test
- 4:33based on my specific life? And there's
- 4:35another layer to this. Different parts
- 4:38of the trading day don't behave exactly
- 4:40the same. Liquidity changes. Volatility
- 4:42changes. Different markets open and
- 4:44close. News tends to happen at specific
- 4:47times of day. And when you combine every
- 4:49hour of the day into one giant backtest,
- 4:52you can unintentionally hide some
- 4:54incredibly useful information inside of
- 4:56the average. Let's just make this even
- 4:58more obvious. Instead of testing from
- 5:019:00 a.m. until 12:00, let's just test
- 5:03another window. I decided to shift it to
- 5:06the after work availability, the 6:00
- 5:08p.m. until 9:00 p.m. Now we have, over
- 5:11the last month, 11 trades, six winners,
- 5:14and five losers, giving me a win rate of
- 5:1755%. And now you can see a clearer
- 5:20picture, that depending on what
- 5:22indicator you're using, depending on
- 5:23what time you're actually available to
- 5:25sit down and trade on the charts, you
- 5:27might need to wake up early, you might
- 5:29need to stay up late. I'm not looking
- 5:31for the specific results that create the
- 5:33prettiest window, because I don't want
- 5:35you ruining a night's sleep, because
- 5:37sleep is incredibly important for the
- 5:39human body. So I don't want you to go on
- 5:41the charts from 2:00 a.m. to 4:00 a.m.
- 5:43You're going to be a cranky individual.
- 5:45I'm trying to let you know that your
- 5:47life during waking hours, if you've
- 5:50chosen day trading as your career path,
- 5:52must be a little bit more malleable.
- 5:54Price action doesn't matter that you're
- 5:55only available at this time. You need to
- 5:57look at the strategy you want to test
- 5:59and the strategy that you want to trade.
- 6:01You don't look for that 90% win rate
- 6:03strategy. You look for something that
- 6:05gives you decent consistent results
- 6:07month over month over month and you can
- 6:09dedicate that time window. A time window
- 6:12where there is volatility, where there
- 6:13is liquidity in the markets, where the
- 6:15price will move in your direction, not
- 6:17in days, but in minutes if you're a
- 6:19scalper. Because the strategy needs to
- 6:21fit your life. You shouldn't have to
- 6:23redesign your entire life around the
- 6:25strategy, especially if it means losing
- 6:27sleep. This is one of the reasons why I
- 6:29think traders massively underestimate
- 6:32what proper backtesting actually means.
- 6:34It's not just did the signal win or
- 6:36lose. You need to recreate the
- 6:38conditions under which you would
- 6:40actually have traded. Your trading
- 6:41hours, your spread, your commission,
- 6:43your stop loss, your take profit, your
- 6:46risk, potential news, and most
- 6:48importantly, rules that you decide
- 6:50before you see the result. Otherwise,
- 6:52it's incredibly easy to accidentally
- 6:54build a strategy around the past. Now,
- 6:56there's one obvious exception to
- 6:57everything I just said, and that's
- 6:59automation. Because if a strategy can
- 7:01execute completely automatically, then
- 7:03suddenly it doesn't matter whether the
- 7:05signal appears at 2:00 a.m. You can be
- 7:07asleep. Your computer doesn't care. And
- 7:09that's something I'm actually working on
- 7:10right now. But that's a discussion for
- 7:12another video. For manual trading, I
- 7:14want you to try something. Go back to
- 7:16whatever strategy you're currently
- 7:17testing. Don't change the strategy.
- 7:19Don't change the indicator. Don't change
- 7:21the stop loss and don't change the
- 7:23target. Just write down the hours that
- 7:25you could realistically sit in front of
- 7:26your computer and trade and backtest
- 7:28only those hours. And compare those
- 7:31results to your previous backtest. You
- 7:33might discover the strategy is better
- 7:35than you thought, or you might discover
- 7:37it's significantly worse. But either
- 7:39way, you've learned something far more
- 7:41useful than the overall win rate. You've
- 7:43learned whether the strategy actually
- 7:45fits you. And ultimately, that's what a
- 7:46backtest is supposed to tell you. Not
- 7:48whether somebody somewhere could have
- 7:50made money trading every signal on that
- 7:52chart. Whether you, following your rules
- 7:55during your trading window, could
- 7:56realistically have executed it. Because
- 7:58a trade you would have slept through
- 8:00isn't really a part of your strategy. If
- 8:01you guys enjoyed this video, please
- 8:03share it with your friends. Thank you so
- 8:04much for watching and keep an eye out
- 8:06for the next automation video.
About this transcript
This page contains the full transcript of You’re Backtesting Trading Strategies WRONG by The Moving Average, generated from the public captions YouTube serves with the video. The transcript has 1,571 words across 238 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.