Skip to main content

Backtesting Setup

Running a backtest lets you evaluate Banana EA MT5's historical performance on your chosen pair, timeframe, and settings before risking real capital.

Opening the Strategy Tester

In MetaTrader 5 go to View → Strategy Tester (or press Ctrl+R).

Tester settings

FieldRecommended value
Expert AdvisorBananaEA Auto
SymbolYour chosen pair (e.g. EURUSD)
TimeframeYour target timeframe (e.g. M15 or H1)
ModellingEvery tick based on real ticks (most accurate)
Date rangeAt least 1–2 years for reliable statistics
DepositYour intended starting balance
Visual modeOff for speed, On to watch execution bar by bar

Configuring inputs

Click Settings in the Strategy Tester, then open the Inputs tab. Set the same values you intend to use live. Key inputs to check:

  • License Key — not required for backtesting (tester mode is detected automatically)
  • Risk Value — use the same % you plan to use live
  • Session times — verify they match your broker's historical data time offset
  • Historical Signal Depth — set MaxBarsToPlot = 0 to disable chart arrow drawing in tester mode; it slows the run significantly

Data quality

MT5 needs tick data for the symbol and timeframe you are testing, plus Daily data for the Daily Range Filter. To download tick history:

  1. Open a chart for the pair.
  2. Go to Tools → History Center (or the Data tab in Strategy Tester).
  3. Select the symbol and click Download.

MT5 downloads tick data from your broker's server. Coverage varies by broker. For longer or more accurate history, third-party tick data providers can be imported via the History Center.

Running the test

Click Start. When complete, review the Results and Report tabs.

Comparing runs

Use Optimization Set Name to label each run. The name appears on the dashboard when the EA is running live, making it easy to track which parameter set you are trading.

Interpreting results

MetricWhat to look for
Profit Factor> 1.5 is a reasonable starting target
Max Drawdown %Should be well within your broker/prop-firm limits
Total Trades< 50 trades gives unreliable statistics
Win RateSecondary to profit factor; 40–50% win rate with good R:R is typical

A single backtest on one pair and one date range is not sufficient validation. Run across multiple pairs, multiple years, and both trending and ranging market regimes before going live.