How to Walk-Forward Test an EA Before You Risk a Prop-Firm Evaluation Fee
A step-by-step guide to in-sample and out-of-sample testing, anchored and rolling windows, walk-forward efficiency, Monte Carlo and parameter sensitivity, with a short checklist.
Read the guide →Monte Carlo Testing a Trading Strategy: How to Read the Drawdown Tail
Reshuffling vs resampling, a Python Monte Carlo you can run on your own trade list, and how to read percentile drawdowns and breach probabilities, plus the method's limits.
Read the guide →How to Spot an Overfit Backtest: 10 Warning Signs Before You Trust an EA
Ten warning signs of curve-fitting, each with a quick test: parameter cliffs, in-sample to out-of-sample decay, hindsight filters, top-trade dependence and more.
Read the guide →Out-of-Sample Testing for EAs: How to Hold Data Back So It Actually Means Something
How to split your data, keep a final holdout clean, use MT5's Forward setting without optimizing on it, and put a range around an out-of-sample result.
Read the guide →How to Test an EA Against Prop-Firm Drawdown Rules Before You Start a Challenge
Why a backtest's drawdown figure is the wrong number, and how to replay daily and maximum loss rules against your EA's equity history, then stress them with Monte Carlo.
Read the guide →Why an EA Trades Worse Live Than in Its Backtest: Spreads, Slippage and Execution
Why an EA trades worse live than in its backtest: spreads, commission, slippage, execution delay and broker differences, plus how to stress-test the gap.
Read the guide →AI-Generated EAs: How to Validate Code an AI Assistant Wrote
AI coding assistants can write an MT5 EA in minutes. Here is how to check that the code does what you meant, trades safely and holds up beyond one backtest.
Read the guide →Python vs MT5 Backtesting: Why the Same Strategy Gives Different Results
The same strategy backtested in Python and MT5 often gives different results. Here are the usual causes, and how to reconcile the two trade by trade.
Read the guide →MT5 Backtest Data Quality: Tick Modelling, History Gaps and Broker Data
How MT5's modelling modes work, what history quality means, and how to check your data for gaps, spikes and broker differences before trusting a backtest.
Read the guide →Look-Ahead Bias and Other Code Bugs That Make EA Backtests Lie
Look-ahead bias, repainting indicators and timeframe leaks can make an EA backtest look far better than reality. How to spot each one and test for it.
Read the guide →How to Read an MT5 Strategy Tester Report, Metric by Metric
What each MT5 Strategy Tester report metric means: drawdown types, recovery factor, Z-score, AHPR/GHPR, LR correlation, MFE/MAE, and the order to read them in.
Read the guide →Position Sizing for an EA Under a Daily Loss Limit: Lot Size, Open Risk and a Daily Guard
How to size EA positions under a prop-firm daily loss limit: lot-size maths in MQL5, open-risk budgets, correlated positions and an in-EA daily guard.
Read the guide →How Many Trades Does a Backtest Need? Sample Size and Statistical Significance for EAs
How many trades a backtest needs: standard error, t-statistics, win-rate ranges, multiple testing and why the answer depends on your edge's size and noise.
Read the guide →Market Regime Testing for EAs: Does Your Strategy Only Work in One Kind of Market?
How to test whether an EA only works in one kind of market: label trades by trend and volatility regime, compare results, and avoid overfitting regime filters.
Read the guide →EA Pre-Live Checklist: What to Check Before You Run an Expert Advisor Live
A step-by-step EA pre-live checklist: validation evidence, code and broker checks, risk controls, VPS setup, demo incubation and the stop rules to set in advance.
Read the guide →Cross-Market Testing for EAs: Should Your Strategy Work on Other Symbols and Timeframes?
How to retest a finished EA on other symbols, timeframes and data sources: choosing test markets in advance, converting parameters into volatility units, keeping them frozen and reading the whole table.
Read the guide →Parameter Sensitivity for EAs: How to Tell a Robust Plateau from a Fragile Peak
Sweep ranges and step sizes, one-dimensional sweeps and two-dimensional heatmaps, a Python neighbourhood score, and how to choose parameter values from the centre of a plateau.
Read the guide →Running Several EAs Together: Correlation and Combined Drawdown in a Small Portfolio
How to test EAs as a group: aligned daily equity series, bad-day correlation, hidden shared exposure, combined drawdown in Python and Monte Carlo that keeps the correlation.
Read the guide →Drawdown Metrics Explained: Maximum vs Relative, Balance vs Equity
Maximum, relative, balance and equity drawdown measure different things. Learn what each one means and which one a funded-challenge daily loss limit watches.
Read the guide →Weekend Gaps, Swaps and News Spikes: What EA Backtests Miss
Weekend gaps, swap and rollover, and news spikes are rare in a trade list but decide the worst days. How to find and test the event risk an EA backtest misses.
Read the guide →EA Slippage and Latency: How to Measure Live Execution and Choose Where Your EA Runs
Log every order your EA sends, measure slippage and round-trip time by order type, test delay sensitivity in MT5, and choose a VPS by measurement rather than marketing.
Read the guide →MT5 Custom Symbols: Where Backtest Data Comes From and How to Build Tick History You Can Trust
Where backtest price data comes from, how to align time zones and daylight saving, splice two feeds without hiding the join, and verify a custom symbol against your broker's.
Read the guide →How to Stress-Test a Mean-Reversion EA: Regimes, Stops vs Averaging, and the Tail
Mean-reversion EAs win often and lose rarely but large. How to test the break-even win rate, stop placement, averaging exposure, trending shocks and clustered losses.
Read the guide →How to Test a Breakout EA: False Breakouts, Entry Methods and Spread Spikes
Breakout EAs fail at the break itself. Learn to measure the false-breakout rate, compare stop and close entries, test session filters and model spread spikes.
Read the guide →Is My EA Broken? How to Tell Normal Drawdown from a Decayed Edge After Going Live
After an EA goes live, how do you tell a normal drawdown from a broken edge? Compare live trades with the backtest, use Monte Carlo bands and a written rule.
Read the guide →MT5 Custom Optimization Criterion: Choosing What the Optimizer Ranks By
Choose what the MT5 optimizer ranks by: why built-in criteria get gamed, an OnTester score with trade-count and drawdown guards, and a check on new data.
Read the guide →How to Test an EA's Entries and Exits Separately: Fixed-Horizon Exits and Random-Entry Benchmarks
A backtest judges entry and exit together. Test each alone: fixed-horizon exits for entries, random-entry benchmarks, and what an exit can and can't do.
Read the guide →Reproducible EA Backtests: Version Control, Run Logs and Regression Tests After Every Change
Why the same EA backtest can give different results, what to record with each run, and how to diff trade lists so a code change only does what you meant.
Read the guide →Noise Testing an EA: Does the Edge Survive Slightly Different Price Data?
A backtest runs on one version of price history. Learn to noise-test an EA: perturb prices, shift bar start times, and compare the results across many copies.
Read the guide →Data-Mining Bias: Is the Best of 10,000 Generated Strategies Any Good?
Strategy builders test thousands of candidates, so the winner looks better than it is. Measure data-mining bias by running your pipeline on no-edge data.
Read the guide →Equity-Curve Stability Metrics for EAs: R-Squared, the Ulcer Index and Time Under Water
Max drawdown is one point on the curve. Measure EA equity-curve stability with R-squared, the Ulcer index, time under water and sub-period consistency.
Read the guide →Hour-of-Day and Day-of-Week Filters for EAs: How to Tell a Real Pattern From a Curve Fit
Dropping the worst hours or weekdays makes almost any backtest look better. Test EA time filters with server time, trade counts, permutation and OOS checks.
Read the guide →EA Restarts and Order Errors: How to Make an MT5 EA Recover Its State, and How to Test It
The tester never restarts your EA or rejects its orders. Make an MT5 EA rebuild its state after a restart, handle trade retcodes, and test it with faults.
Read the guide →Comparing Position-Sizing Models for an EA: Same Trades, Different Risk
Fixed lots, fixed cash risk, fixed fractional or volatility-scaled? Replay one frozen EA trade list under each sizing model and compare their drawdowns.
Read the guide →How to Write an EA Strategy Specification Someone Else Could Rebuild
The code is not the spec. How to write an EA strategy specification precise enough that a second developer could rebuild it and get the same trades from it.
Read the guide →