Panshi Panshi Quant
Panshi Quant · Research Ledger
ARTICLES / Knowledge Articles

How to read an MT5 gold EA backtest: look beyond net profit

To evaluate a gold EA backtest in MT5, first check whether the run can be reproduced and whether the account could withstand its worst periods. Net profit comes later. Record the test dates, price data, execution costs, maximum equity drawdown, margin use and how parameters were selected.

Reviewed 23 November 2026. This is an evaluation method, not a performance claim for a Panshi product.

What information should an XAUUSD EA backtest disclose?

Keep the EA version and settings file, symbol and broker data source, timeframe, start and end dates, initial deposit, leverage, modelling mode and trading costs. Contract specifications, spreads, commissions and swaps vary by broker. Without these inputs, another trader cannot repeat the test under comparable conditions.

  • Data and mode: State whether the run used real ticks, generated ticks or 1-minute OHLC, and note gaps in the available history.
  • Execution and costs: Record spreads, commissions, swaps and how pending orders and stops were modelled. A historical average is not a guaranteed slippage value for every future order.
  • Version and settings: Keep the EX5 version, parameter set and complete report. If settings were optimized, identify the period used to choose them.

MetaQuotes explains the modes and forward testing in its MT5 Strategy Tester documentation. Recheck the available options against your terminal version and broker data.

Are real ticks always more reliable than 1-minute OHLC?

Real ticks show a finer historical price path, but the result still depends on data quality and coverage. If entries, stops or pending orders depend on which price was reached first within a minute, an OHLC test may miss important differences. Run the same settings in both modes and compare the trade count, equity drawdown and fills.

Why compare equity drawdown with balance drawdown?

Balance changes when trades close; equity also reflects open profit and loss. An EA that holds trades or increases position size can show a relatively smooth balance while carrying substantial floating losses and margin pressure. Inspect maximum equity drawdown, the lowest margin level, largest position and worst losing sequence together.

For products with scaling rules, examine the actual level and exposure reached. Nilong reverses and scales after losses, while Yulong uses a position-size chain. A maximum level does not cap the loss on an open trade.

How do you test settings outside the optimization sample?

Select settings using one historical period, then run those unchanged settings on a later period that was not used in selection. Compare trade counts, equity drawdown and sensitivity to costs. If each new period requires a substantially different setting, the original result provides weak evidence of stability. MT5 forward testing can help, but passing it cannot guarantee future returns.

How should costs and margin be stress-tested?

Within plausible broker conditions, raise the spread and commission assumptions and check whether the outcome changes materially. Compare simulated execution records during fast markets. Test the largest position under lower leverage or higher margin requirements. A historical report cannot reproduce future liquidity; see the separate guide to XAUUSD spreads and slippage.

Which six checks should come before net profit?

  1. Can you reproduce the EA version, settings and test period?
  2. Does the price history and modelling mode suit the order rules?
  3. Are spreads, commissions and swaps accounted for?
  4. What were the maximum equity drawdown, lowest margin level and largest position?
  5. How many trades occurred, and how were gains, losses and holding times distributed?
  6. Did the settings behave similarly out of sample and on a demo account?

When comparing products, review the four MT5 product profiles and the risk disclosure. This guide is a method for reviewing evidence, not investment advice.

CONNECTING · Fetching quotesXAUUSD -- XAGUSD -- EURUSD -- GBPUSD -- USDJPY -- BTCUSDT -- ETHUSDT -- SOLUSDT -- CONNECTING · Fetching quotesXAUUSD -- XAGUSD -- EURUSD -- GBPUSD -- USDJPY -- BTCUSDT -- ETHUSDT -- SOLUSDT --
PSMT5