{"id":18551,"date":"2026-08-16T13:24:41","date_gmt":"2026-08-16T13:24:41","guid":{"rendered":"https:\/\/financialmarkets.academy\/academy\/?p=18551"},"modified":"2026-08-16T13:33:49","modified_gmt":"2026-08-16T13:33:49","slug":"backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work","status":"publish","type":"post","link":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/","title":{"rendered":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"18551\" class=\"elementor elementor-18551\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5663781 e-flex e-con-boxed e-con e-parent\" data-id=\"5663781\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4c2c460 elementor-widget elementor-widget-text-editor\" data-id=\"4c2c460\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div style=\"max-width:1100px;margin:0 auto;padding:10px 16px 60px;font-family:Inter,Arial,sans-serif;color:#172033;line-height:1.75;font-size:17px;\">\n\n  <!-- HERO -->\n  <div style=\"background:linear-gradient(135deg,#071625 0%,#0b2238 58%,#102c46 100%);border-radius:22px;padding:48px 42px;margin:0 0 38px;box-shadow:0 18px 55px rgba(5,20,35,.18);\">\n\n    <div style=\"display:inline-block;background:rgba(214,167,72,.12);border:1px solid rgba(214,167,72,.55);color:#e6ba61;font-size:13px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;padding:8px 14px;border-radius:50px;margin-bottom:20px;\">\n      Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2\n    <\/div>\n\n    <h1 style=\"margin:0 0 18px;color:#ffffff;font-size:46px;line-height:1.1;font-weight:850;letter-spacing:-1.6px;\">\n      Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work\n    <\/h1>\n\n    <p style=\"margin:0;max-width:900px;color:#c9d5e0;font-size:20px;line-height:1.6;\">\n      Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup shows a repeatable edge.\n    <\/p>\n\n    <div style=\"margin-top:26px;display:flex;flex-wrap:wrap;gap:10px;\">\n      <span style=\"background:rgba(255,255,255,.08);color:#e8eef4;padding:8px 13px;border-radius:8px;font-size:14px;\">Backtesting<\/span>\n      <span style=\"background:rgba(255,255,255,.08);color:#e8eef4;padding:8px 13px;border-radius:8px;font-size:14px;\">Historical Data<\/span>\n      <span style=\"background:rgba(255,255,255,.08);color:#e8eef4;padding:8px 13px;border-radius:8px;font-size:14px;\">Sample Size<\/span>\n      <span style=\"background:rgba(255,255,255,.08);color:#e8eef4;padding:8px 13px;border-radius:8px;font-size:14px;\">Expectancy<\/span>\n    <\/div>\n\n  <\/div>\n\n  <!-- INTRO -->\n  <div style=\"font-size:19px;color:#29364a;margin-bottom:36px;\">\n\n    <p style=\"margin:0 0 20px;\">\n      A strategy can sound excellent and still fail when tested.\n    <\/p>\n\n    <p style=\"margin:0 0 20px;\">\n      That is exactly why backtesting matters.\n    <\/p>\n\n    <p style=\"margin:0 0 20px;\">\n      Backtesting means taking the exact rules created in Lesson 1 and applying them to historical market data as if you were trading those conditions in real time.\n    <\/p>\n\n    <p style=\"margin:0 0 20px;\">\n      The goal is not to prove that your strategy is good.\n    <\/p>\n\n    <div style=\"background:#f6f8fa;border-left:5px solid #d5a84d;border-radius:10px;padding:24px 26px;margin:28px 0;font-size:22px;font-weight:800;color:#0c2237;\">\n      The goal of backtesting is to discover the truth about the strategy before real money forces you to discover it the expensive way.\n    <\/div>\n\n    <p style=\"margin:0;\">\n      A proper backtest should challenge your assumptions, expose weaknesses and produce data you can use to make better decisions.\n    <\/p>\n\n  <\/div>\n\n  <!-- OBJECTIVES -->\n  <div style=\"background:#f8fafc;border:1px solid #e4e9ee;border-radius:18px;padding:30px;margin:0 0 42px;\">\n\n    <div style=\"font-size:13px;font-weight:800;color:#b8862c;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px;\">\n      Lesson Objectives\n    <\/div>\n\n    <h2 style=\"margin:0 0 18px;font-size:30px;color:#0a2239;\">\n      What You\u2019ll Learn\n    <\/h2>\n\n    <div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;\">\n      <div style=\"background:white;border-radius:10px;padding:15px 17px;border:1px solid #e7ebef;\">\u2713 What backtesting actually measures<\/div>\n      <div style=\"background:white;border-radius:10px;padding:15px 17px;border:1px solid #e7ebef;\">\u2713 How to test without hindsight bias<\/div>\n      <div style=\"background:white;border-radius:10px;padding:15px 17px;border:1px solid #e7ebef;\">\u2713 How many trades to collect<\/div>\n      <div style=\"background:white;border-radius:10px;padding:15px 17px;border:1px solid #e7ebef;\">\u2713 Which statistics matter most<\/div>\n      <div style=\"background:white;border-radius:10px;padding:15px 17px;border:1px solid #e7ebef;\">\u2713 How to track drawdown and losing streaks<\/div>\n      <div style=\"background:white;border-radius:10px;padding:15px 17px;border:1px solid #e7ebef;\">\u2713 How to avoid over-optimizing the test<\/div>\n    <\/div>\n\n  <\/div>\n\n  <!-- WHAT IS BACKTEST -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:48px 0 18px;font-weight:850;\">\n    What Is Backtesting?\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Backtesting is the process of applying a fixed trading strategy to historical market data and recording what would have happened if the rules had been followed exactly.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:26px;font-weight:850;\">\n      Fixed Rules \u2192 Historical Data \u2192 Recorded Trades \u2192 Statistics \u2192 Evaluation\n    <\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    The emphasis is on fixed rules. If you change the strategy every time a historical trade loses, you are no longer testing one strategy.\n  <\/p>\n\n  <!-- PURPOSE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    What a Backtest Can Tell You\n  <\/h2>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:11px;\">How often the strategy wins<\/div>\n    <div style=\"margin-bottom:11px;\">How large the average winner is<\/div>\n    <div style=\"margin-bottom:11px;\">How large the average loser is<\/div>\n    <div style=\"margin-bottom:11px;\">How often losing streaks occur<\/div>\n    <div style=\"margin-bottom:11px;\">What drawdown may look like<\/div>\n    <div style=\"margin-bottom:11px;\">Which sessions or markets perform best<\/div>\n    <div style=\"margin-bottom:11px;\">Whether certain filters improve results<\/div>\n    <div>Whether the overall system appears to have positive expectancy<\/div>\n  <\/div>\n\n  <!-- NOT GUARANTEE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    What a Backtest Cannot Tell You\n  <\/h2>\n\n  <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">\u2715 It cannot guarantee future performance.<\/div>\n    <div style=\"margin-bottom:10px;\">\u2715 It cannot recreate every live execution condition perfectly.<\/div>\n    <div style=\"margin-bottom:10px;\">\u2715 It cannot guarantee the same spread or slippage.<\/div>\n    <div style=\"margin-bottom:10px;\">\u2715 It cannot remove future market-regime changes.<\/div>\n    <div>\u2715 It cannot compensate for poor rule-following in live trading.<\/div>\n  <\/div>\n\n  <div style=\"background:#fffaf0;border-left:5px solid #d5a84d;border-radius:10px;padding:22px 25px;margin:28px 0;\">\n    <strong style=\"font-size:21px;color:#0a2239;\">\n      Backtesting gives evidence \u2014 not certainty.\n    <\/strong>\n  <\/div>\n\n  <!-- FREEZE RULES -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Freeze the Strategy Before You Start\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Before the first historical trade is reviewed, your Version 1 rules should already be written.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Market:<\/strong> Defined<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Session:<\/strong> Defined<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Context:<\/strong> Defined<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Trigger:<\/strong> Defined<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Stop:<\/strong> Defined<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Target:<\/strong> Defined<\/div>\n    <div><strong style=\"color:#e5b75d;\">Risk:<\/strong> Defined<\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Now you are testing the strategy instead of redesigning it one chart at a time.\n  <\/p>\n\n  <!-- HINDSIGHT -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    The Biggest Enemy: Hindsight Bias\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Historical charts make everything look obvious because you can already see what happened next.\n  <\/p>\n\n  <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">You see price later rally 300 pips.<\/div>\n    <div style=\"margin-bottom:10px;\">Suddenly the earlier long setup looks \u201cobvious.\u201d<\/div>\n    <div style=\"margin-bottom:10px;\">You unconsciously interpret every ambiguous candle in favor of the trade.<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#9f473b;\">\n      Future information contaminates the historical decision.\n    <\/div>\n  <\/div>\n\n  <!-- BAR REPLAY -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Use Bar Replay When Possible\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    One of the best ways to reduce hindsight bias is to hide future candles and reveal price one bar at a time.\n  <\/p>\n\n  <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">1. Choose an older historical period.<\/div>\n    <div style=\"margin-bottom:10px;\">2. Hide candles to the right.<\/div>\n    <div style=\"margin-bottom:10px;\">3. Advance one candle at a time.<\/div>\n    <div style=\"margin-bottom:10px;\">4. Make decisions only from visible information.<\/div>\n    <div>5. Record the trade before revealing the outcome.<\/div>\n  <\/div>\n\n  <div style=\"background:#071b2d;color:white;border-radius:16px;padding:27px;margin:30px 0;text-align:center;\">\n    <strong style=\"display:block;color:#e6b95e;font-size:23px;\">\n      Trade the Past as if You Do Not Know the Future.\n    <\/strong>\n  <\/div>\n\n  <!-- CHRONOLOGICAL -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Test Chronologically\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Move through the market in order rather than jumping around looking for attractive examples.\n  <\/p>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;\">\n    January \u2192 February \u2192 March \u2192 April \u2192 May\n  <\/div>\n\n  <p style=\"margin:0;\">\n    This forces the strategy to experience quiet periods, ugly periods and losing streaks \u2014 not just the beautiful examples you would choose for a screenshot.\n  <\/p>\n\n  <!-- CHERRY PICK -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Never Cherry-Pick Only the Best Setups\n  <\/h2>\n\n  <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Strong winner? Record it.<\/div>\n    <div style=\"margin-bottom:10px;\">Ugly loser? Record it.<\/div>\n    <div style=\"margin-bottom:10px;\">Breakeven? Record it.<\/div>\n    <div style=\"margin-bottom:10px;\">Setup qualified but looked uncomfortable? Record it.<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#9f473b;\">\n      If the rules say it qualifies, the test must include it.\n    <\/div>\n  <\/div>\n\n  <!-- LOG EVERY SIGNAL -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Record Every Qualifying Signal\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    A proper backtest is not a gallery of favorite trades.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Qualifies + Winner \u2192 Record<\/div>\n    <div style=\"margin-bottom:10px;\">Qualifies + Loser \u2192 Record<\/div>\n    <div style=\"margin-bottom:10px;\">Qualifies + Breakeven \u2192 Record<\/div>\n    <div>Does Not Qualify \u2192 Skip<\/div>\n  <\/div>\n\n  <!-- WHAT RECORD -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    What Should You Record?\n  <\/h2>\n\n  <div style=\"overflow-x:auto;margin:25px 0 34px;\">\n    <table style=\"width:100%;border-collapse:collapse;min-width:900px;border:1px solid #e1e7ec;\">\n      <thead>\n        <tr style=\"background:#071b2d;color:white;\">\n          <th style=\"padding:16px;text-align:left;\">Field<\/th>\n          <th style=\"padding:16px;text-align:left;\">Why It Matters<\/th>\n        <\/tr>\n      <\/thead>\n      <tbody>\n        <tr>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Date<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Allows chronological analysis<\/td>\n        <\/tr>\n        <tr style=\"background:#f8fafc;\">\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Instrument<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Compare market performance<\/td>\n        <\/tr>\n        <tr>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Session<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Compare timing quality<\/td>\n        <\/tr>\n        <tr style=\"background:#f8fafc;\">\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Setup Type<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Separate strategy variations<\/td>\n        <\/tr>\n        <tr>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Direction<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Long vs short performance<\/td>\n        <\/tr>\n        <tr style=\"background:#f8fafc;\">\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Entry<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Execution reference<\/td>\n        <\/tr>\n        <tr>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Stop<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Defines 1R<\/td>\n        <\/tr>\n        <tr style=\"background:#f8fafc;\">\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Target<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Measures planned reward<\/td>\n        <\/tr>\n        <tr>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\"><strong>Result in R<\/strong><\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">Standardizes performance<\/td>\n        <\/tr>\n        <tr style=\"background:#f8fafc;\">\n          <td style=\"padding:16px;\"><strong>Screenshot<\/strong><\/td>\n          <td style=\"padding:16px;\">Allows later visual review<\/td>\n        <\/tr>\n      <\/tbody>\n    <\/table>\n  <\/div>\n\n  <!-- R MULTIPLE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Measure Results in R-Multiples\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    R allows trades with different stop distances and account sizes to be compared consistently.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">1R:<\/strong> Planned amount at risk<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Full Loss:<\/strong> -1R<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">2:1 Target Hit:<\/strong> +2R<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Half-R Winner:<\/strong> +0.5R<\/div>\n    <div><strong style=\"color:#e5b75d;\">Breakeven:<\/strong> 0R<\/div>\n  <\/div>\n\n  <!-- SAMPLE SIZE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    How Many Trades Should You Backtest?\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    There is no magic number, but very small samples can be misleading.\n  <\/p>\n\n  <div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:28px 0;\">\n    <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:15px;padding:24px;\">\n      <strong style=\"color:#9f473b;\">10 Trades<\/strong><br>\n      Far too small for strong conclusions.\n    <\/div>\n    <div style=\"background:#fffaf0;border:1px solid #ecd49c;border-radius:15px;padding:24px;\">\n      <strong style=\"color:#a67319;\">30 Trades<\/strong><br>\n      Early information only.\n    <\/div>\n    <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:15px;padding:24px;\">\n      <strong style=\"color:#31785d;\">50\u2013100+<\/strong><br>\n      More useful for identifying patterns.\n    <\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    The more variable the strategy and market environment, the more valuable a larger sample becomes.\n  <\/p>\n\n  <!-- VARIED CONDITIONS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Test Across Different Market Conditions\n  <\/h2>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Trending markets<\/div>\n    <div style=\"margin-bottom:10px;\">Range-bound markets<\/div>\n    <div style=\"margin-bottom:10px;\">High-volatility periods<\/div>\n    <div style=\"margin-bottom:10px;\">Low-volatility periods<\/div>\n    <div>Different months and economic environments<\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    A strategy that works only during one unusually strong trend may not be robust enough for general use.\n  <\/p>\n\n  <!-- MULTIPLE MARKETS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Do Not Mix Markets Without Tracking Them Separately\n  <\/h2>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">EUR\/USD:<\/strong> 80 trades<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">GBP\/USD:<\/strong> 80 trades<\/div>\n    <div><strong style=\"color:#e5b75d;\">XAU\/USD:<\/strong> 80 trades<\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    You may later combine results, but separate tracking allows you to see whether one market is carrying the entire strategy.\n  <\/p>\n\n  <!-- WIN RATE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #1: Win Rate\n  <\/h2>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:24px;font-weight:850;color:#0a2239;\">\n      Win Rate = Winning Trades \u00f7 Total Trades \u00d7 100\n    <\/div>\n  <\/div>\n\n  <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;margin:28px 0;\">\n    60 winning trades \u00f7 100 total trades = <strong>60% win rate<\/strong>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Win rate is important, but it means very little without average winner and average loser.\n  <\/p>\n\n  <!-- AVG WIN LOSS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #2: Average Winner &amp; Average Loser\n  <\/h2>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Average Winner:<\/strong> +2R<\/div>\n    <div><strong style=\"color:#e5b75d;\">Average Loser:<\/strong> -1R<\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    A strategy can be profitable with a lower win rate if the average winner is sufficiently larger than the average loser.\n  <\/p>\n\n  <!-- EXPECTANCY -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #3: Expectancy\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Expectancy estimates the average amount a strategy is expected to make or lose per trade across a large sample.\n  <\/p>\n\n  <div style=\"background:linear-gradient(135deg,#071625,#0d304d);border-radius:18px;padding:31px;color:white;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:23px;font-weight:850;\">\n      Expectancy = (Win Rate \u00d7 Avg Win) \u2212 (Loss Rate \u00d7 Avg Loss)\n    <\/div>\n  <\/div>\n\n  <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Win Rate: 45%<\/div>\n    <div style=\"margin-bottom:10px;\">Average Winner: +2R<\/div>\n    <div style=\"margin-bottom:10px;\">Loss Rate: 55%<\/div>\n    <div style=\"margin-bottom:10px;\">Average Loser: -1R<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#31785d;\">\n      Expectancy = +0.35R per trade\n    <\/div>\n  <\/div>\n\n  <!-- EQUITY CURVE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #4: Equity Curve\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Add each trade&#8217;s R result in chronological order.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:25px;font-weight:850;\">\n      0R \u2192 +2R \u2192 +1R \u2192 0R \u2192 +2R \u2192 +4R \u2192 +3R&#8230;\n    <\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    The equity curve shows not just whether the strategy made money, but how difficult the journey was.\n  <\/p>\n\n  <!-- DRAWDOWN -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #5: Maximum Drawdown\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Maximum drawdown shows the largest decline from an equity peak to a later trough during the test.\n  <\/p>\n\n  <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Equity reaches: +18R<\/div>\n    <div style=\"margin-bottom:10px;\">Then declines to: +10R<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#9f473b;\">\n      Maximum drawdown during that decline = -8R\n    <\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    A profitable strategy with extreme drawdown may still be unsuitable for your risk tolerance.\n  <\/p>\n\n  <!-- LOSING STREAK -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #6: Maximum Losing Streak\n  <\/h2>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:25px;font-weight:850;\">\n      L \u2192 L \u2192 L \u2192 L \u2192 L \u2192 W\n    <\/div>\n  <\/div>\n\n  <p style=\"margin:0 0 18px;\">\n    If your backtest shows five or six consecutive losses are normal, you should not be shocked when a similar sequence appears live.\n  <\/p>\n\n  <div style=\"background:#fffaf0;border-left:5px solid #d5a84d;border-radius:10px;padding:22px 25px;margin:28px 0;\">\n    <strong style=\"font-size:21px;color:#0a2239;\">\n      Backtesting prepares you psychologically for the ugly parts of the strategy too.\n    <\/strong>\n  <\/div>\n\n  <!-- PROFIT FACTOR -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #7: Profit Factor\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Profit factor compares total winning profits with total losing losses.\n  <\/p>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:23px;font-weight:850;color:#0a2239;\">\n      Profit Factor = Gross Profit \u00f7 Gross Loss\n    <\/div>\n  <\/div>\n\n  <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;margin:28px 0;\">\n    Gross profit: 80R<br>\n    Gross loss: 50R<br><br>\n    Profit factor = <strong>1.60<\/strong>\n  <\/div>\n\n  <!-- FREQUENCY -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Statistic #8: Trade Frequency\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Two profitable strategies can feel completely different if one trades twice per month and another trades twice per day.\n  <\/p>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Trades per week<\/div>\n    <div style=\"margin-bottom:10px;\">Trades per month<\/div>\n    <div style=\"margin-bottom:10px;\">Average time between setups<\/div>\n    <div>Average time spent in a trade<\/div>\n  <\/div>\n\n  <!-- SESSION BREAKDOWN -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Break Results Down by Session\n  <\/h2>\n\n  <div style=\"overflow-x:auto;margin:25px 0 34px;\">\n    <table style=\"width:100%;border-collapse:collapse;min-width:780px;border:1px solid #e1e7ec;\">\n      <thead>\n        <tr style=\"background:#071b2d;color:white;\">\n          <th style=\"padding:16px;text-align:left;\">Session<\/th>\n          <th style=\"padding:16px;text-align:left;\">Trades<\/th>\n          <th style=\"padding:16px;text-align:left;\">Win Rate<\/th>\n          <th style=\"padding:16px;text-align:left;\">Net R<\/th>\n        <\/tr>\n      <\/thead>\n      <tbody>\n        <tr>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">London<\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">60<\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">58%<\/td>\n          <td style=\"padding:16px;border-bottom:1px solid #e1e7ec;\">+24R<\/td>\n        <\/tr>\n        <tr style=\"background:#f8fafc;\">\n          <td style=\"padding:16px;\">New York<\/td>\n          <td style=\"padding:16px;\">60<\/td>\n          <td style=\"padding:16px;\">43%<\/td>\n          <td style=\"padding:16px;\">+5R<\/td>\n        <\/tr>\n      <\/tbody>\n    <\/table>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    This may reveal that the core strategy works in both sessions but performs substantially better in one.\n  <\/p>\n\n  <!-- SETUP BREAKDOWN -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Break Results Down by Setup Type\n  <\/h2>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Break &amp; Retest:<\/strong> +18R<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Liquidity Sweep Reversal:<\/strong> +11R<\/div>\n    <div><strong style=\"color:#e5b75d;\">Range Breakout:<\/strong> -4R<\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Without setup labels, you might never discover that one variation is dragging down the rest.\n  <\/p>\n\n  <!-- LONG SHORT -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Compare Long and Short Performance\n  <\/h2>\n\n  <div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin:28px 0;\">\n    <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;\">\n      <strong style=\"color:#31785d;\">Long Trades<\/strong><br>\n      55 trades \u00b7 +21R\n    <\/div>\n    <div style=\"background:#fffaf0;border:1px solid #ecd49c;border-radius:18px;padding:28px;\">\n      <strong style=\"color:#a67319;\">Short Trades<\/strong><br>\n      52 trades \u00b7 +4R\n    <\/div>\n  <\/div>\n\n  <!-- NEWS FILTER -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Test Strategy Filters Separately\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    If you suspect a filter improves performance, test it objectively instead of simply assuming.\n  <\/p>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:12px;\"><strong>Version A:<\/strong> All qualifying setups.<\/div>\n    <div><strong>Version B:<\/strong> Same strategy, but exclude trades near high-impact news.<\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Compare results using a meaningful sample before changing the official strategy.\n  <\/p>\n\n  <!-- OVERFIT -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Beware of Overfitting\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Overfitting happens when rules are adjusted so specifically to historical data that they may not generalize well to new market conditions.\n  <\/p>\n\n  <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Strategy loses on Tuesdays.<\/div>\n    <div style=\"margin-bottom:10px;\">Remove Tuesdays.<\/div>\n    <div style=\"margin-bottom:10px;\">Then losses occur at 9:45.<\/div>\n    <div style=\"margin-bottom:10px;\">Remove 9:45 setups.<\/div>\n    <div style=\"margin-bottom:10px;\">Then losses happen when RSI is 56.<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#9f473b;\">\n      Rules become increasingly designed around the past instead of the trading idea.\n    <\/div>\n  <\/div>\n\n  <!-- SIMPLE ROBUST -->\n  <div style=\"background:#071b2d;color:white;border-radius:16px;padding:27px;margin:30px 0;\">\n    <strong style=\"display:block;color:#e6b95e;font-size:22px;\">\n      A simpler strategy that survives many conditions can be more valuable than a perfect-looking historical curve built with dozens of filters.\n    <\/strong>\n  <\/div>\n\n  <!-- COSTS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Include Realistic Trading Costs\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    A backtest that assumes perfect execution can make marginal strategies appear better than they really are.\n  <\/p>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Spread<\/div>\n    <div style=\"margin-bottom:10px;\">Commission<\/div>\n    <div style=\"margin-bottom:10px;\">Slippage assumptions<\/div>\n    <div style=\"margin-bottom:10px;\">Swap \/ financing where relevant<\/div>\n    <div>Realistic entry and exit prices<\/div>\n  <\/div>\n\n  <!-- INTRABAR -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Watch Out for Intrabar Ambiguity\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Historical candles can hide the order in which prices were reached inside the candle.\n  <\/p>\n\n  <div style=\"background:#fffaf0;border:1px solid #ecd49c;border-radius:18px;padding:28px;margin:28px 0;\">\n    A candle may contain both your stop and your target. If you cannot determine which was hit first from the available data, do not automatically award yourself the winner.\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Use lower-timeframe data where appropriate or apply a conservative rule.\n  <\/p>\n\n  <!-- MISSED -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Include Missed Trades If the Rules Would Miss Them\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    A retest-entry strategy will sometimes watch price leave without filling the order.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Breakout occurs.<\/div>\n    <div style=\"margin-bottom:10px;\">Strategy requires retest.<\/div>\n    <div style=\"margin-bottom:10px;\">Retest never happens.<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#e5b75d;\">\n      Result: No Trade.\n    <\/div>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Do not convert it into a market entry afterward because you can see the trade would have won.\n  <\/p>\n\n  <!-- LOSERS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Do Not \u201cFix\u201d Historical Losers\n  <\/h2>\n\n  <div style=\"background:#fff5f1;border:1px solid #f0d0c5;border-radius:18px;padding:28px;margin:28px 0;\">\n    <div style=\"margin-bottom:10px;\">Historical trade loses.<\/div>\n    <div style=\"margin-bottom:10px;\">You notice a tiny warning sign.<\/div>\n    <div style=\"margin-bottom:10px;\">You decide that trade \u201cwould have been skipped.\u201d<\/div>\n    <div style=\"font-size:21px;font-weight:850;color:#9f473b;\">\n      If the warning sign was not part of the original rules, the loss stays in the test.\n    <\/div>\n  <\/div>\n\n  <!-- WINNERS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Do Not Improve Historical Winners Either\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    If your rule says target 2R, a trade that later travels 8R is still recorded as +2R.\n  <\/p>\n\n  <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;margin:28px 0;\">\n    <strong style=\"color:#31785d;\">Rule:<\/strong> Fixed target 2R<br><br>\n    Historical market later moves 8R.<br><br>\n    <strong>Recorded result: +2R.<\/strong>\n  <\/div>\n\n  <!-- SAMPLE REPORT -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Example Backtest Summary\n  <\/h2>\n\n  <div style=\"background:linear-gradient(135deg,#071625,#0d304d);border-radius:18px;padding:31px;color:white;margin:28px 0;\">\n    <div style=\"font-size:13px;color:#e5b75d;font-weight:850;text-transform:uppercase;letter-spacing:1.3px;margin-bottom:15px;\">\n      Strategy Version 1.0\n    <\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Trades:<\/strong> 120<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Win Rate:<\/strong> 46%<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Average Winner:<\/strong> +2.1R<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Average Loser:<\/strong> -1R<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Expectancy:<\/strong> +0.43R<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Profit Factor:<\/strong> 1.72<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Maximum Losing Streak:<\/strong> 7 trades<\/div>\n    <div style=\"margin-bottom:12px;\"><strong style=\"color:#e5b75d;\">Maximum Drawdown:<\/strong> -9R<\/div>\n    <div><strong style=\"color:#e5b75d;\">Net Result:<\/strong> +51.6R<\/div>\n  <\/div>\n\n  <!-- INTERPRET -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    A Profitable Backtest Is Only the Beginning\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    Do not jump straight from a positive historical test to large live risk.\n  <\/p>\n\n  <div style=\"background:#071b2d;color:white;border-radius:18px;padding:30px;margin:28px 0;text-align:center;\">\n    <div style=\"font-size:25px;font-weight:850;\">\n      Backtest \u2192 Validate \u2192 Forward Test \u2192 Small Live Risk \u2192 Scale Gradually\n    <\/div>\n  <\/div>\n\n  <!-- OUT OF SAMPLE -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Keep Some Data Out of the Development Process\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    One useful approach is to develop the strategy using one historical period and then test the final rules on a different untouched period.\n  <\/p>\n\n  <div style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin:28px 0;\">\n    <div style=\"background:#fffaf0;border:1px solid #ecd49c;border-radius:18px;padding:28px;\">\n      <strong style=\"color:#a67319;\">Development Data<\/strong><br>\n      Used to build and refine the strategy.\n    <\/div>\n    <div style=\"background:#eef8f4;border:1px solid #cce4d8;border-radius:18px;padding:28px;\">\n      <strong style=\"color:#31785d;\">Out-of-Sample Data<\/strong><br>\n      Used later to test whether the rules still behave well on unseen history.\n    <\/div>\n  <\/div>\n\n  <!-- BAD RESULTS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    What If the Backtest Is Bad?\n  <\/h2>\n\n  <p style=\"margin:0 0 18px;\">\n    That is useful information.\n  <\/p>\n\n  <div style=\"background:#eef8f4;border-left:5px solid #4e9b78;border-radius:10px;padding:22px 25px;margin:28px 0;\">\n    <strong style=\"font-size:21px;color:#285c47;\">\n      Discovering that a strategy does not work in a spreadsheet is cheaper than discovering it after risking real capital.\n    <\/strong>\n  <\/div>\n\n  <p style=\"margin:0;\">\n    Review the data, identify specific weaknesses, create a documented Version 1.1 and test the new version separately.\n  <\/p>\n\n  <!-- COMMON MISTAKES -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 22px;font-weight:850;\">\n    Common Backtesting Mistakes\n  <\/h2>\n\n  <div style=\"display:grid;gap:14px;\">\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Looking at Future Candles<\/strong><br>\n      The outcome influences the historical decision.\n    <\/div>\n\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Cherry-Picking Winners<\/strong><br>\n      Only attractive examples are included.\n    <\/div>\n\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Changing Rules Mid-Test<\/strong><br>\n      Multiple strategy versions become mixed together.\n    <\/div>\n\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Ignoring Trading Costs<\/strong><br>\n      Marginal edges can disappear after realistic execution costs.\n    <\/div>\n\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Using Too Small a Sample<\/strong><br>\n      A handful of trades is treated as proof.\n    <\/div>\n\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Overfitting the Rules<\/strong><br>\n      The strategy becomes too perfectly designed for the historical sample.\n    <\/div>\n\n    <div style=\"border-left:4px solid #c88f2b;background:#f8fafc;padding:20px 22px;border-radius:8px;\">\n      <strong style=\"color:#0a2239;\">Ignoring Drawdown<\/strong><br>\n      Traders focus only on total return and overlook how difficult the strategy is to survive.\n    <\/div>\n  <\/div>\n\n  <!-- FRAMEWORK -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 18px;font-weight:850;\">\n    Complete Backtesting Framework\n  <\/h2>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;\">\n    <div style=\"margin-bottom:12px;\"><strong>1.<\/strong> Freeze the strategy rules.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>2.<\/strong> Choose a historical period.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>3.<\/strong> Hide future candles where possible.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>4.<\/strong> Move through data chronologically.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>5.<\/strong> Record every qualifying trade.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>6.<\/strong> Record results in R.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>7.<\/strong> Include realistic costs.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>8.<\/strong> Build a meaningful sample.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>9.<\/strong> Calculate win rate and average R.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>10.<\/strong> Calculate expectancy.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>11.<\/strong> Measure drawdown and losing streaks.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>12.<\/strong> Compare markets, sessions and setup types.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>13.<\/strong> Avoid overfitting.<\/div>\n    <div style=\"margin-bottom:12px;\"><strong>14.<\/strong> Test final rules on unseen historical data.<\/div>\n    <div><strong>15.<\/strong> Document any changes as a new strategy version.<\/div>\n  <\/div>\n\n  <!-- CTA -->\n  <div style=\"background:linear-gradient(135deg,#071625 0%,#0d2d49 100%);border-radius:22px;padding:38px;margin:48px 0;color:white;box-shadow:0 20px 50px rgba(8,29,49,.18);\">\n\n    <div style=\"font-size:13px;color:#e7ba60;font-weight:850;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:8px;\">\n      Test Before You Trust\n    <\/div>\n\n    <h2 style=\"font-size:34px;line-height:1.2;margin:0 0 14px;color:white;\">\n      Find Out What Your Strategy Really Looks Like Over 100 Trades\n    <\/h2>\n\n    <p style=\"font-size:18px;color:#d3dfe9;margin:0 0 24px;max-width:800px;\">\n      Financial Markets Academy offers live 1-on-1 mentorship for traders who want help developing rule-based strategies, testing them properly, reviewing statistics and building confidence from evidence instead of guesswork.\n    <\/p>\n\n    <a href=\"https:\/\/financialmarkets.academy\/\" style=\"display:inline-block;background:#d9a849;color:#081a2c;text-decoration:none;font-weight:850;padding:15px 25px;border-radius:9px;font-size:16px;\">\n      Reserve Your Seat \u2192\n    <\/a>\n\n  <\/div>\n\n  <!-- CHECKLIST -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 20px;font-weight:850;\">\n    Backtesting Checklist\n  <\/h2>\n\n  <div style=\"background:#f8fafc;border-radius:18px;padding:28px;border:1px solid #e1e7ec;\">\n    <div style=\"margin-bottom:10px;\">\u2713 Are the strategy rules frozen?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Am I hiding future candles?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Am I testing chronologically?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Am I recording every qualifying signal?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Am I recording losses honestly?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Are results measured in R?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Am I including realistic costs?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Is the sample large enough?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Have I measured maximum drawdown?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Have I measured losing streaks?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Have I calculated expectancy?<\/div>\n    <div style=\"margin-bottom:10px;\">\u2713 Am I overfitting historical data?<\/div>\n    <div>\u2713 Have I kept unseen data for validation?<\/div>\n  <\/div>\n\n  <!-- FAQ -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:52px 0 22px;font-weight:850;\">\n    Frequently Asked Questions\n  <\/h2>\n\n  <div style=\"display:grid;gap:15px;\">\n\n    <div style=\"border:1px solid #e1e7ec;border-radius:14px;padding:24px;\">\n      <h3 style=\"margin:0 0 10px;font-size:21px;color:#0a2239;\">What is backtesting in trading?<\/h3>\n      <p style=\"margin:0;\">\n        Backtesting is applying fixed strategy rules to historical market data and recording the hypothetical results to evaluate how the strategy behaved.\n      <\/p>\n    <\/div>\n\n    <div style=\"border:1px solid #e1e7ec;border-radius:14px;padding:24px;\">\n      <h3 style=\"margin:0 0 10px;font-size:21px;color:#0a2239;\">How many trades should I backtest?<\/h3>\n      <p style=\"margin:0;\">\n        There is no universal minimum, but larger samples such as 50\u2013100 or more trades generally provide more useful information than very small samples.\n      <\/p>\n    <\/div>\n\n    <div style=\"border:1px solid #e1e7ec;border-radius:14px;padding:24px;\">\n      <h3 style=\"margin:0 0 10px;font-size:21px;color:#0a2239;\">What is hindsight bias?<\/h3>\n      <p style=\"margin:0;\">\n        Hindsight bias occurs when knowledge of what happened later influences how you interpret an earlier historical setup.\n      <\/p>\n    <\/div>\n\n    <div style=\"border:1px solid #e1e7ec;border-radius:14px;padding:24px;\">\n      <h3 style=\"margin:0 0 10px;font-size:21px;color:#0a2239;\">Does a profitable backtest guarantee future profits?<\/h3>\n      <p style=\"margin:0;\">\n        No. Historical performance does not guarantee future results, and live execution conditions can differ from historical testing.\n      <\/p>\n    <\/div>\n\n    <div style=\"border:1px solid #e1e7ec;border-radius:14px;padding:24px;\">\n      <h3 style=\"margin:0 0 10px;font-size:21px;color:#0a2239;\">What is expectancy?<\/h3>\n      <p style=\"margin:0;\">\n        Expectancy estimates the average gain or loss per trade based on the strategy&#8217;s win rate, loss rate, average winner and average loser.\n      <\/p>\n    <\/div>\n\n    <div style=\"border:1px solid #e1e7ec;border-radius:14px;padding:24px;\">\n      <h3 style=\"margin:0 0 10px;font-size:21px;color:#0a2239;\">What should I do if my backtest loses money?<\/h3>\n      <p style=\"margin:0;\">\n        Review the data, identify specific weaknesses, document any changes as a new strategy version and test that version separately rather than changing rules trade by trade.\n      <\/p>\n    <\/div>\n\n  <\/div>\n\n  <!-- QUIZ -->\n  <div style=\"background:#071b2d;border-radius:22px;padding:36px;margin:52px 0;color:white;\">\n\n    <div style=\"color:#e5b75d;font-size:13px;text-transform:uppercase;font-weight:850;letter-spacing:1.5px;margin-bottom:6px;\">\n      Test Yourself\n    <\/div>\n\n    <h2 style=\"font-size:32px;margin:0 0 25px;color:white;\">\n      Module 7 \u00b7 Lesson 2 Knowledge Quiz\n    <\/h2>\n\n    <div style=\"margin-bottom:22px;\">\n      <strong>1. What should happen before a backtest begins?<\/strong>\n      <div style=\"color:#c9d5df;margin-top:8px;\">\n        A. Freeze the strategy rules<br>\n        B. Remove all losing setups<br>\n        C. Increase risk<br>\n        D. Look at future candles\n      <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom:22px;\">\n      <strong>2. What does bar replay help reduce?<\/strong>\n      <div style=\"color:#c9d5df;margin-top:8px;\">\n        A. Hindsight bias<br>\n        B. All losses<br>\n        C. Market volatility<br>\n        D. Commission\n      <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom:22px;\">\n      <strong>3. What should you record during backtesting?<\/strong>\n      <div style=\"color:#c9d5df;margin-top:8px;\">\n        A. Every qualifying trade<br>\n        B. Only winning trades<br>\n        C. Only perfect setups<br>\n        D. Only trades above 3R\n      <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom:22px;\">\n      <strong>4. Why is maximum drawdown important?<\/strong>\n      <div style=\"color:#c9d5df;margin-top:8px;\">\n        A. It shows how severe the strategy&#8217;s decline became during the sample<br>\n        B. It guarantees future recovery<br>\n        C. It measures spread<br>\n        D. It determines leverage\n      <\/div>\n    <\/div>\n\n    <div style=\"margin-bottom:22px;\">\n      <strong>5. What is overfitting?<\/strong>\n      <div style=\"color:#c9d5df;margin-top:8px;\">\n        A. Designing rules too specifically around historical results<br>\n        B. Using a stop loss<br>\n        C. Recording too many trades<br>\n        D. Trading multiple sessions\n      <\/div>\n    <\/div>\n\n    <div style=\"background:rgba(255,255,255,.07);padding:18px;border-radius:10px;color:#d9e3eb;\">\n      <strong style=\"color:#e5b75d;\">Answer Key:<\/strong> 1. A \u00b7 2. A \u00b7 3. A \u00b7 4. A \u00b7 5. A\n    <\/div>\n\n  <\/div>\n\n  <!-- TAKEAWAYS -->\n  <h2 style=\"font-size:34px;color:#0a2239;margin:50px 0 20px;font-weight:850;\">\n    Key Takeaways\n  <\/h2>\n\n  <div style=\"background:#f8fafc;border:1px solid #e1e7ec;border-radius:18px;padding:28px;margin-bottom:45px;\">\n    <div style=\"margin-bottom:11px;\">\u2713 Backtesting tests fixed strategy rules against historical data.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 The goal is discovery, not proving that your strategy is good.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Hindsight bias can make historical charts look easier than they were.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Bar replay helps simulate real-time decision-making.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Every qualifying trade should be recorded.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Larger samples provide more useful evidence.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Win rate alone does not determine profitability.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Expectancy combines win probability with average gain and loss.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Maximum drawdown and losing streaks matter as much as total profit.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Historical trading costs should be modeled realistically.<\/div>\n    <div style=\"margin-bottom:11px;\">\u2713 Avoid optimizing rules around every historical loser.<\/div>\n    <div>\u2713 A profitable backtest should still be followed by validation and forward testing.<\/div>\n  <\/div>\n\n  <!-- NEXT -->\n  <div style=\"border:1px solid #d8e0e6;border-radius:20px;padding:32px;background:#ffffff;box-shadow:0 10px 30px rgba(10,34,57,.06);\">\n\n    <div style=\"font-size:13px;color:#b77f20;text-transform:uppercase;letter-spacing:1.4px;font-weight:850;margin-bottom:7px;\">\n      Coming Next\n    <\/div>\n\n    <h2 style=\"font-size:30px;color:#0a2239;margin:0 0 13px;\">\n      Lesson 3: Trading Strategy Statistics \u2014 Win Rate, Expectancy, Profit Factor &amp; Drawdown\n    <\/h2>\n\n    <p style=\"margin:0 0 20px;color:#465367;\">\n      Next, we go deeper into the numbers that determine whether a strategy actually has an edge. You\u2019ll learn how to calculate and interpret expectancy, break-even win rate, profit factor, average R, drawdown, losing streaks and why a high win rate does not automatically mean a better strategy.\n    <\/p>\n\n    <div style=\"font-weight:800;color:#0a2239;\">\n      Learn How to Measure Your Strategy \u2192\n    <\/div>\n\n  <\/div>\n\n  <!-- DISCLAIMER -->\n  <div style=\"margin-top:35px;padding-top:22px;border-top:1px solid #e0e6eb;font-size:13px;color:#748091;line-height:1.6;\">\n    Financial Markets Academy provides educational information only. Nothing in this lesson constitutes financial or investment advice or a guarantee of trading performance. Trading leveraged financial markets involves substantial risk and may not be suitable for everyone.\n  <\/div>\n\n<\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if&hellip;<\/p>\n","protected":false},"author":1,"featured_media":18556,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[45],"tags":[],"class_list":["post-18551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-module-7"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Academy of Financial Markets\"\/>\n\t<meta name=\"google-site-verification\" content=\"oT9hvCZr4ki7oWc0cxHDvh9OO8wu49z5QhA2sEgPTJg\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Academy of Financial Markets -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets\" \/>\n\t\t<meta property=\"og:description\" content=\"Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2025\/03\/favicon.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2025\/03\/favicon.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-08-16T13:24:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-08-16T13:33:49+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2025\/03\/favicon.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#blogposting\",\"name\":\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets\",\"headline\":\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work\",\"author\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/author\\\/weblets\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Backtesting-a-trading-strategy.png\",\"width\":1491,\"height\":1055,\"caption\":\"Backtesting a trading strategy\"},\"datePublished\":\"2026-08-16T13:24:41-04:00\",\"dateModified\":\"2026-08-16T13:33:49-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#webpage\"},\"articleSection\":\"Module 7 \\u2014 Your Live Trading Plan\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/category\\\/module-7\\\/#listItem\",\"name\":\"Module 7 \\u2014 Your Live Trading Plan\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/category\\\/module-7\\\/#listItem\",\"position\":2,\"name\":\"Module 7 \\u2014 Your Live Trading Plan\",\"item\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/category\\\/module-7\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#listItem\",\"name\":\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#listItem\",\"position\":3,\"name\":\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/category\\\/module-7\\\/#listItem\",\"name\":\"Module 7 \\u2014 Your Live Trading Plan\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/#organization\",\"name\":\"Academy of Financial Markets\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/\",\"telephone\":\"+18005383856\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/Academy-of-Financial-Markets.png\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/author\\\/weblets\\\/#author\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/author\\\/weblets\\\/\",\"name\":\"Academy of Financial Markets\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#authorImage\",\"url\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/a\\\/ACg8ocLq_6KrN2QwT7Cj1XDUsb9qrzSBQ0-p40WJf3uPtokfLhWUjiiw=s96-c\",\"width\":96,\"height\":96,\"caption\":\"Academy of Financial Markets\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#webpage\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/\",\"name\":\"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets\",\"description\":\"Module 7 \\u00b7 Building & Testing a Complete Trading Strategy \\u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/author\\\/weblets\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/author\\\/weblets\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/Backtesting-a-trading-strategy.png\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#mainImage\",\"width\":1491,\"height\":1055,\"caption\":\"Backtesting a trading strategy\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\\\/#mainImage\"},\"datePublished\":\"2026-08-16T13:24:41-04:00\",\"dateModified\":\"2026-08-16T13:33:49-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/#website\",\"url\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/\",\"name\":\"Academy of Financial Markets\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/financialmarkets.academy\\\/academy\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets","description":"Module 7 \u00b7 Building & Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup","canonical_url":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"oT9hvCZr4ki7oWc0cxHDvh9OO8wu49z5QhA2sEgPTJg","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#blogposting","name":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets","headline":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work","author":{"@id":"https:\/\/financialmarkets.academy\/academy\/author\/weblets\/#author"},"publisher":{"@id":"https:\/\/financialmarkets.academy\/academy\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/financialmarkets.academy\/academy\/wp-content\/uploads\/2026\/08\/Backtesting-a-trading-strategy.png","width":1491,"height":1055,"caption":"Backtesting a trading strategy"},"datePublished":"2026-08-16T13:24:41-04:00","dateModified":"2026-08-16T13:33:49-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#webpage"},"isPartOf":{"@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#webpage"},"articleSection":"Module 7 \u2014 Your Live Trading Plan"},{"@type":"BreadcrumbList","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy#listItem","position":1,"name":"Home","item":"https:\/\/financialmarkets.academy\/academy","nextItem":{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy\/category\/module-7\/#listItem","name":"Module 7 \u2014 Your Live Trading Plan"}},{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy\/category\/module-7\/#listItem","position":2,"name":"Module 7 \u2014 Your Live Trading Plan","item":"https:\/\/financialmarkets.academy\/academy\/category\/module-7\/","nextItem":{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#listItem","name":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work"},"previousItem":{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#listItem","position":3,"name":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work","previousItem":{"@type":"ListItem","@id":"https:\/\/financialmarkets.academy\/academy\/category\/module-7\/#listItem","name":"Module 7 \u2014 Your Live Trading Plan"}}]},{"@type":"Organization","@id":"https:\/\/financialmarkets.academy\/academy\/#organization","name":"Academy of Financial Markets","url":"https:\/\/financialmarkets.academy\/academy\/","telephone":"+18005383856","logo":{"@type":"ImageObject","url":"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2024\/09\/Academy-of-Financial-Markets.png","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#organizationLogo"},"image":{"@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/financialmarkets.academy\/academy\/author\/weblets\/#author","url":"https:\/\/financialmarkets.academy\/academy\/author\/weblets\/","name":"Academy of Financial Markets","image":{"@type":"ImageObject","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#authorImage","url":"https:\/\/lh3.googleusercontent.com\/a\/ACg8ocLq_6KrN2QwT7Cj1XDUsb9qrzSBQ0-p40WJf3uPtokfLhWUjiiw=s96-c","width":96,"height":96,"caption":"Academy of Financial Markets"}},{"@type":"WebPage","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#webpage","url":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/","name":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets","description":"Module 7 \u00b7 Building & Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/financialmarkets.academy\/academy\/#website"},"breadcrumb":{"@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#breadcrumblist"},"author":{"@id":"https:\/\/financialmarkets.academy\/academy\/author\/weblets\/#author"},"creator":{"@id":"https:\/\/financialmarkets.academy\/academy\/author\/weblets\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/financialmarkets.academy\/academy\/wp-content\/uploads\/2026\/08\/Backtesting-a-trading-strategy.png","@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#mainImage","width":1491,"height":1055,"caption":"Backtesting a trading strategy"},"primaryImageOfPage":{"@id":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/#mainImage"},"datePublished":"2026-08-16T13:24:41-04:00","dateModified":"2026-08-16T13:33:49-04:00"},{"@type":"WebSite","@id":"https:\/\/financialmarkets.academy\/academy\/#website","url":"https:\/\/financialmarkets.academy\/academy\/","name":"Academy of Financial Markets","inLanguage":"en-US","publisher":{"@id":"https:\/\/financialmarkets.academy\/academy\/#organization"}}]},"og:locale":"en_US","og:site_name":"Academy of Financial Markets -","og:type":"article","og:title":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets","og:description":"Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup","og:url":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/","og:image":"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2025\/03\/favicon.png","og:image:secure_url":"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2025\/03\/favicon.png","article:published_time":"2026-08-16T13:24:41+00:00","article:modified_time":"2026-08-16T13:33:49+00:00","twitter:card":"summary_large_image","twitter:title":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work - Academy of Financial Markets","twitter:description":"Module 7 \u00b7 Building &amp; Testing a Complete Trading Strategy \u00b7 Lesson 2 Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work Learn how to test a rule-based trading strategy against historical price action, avoid hindsight bias, build a meaningful sample and collect the statistics needed to determine whether your setup","twitter:image":"https:\/\/financialmarkets.academy\/wp-content\/uploads\/2025\/03\/favicon.png"},"aioseo_meta_data":{"post_id":"18551","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-08-16 13:24:41","updated":"2026-08-16 14:17:45","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/financialmarkets.academy\/academy\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/financialmarkets.academy\/academy\/category\/module-7\/\" title=\"Module 7 \u2014 Your Live Trading Plan\">Module 7 \u2014 Your Live Trading Plan<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBacktesting a Trading Strategy: How to Find Out if Your Rules Actually Work\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/financialmarkets.academy\/academy"},{"label":"Module 7 \u2014 Your Live Trading Plan","link":"https:\/\/financialmarkets.academy\/academy\/category\/module-7\/"},{"label":"Backtesting a Trading Strategy: How to Find Out if Your Rules Actually Work","link":"https:\/\/financialmarkets.academy\/academy\/backtesting-a-trading-strategy-how-to-find-out-if-your-rules-actually-work\/"}],"_links":{"self":[{"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/posts\/18551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/comments?post=18551"}],"version-history":[{"count":4,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/posts\/18551\/revisions"}],"predecessor-version":[{"id":18555,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/posts\/18551\/revisions\/18555"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/media\/18556"}],"wp:attachment":[{"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/media?parent=18551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/categories?post=18551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/financialmarkets.academy\/academy\/wp-json\/wp\/v2\/tags?post=18551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}