
After this lecture you know what you bought and what you did not.
Kit files: configs_gross_net.csv.
The course kit. Download Kit.zip from lesson 0.2 (the same file is attached to lesson 9.1). It holds the real trade records and data of the system the course checks, plus small Python scripts that recompute each result. Every number spoken in the lessons comes from a file in the kit, and the lesson names that file.
Start with lesson 0.2: install Python with pandas, numpy and matplotlib, then run check_setup.py. It prints six numbers; if they match the lesson, everything else will run. README.md lists every file with the lessons that use it. You can follow the course without running anything: the kit is there to check the numbers yourself or to repeat the tests on your own trades.
After this lecture every number in the course reproduces on your machine, and you know what to do when one of them does not.
Kit files: check_setup.py, trades_channel_fade.csv.
After this lecture you can describe any strategy — yours or somebody else’s — in three numbers, and you know what each one hides.
Kit files: trades_channel_fade.csv, ablation_summary.csv, months_live.csv.
After this lecture you can name which of the three you are looking at, and you know the one-line test for each.
Kit files: configs_gross_net.csv, grid_channel_fade.csv.
Case study. After this lecture you have watched a result pass the test everyone trusts, and you know what that test does not cover.
Kit files: leak_hours.json, minutes_by_fold.csv.
Case study. After this lecture you can audit any data preparation for the same mistake, and you know what the honest version of that effect was worth.
Kit files: leak_hours.json, minutes_by_fold.csv.
After this lecture you can run the delay test properly, read its shape, and use it on somebody else’s result as well as your own.
Kit files: ablation_delay.csv, delay_test.py.
Practice assignment. After this lecture you have found a real leak yourself, in code you did not write, measured what it was worth, and seen which test does not catch it.
Kit files: leak_exercise.py, trades_eurusd_minutes.csv, leak_hours.json.
A twenty-second request before Module 2: if the course has been useful so far, an honest rating helps other traders find it.
After this lecture you can write down the floor cost of one trade in your system before you have tested anything.
Kit files: configs_gross_net.csv, cost_sheet.csv.
Case study. After this lecture you can measure the delay cost on your own fills, and you know why an average cannot represent it.
Kit files: fills_latency.csv.
Case study. After this lecture you can price the holding time of your own system, and you know the two ways this cost gets miscounted.
Kit files: swap_trades.csv, swap_cells.csv.
After this lecture you can measure the spread you actually pay, and you know why the published average is the wrong number.
Kit files: spread_by_hour.csv, spread_at_fill.csv.
Case study. After this lecture you can test your own system at a different scale and read the two things that change when you do.
Kit files: scale_targets.csv.
Practice assignment. After this lecture you have a filled, dated cost sheet for your own trading, and you know whether the arithmetic has already decided.
Kit files: cost_sheet.csv, cost_sheet_example.csv, costs.py, trades_channel_fade.csv, spread_at_fill.csv.
Case study. After this lecture you can price the exit before you build the grid, and you know what a real signal looks like when it is unreachable at the size you chose.
Kit files: ema_fade_cells.csv.
After this lecture you can compute your break-even win rate in thirty seconds, on paper, for any strategy with a history.
Kit files: trades_channel_fade.csv, breakeven.py.
Case study. After this lecture you can read a whole grid of settings instead of its best cell, and you know what a uniformly negative grid tells you.
Kit files: grid_channel_fade.csv.
Case study. After this lecture you can tell when a filter is improving the number you are watching and damaging the number that decides.
Kit files: grid_channel_fade.csv.
Practice assignment. After this lecture you have your own strategy plotted against the line it has to beat, every filter you use plotted with it, and the concentration check done.
Kit files: breakeven.py, trades_channel_fade.csv, grid_channel_fade.csv.
After this lecture you know the three assumptions a standard test makes that trading data breaks, and why the fix is shuffling rather than a better formula.
Kit files: months_live.csv.
After this lecture you can pick the right shuffle for the claim you are testing, and you know what must be held fixed while you do it.
Kit files: shuffle.py, random_entries.csv, grid_channel_fade.csv.
After this lecture you can tell a result that beats chance from a result that a random label would also have produced, and you correct for how much you looked.
Kit files: shuffle.py, swap_cells.csv.
Case study. After this lecture you have watched a rule pass the headline test and fail the decomposition, and you can run the same sequence on your own candidate.
Kit files: swap_cells.csv, swap_trades.csv.
Case study. After this lecture you can distinguish "unlikely to be chance" from "I know what this is", and you have a rule for what to do when you cannot.
Kit files: trades_hours_tune_test.csv, spread_by_hour.csv, shuffle.py.
Practice assignment. After this lecture you have shuffled one of your own selections a thousand times and reported all four numbers honestly, including the one that fails.
Kit files: shuffle.py, trades_hours_tune_test.csv, hours_profile.csv.
Case study. After this lecture you test whether a feature ranks outcomes on data it has not seen, rather than whether it correlates with something.
Kit files: fill_features_split.csv.
After this lecture you can design a fair component test, including the part that makes it hard: comparing versions that trade at different rates.
Kit files: ablation_summary.csv, ablate.py.
Case study. After this lecture you can tell the difference between a system that reacts to an event and a system that estimates a direction, and you know why the second kind kept failing.
Kit files: ablation_summary.csv.
Case study. After this lecture you compare against random rather than against zero, and you know what a per-instrument breakdown of that comparison hides.
Kit files: random_entries.csv, random_entries_portfolio.csv, random_entry.py.
Case study. After this lecture you check your controls with the same suspicion as your strategy, and you can spot a comparison between two different mechanisms.
Kit files: ablation_summary.csv, ablation_delay.csv, ablation_exposure.csv, delay_test.py.
Practice assignment. After this lecture you have a ranked list of your own components by how much damage their removal does, with the fairness checks recorded, and you know which one to protect.
Kit files: ablate.py, ablation_summary.csv, ablation_exposure.csv.
Case study. After this lecture you check that your label is the money before you spend a month predicting the label.
Kit files: w0_horizons.csv.
After this lecture you can state which of the two claims a piece of evidence supports, and you know the three ways of splitting data to test the second.
Kit files: months_live.csv, hours_by_month.csv.
Case study. After this lecture you test the content of a selection and not only its effect, and you can measure how much of a selection is a stable core.
Kit files: hours_by_month.csv, minutes_by_fold.csv.
After this lecture you judge a setting by how it does everywhere you tried it, not by its best cell, and you can spot a plateau against a spike.
Kit files: grid_channel_fade.csv, pairs_tuned_vs_shared.csv.
Case study. After this lecture you can run the shared-versus-tuned comparison on your own system and read what it means when tuning loses.
Kit files: pairs_tuned_vs_shared.csv.
Practice assignment. After this lecture you have a stability table for your own selection, a measured core, and a decision written in one sentence.
Kit files: repeat.py, hours_by_month.csv, minutes_by_fold.csv, shuffle.py.
Case study. After this lecture you judge a setting by how many markets it works on, not by how good its best cell is, and you can spot a grid whose winners are its thinnest cells.
Kit files: breakout_cells.csv.
After this lecture you can list the defects your pipeline already catches and the one class it does not.
Kit files: ticks_build.csv.gz, ticks_validate.csv.gz, data_checks.py.
Case study. After this lecture you can measure how much of your result depends on a suspect subset of your data, and you know why that share is not the share of bad data.
Kit files: sawtooth.json, trades_production.csv, data_checks.py.
Case study. After this lecture you test your explanation of a defect as hard as you test the strategy, and you can live with an unexplained result without inventing a story for it.
Kit files: sawtooth.json, delay_test.py.
Practice assignment. After this lecture you have built a detector, watched it fail validation, measured your own exposure to suspect data, and can say in one sentence what the rule was really keying on.
Kit files: ticks_build.csv.gz, ticks_validate.csv.gz, data_checks.py, trades_production.csv.
After this lecture you have a reconciliation that compares fills rather than profit, and you know what each kind of divergence means.
Kit files: reconcile.py, fills_model_synthetic.csv, fills_account_synthetic.csv.
Case study. After this lecture you can split a real loss into the part you caused and the part you did not, and you know why the second part must be left alone.
Kit files: months_live.csv.
After this lecture you can run a monthly consistency check and read it without turning it into a significance test it cannot support.
Kit files: months_live.csv.
After this lecture you have a written protocol with the numbers that would make you stop, and you know why writing them afterwards does not work.
Kit files: protocol_template.md.
Practice assignment. After this lecture you have a reconciliation you have actually run, a one-page protocol with real numbers in it, and somebody else has tested the protocol against three situations.
Kit files: reconcile.py, fills_model_synthetic.csv, fills_account_synthetic.csv, protocol_template.md.
After this lecture you have the nine checks in order, with the file and the module behind each one.
Kit files: checklist.md.
After this lecture you can order the checks for your own situation and know when the standard order is wrong.
Kit files: checklist.md.
After this lecture you know what a surviving idea actually looks like, and why the size of a claimed edge is evidence against it.
Kit files: configs_gross_net.csv, families_gross_net.csv.
This course contains the use of artificial intelligence.
A backtesting course about overfitting, look-ahead bias and real trading costs. Whether you test forex trading strategies by hand, run a forex robot EA, or build an MT5 expert advisor or a Python trading system, this course shows you how to check a backtest before it reaches your account: Monte Carlo permutation tests, out-of-sample and walk-forward checks, ablation, and the costs most backtests leave out. It is not a course about fitting a strategy to history. It is about the opposite: catching a fit before you trade it.
This is not general theory either. It is twenty years of my own automated trading: the ideas I tested, the settings I tuned, the backtests that looked great and then failed with real money, and the checks I built afterwards so it would stop happening. In 2007 my expert advisor Pegas took third place worldwide in the MetaQuotes Automated Trading Championship. Since then almost everything I have learned came from my own mistakes, and every one of them in this course comes with the trade record behind it.
Almost every trading idea can be made to look profitable on past data. Try enough settings, add a filter for the bad hours, drop the instrument that lost, and the backtest improves every time. What improves is the fit to the past, not the strategy. The best setting from a parameter search is usually the luckiest one, and a live account is where that luck runs out.
There is no strategy in this course: no settings, no signals, no indicator to switch on tomorrow morning. What it teaches is how to find out that a result is a fit, or that an idea is wrong, quickly, while it is still costing you time instead of money. You will count how many variants you really tried, compare your result with what shuffled data produces, check whether the selection repeats in other periods and on other instruments, and look for information from the future hidden in the calculation.
Here is why that is worth a course. I went back through every idea I have tested where I still have the trade-by-trade record: fourteen families of ideas, 1,584 configurations. 394 of them were profitable on paper. After what a trade actually costs, 209 of those 394 were losing, 53% of everything that worked. 185 survived, roughly one in eight.
That is the hit rate of somebody who does this carefully and full time. This course is the set of checks that tells the one from the seven, and the order to run them in, cheapest first.
In this course you will:
Who this course is for. Forex traders and algorithmic traders who backtest their own trading strategies in Python, MetaTrader 5 or a spreadsheet. Developers of forex robots and MT5 or MQL5 expert advisors who want to know whether a good backtest will survive live trading. Anyone who is about to trust a bought forex EA, trading bot or signal service with real money. The checks work for any market; the examples come from real forex trading records.
Real records, not examples. Most of what you will see failed, and that is deliberate. Successes are the easiest part of a trading record to fake and the hardest to check. When a lecture says forty settings of a well-known idea all lost money, you open the file and count them yourself. Every number spoken in the course has a file behind it and the lecture names it. Three numbers come from my working journal instead, and those lectures say so out loud.
What is included:
How the course is made. The research, the data, the scripts and the lecture content are my own. The narration uses an AI clone of my voice, and AI tools helped with editing, translation of the subtitles and code review. Every script, number and slide was checked against the files in the kit.
Disclaimer. This course is educational. Nothing in it is financial or investment advice, a recommendation to buy or sell any instrument, or a promise of any result. Trading carries a substantial risk of loss. Results shown in the course, including the profitable ones, do not predict future results.