Back to blog
Risk9 min read

How to configure an Expert Advisor on a funded account: step-by-step guide

Using an EA in a prop firm challenge is not the same as using it on a personal account. Daily drawdown, news filter, lot sizes, trading hours — every parameter matters. This is the exact configuration to avoid losing the account.

You have a tested EA and want to use it in an FTMO, MyForexFunds, E8 or any other prop firm challenge. The most common mistake: loading the same configuration you use on your personal account and expecting it to work. Funded account rules change everything. Here is the complete process.

Step 1: read the firm's rules before touching anything

Before opening MetaTrader, read the firm's terms line by line. The most common restrictions that invalidate accounts:

  • Maximum daily drawdown. Usually 4–5% of balance. If your EA has days with 3% intraday drawdown, you are too close to the limit.
  • Maximum total drawdown. 8–10% of starting balance. With trailing drawdown (FTMO in challenge phase), this number moves as your equity rises.
  • News restriction. Many firms prohibit having open trades 2–5 minutes before and after high-impact news (NFP, rate decisions, CPI). Check if your firm requires this.
  • Weekend restriction. Some firms do not allow holding trades open during the Friday market close.
  • Consistency rule. A single day cannot represent more than 30–50% of total profit at many firms.
  • Minimum trade duration. Some firms require a minimum open position time (anti-scalping). Verify if there are HFT or latency arbitrage restrictions.

Step 2: calculate the maximum risk per trade

With the rules clear, calculate the risk you can take per trade. The conservative formula:

  • Maximum permitted daily drawdown: 5%
  • Maximum consecutive losses you accept in a day: 5
  • Maximum risk per trade: 5% ÷ 5 = 1% per trade

For a $100,000 challenge, 1% = $1,000 maximum risk per trade. In most EAs, this translates to lots. With a 20-pip stop on EURUSD and a pip value of ~$10/pip per standard lot, $1,000 risk = 5 standard lots.

If the EA has historical consecutive losing streaks of more than 5 trades (check the backtest), reduce risk to 0.5% per trade for additional margin.

Step 3: configure the news filter

If the firm prohibits trading during news, you need the EA to close positions and block new entries during those windows. Two options:

Option A — EA's internal filter. Many professional EAs have an integrated news filter parameter. In Master of Liquidity EA, enable the NewsFilter = true parameter and configure MinutesBeforeNews and MinutesAfterNews according to your firm's requirements (generally 5 minutes before and 5 after is sufficient).

Option B — External tool. If the EA has no built-in filter, use a news management script that closes positions and blocks the EA before releases. Free versions are available on the MQL5 Market.

Step 4: configure trading hours

If your firm prohibits holding positions over the weekend, enable the pre-Friday close parameter in the EA. Recommended window: close all open positions between 21:00 and 22:00 GMT on Friday, before Forex market close.

If the EA lacks this parameter, create a scheduled task on the VPS that runs a close script on Fridays at 21:30 GMT.

Step 5: configure parameters in MetaTrader 5

Recommended EA configuration before activating on the challenge:

ParameterRecommended valueReason
RiskPerTrade (%)0.5–1%Daily drawdown protection
MaxDailyLoss (%)3–4%Safety margin before firm's limit
MaxTotalLoss (%)6–8%Buffer before maximum total drawdown
NewsFiltertrueFirm rules compliance
CloseOnFridaytrue (21:00 GMT)Avoid weekend positions
MaxSpread (pips)2–3Avoid entries on abnormal spreads

Step 6: run on demo with the same conditions first

Before activating the EA on the real challenge account, run it for 5–7 days on a demo account with the same balance as the challenge. Verify:

  • Daily drawdown never exceeds 3% (safety margin above the firm's limit)
  • News filter activates correctly on high-impact releases
  • Positions close on Friday as configured
  • Lot sizes correspond to the configured risk (review trade history)

Step 7: monitoring during the challenge

Once the challenge is active, review daily:

  • Current equity vs. daily drawdown limit. If by 14:00 you already have 2.5% drawdown, consider manually pausing the EA for that day.
  • Cumulative total drawdown. If you have 5% total drawdown and the limit is 10%, you are aware you have 5 more points of margin.
  • Number of trades for the day. If the consistency rule applies, ensure no single day accumulates too high a percentage of total profit.

A VPS with MetaTrader 5 always active is essential. Any disconnection can leave positions open without protection during news or over the weekend.

Mistakes that destroy the challenge

  • Activating the EA with the same risk as on a personal account (usually 2–3%, too high for prop firm)
  • Not configuring the news filter and having a trade open during NFP
  • Forgetting that FTMO's drawdown is trailing: each new equity high raises the elimination level
  • Using a VPS with high latency that executes orders late during volatile periods
  • Not reading the consistency rule and having an exceptional day that invalidates the payout

Tools we use for this

EV Prop Protector

Automatic DD monitor for MT5. Closes positions at the limit.

$29 lifetime →

EV Grid Manager

Position and lot size control panel for MT5.

$29 lifetime →

Prop firm rules change frequently. Always verify the updated terms on the official site before starting a challenge. This article is for guidance only and does not constitute financial advice.

#prop firm#EA#Expert Advisor#FTMO#MetaTrader 5#configuración#fondeo

Manage your risk with precision. Automated portfolios and tools for MT5.

Explore products →
Join Discord