ftmo ea blueprint

FTMO Risk Management: 5 Essential Rules for Your EA

Most traders get FTMO risk management backwards. They take a strategy they’ve been running on a demo account, put it on a challenge, and wonder why it blows up in week two. The problem usually isn’t the entry logic. It’s everything around it.

On the 2-Step FTMO Challenge, two hard rules don’t care about your win rate: a 5% Maximum Daily Loss and a 10% Maximum Loss, both measured against your initial balance. On the 1-Step Challenge the numbers are tighter: 3% daily and a 10% maximum loss that trails your highest end-of-day balance. Either way, those limits will end a challenge faster than a bad signal if your EA isn’t built to respect them mechanically.

This article is about what FTMO risk management means in code. For the wider setup, from instruments to forbidden practices, see our FTMO Challenge EA guide. Here we go one level down, to the five rules every risk layer has to enforce.

Why FTMO risk management has to live in code

A trader can promise to stop after a bad morning. An EA can’t promise anything. It does exactly what its code says, at 3am, during NFP, after a terminal restart. If a rule isn’t written into the risk layer, it doesn’t exist. Good FTMO risk management is therefore an engineering problem: calculating the right numbers, checking them often enough and acting on them without exceptions.

Rule 1: Calculate the daily loss the way FTMO does

The first mistake in FTMO risk management is measuring the daily loss from the wrong place. FTMO doesn’t measure it from your starting balance. Each day, the limit is your balance at the previous midnight minus 5% of your initial balance. It resets at 00:00 CE(S)T, Prague time, and it’s tested against equity, which includes floating profit and loss on open positions.

Take a $100,000 account that closed yesterday at $103,000. Today’s floor is $98,000. An EA that measures from the starting balance thinks the floor is $95,000 and believes it has 8% of room when it has 5%. An EA that takes 5% of yesterday’s balance puts the floor at $97,850 and overestimates its room by $150. Both are wrong, and only one of them is obviously dangerous.

So the EA has to capture the balance at midnight CE(S)T and reset its reference from there. Not on trade open, and not when the EA initialises. Then it has to compare live equity, not balance, against that floor.

Watch the clock. Many brokers run their server time on GMT+2 in winter and GMT+3 in summer, switching on US daylight-saving dates, while Prague switches on European dates. For a few weeks each spring and autumn the gap between your server’s midnight and FTMO’s midnight changes by an hour. Convert to CE(S)T explicitly and test your EA across both daylight-saving weekends.

Rule 2: Guard the maximum loss with a hard stop and a buffer

On the 2-Step Challenge the 10% Maximum Loss is anchored to the initial balance, so a $100,000 account can never let equity fall below $90,000. Ever. Your EA needs a global watchdog that checks equity on every tick and closes everything if it approaches that level. That means a hard close, not a soft warning or a log message.

The buffer matters. If your hard stop sits exactly at $90,000 and gold gaps against you over a weekend, you’re out regardless of the stop logic. Set the stop 0.5% to 1% above the limit, around $91,000 on a $100,000 account, so slippage on the closing orders still leaves you inside the rules.

On the 1-Step Challenge the floor moves. It’s your highest end-of-day balance minus 10%, and it can only go up. Recalculate it at every midnight from the balance history, not from a value you typed into the inputs.

Rule 3: Size positions from remaining headroom

FTMO’s allowances are fixed amounts of your initial balance. On a $100,000 2-Step account, the daily allowance is $5,000 whether you’re up 6% or down 3%, so profits don’t buy you a bigger daily loss. What profits do change is your distance from the maximum loss floor, and that distance is what your position sizing should follow.

A simple version: risk per trade equals your base risk multiplied by remaining headroom over full headroom, where headroom is equity minus the hard stop. Start at 1% risk with $9,000 of headroom above a $91,000 stop. If equity drops to $95,500, headroom is $4,500, half of full, so risk falls to 0.5%. Then cap each new trade so that a full stop-out, plus the risk already open, can’t breach today’s daily stop.

This isn’t about being conservative for its own sake. It’s arithmetic. An EA that risks 2% per trade on a full account and never reduces size after a string of losses will eventually stack those losses into one bad day that ends the challenge. Of the five rules, headroom-based sizing is the part of FTMO risk management most retail EAs skip.

Rule 4: Change behaviour after a bad day

Your EA takes a bad hit and you’re down 3% to 4% on the day by the time London closes. What does it do next? If the answer is “keep trading normally”, you’ll fail a lot of challenges. After a significant losing day, the EA should either stop for the rest of the session or cut size hard. The goal is to still be in the challenge tomorrow, not to win it back today.

A tiered response works well. At 3% daily loss, halve position size. At 4%, block new trades for the rest of the day. At about 4.5%, flatten everything, which is the hard stop from our FTMO Challenge EA guide. The exact thresholds depend on how often your strategy trades and how far apart its stops are, but the principle of tiered FTMO risk management isn’t negotiable.

Rule 5: Filter news and sessions

Filters are the quietest part of FTMO risk management, and they still save accounts. News trading is allowed during the FTMO Challenge and Verification. On a Standard FTMO Account, FTMO blocks order execution for 2 minutes before and after selected releases, stop losses and take profits included. Even where it’s allowed, an EA that trades through NFP or FOMC is taking on variance it doesn’t need. One bad fill in a liquidity gap can use up the daily allowance before the position has a chance to breathe. A simple economic calendar filter that blocks new trades for 30 minutes around high-impact events removes a lot of that randomness.

Session filtering is worth adding too. If your strategy was built around London session behaviour, there’s no reason for it to fire trades at 2am when spreads are wide and volume is thin.

Two engineering details that decide whether the rules hold

The first is persistence, the most overlooked part of FTMO risk management. VPS restarts, terminal updates and dropped connections happen during challenges. If your EA forgets the midnight balance or the day’s tier state when it restarts, it starts measuring from the wrong reference without telling you. Every QRC EA stores that state in the terminal’s global variables, so it survives a restart. If yours doesn’t, at least rebuild it from the deal history when the EA starts.

The second is keeping the optimizer away from the rules. Risk and compliance settings are declared as inputs the MT5 optimizer can’t see, so no optimization run can quietly loosen a daily limit to make a backtest look better. On our FTMO portfolio, those rules also live in one shared compliance module that every EA includes, so a fix lands in all of them at once.

What good FTMO risk management looks like in practice

We’ve been through this with most of the EAs in the QRC portfolio. Nexus on XAUUSD and Axiom on NAS100 both went through several iterations specifically to get these FTMO mechanics right. The underlying strategies weren’t wrong. The risk layer around them simply wasn’t built for the challenge rules at first.

The strategies that pass FTMO challenges consistently aren’t the ones with the best Sharpe ratios. They’re the ones that treat the drawdown limits as real constraints and build the whole execution and risk logic around them. The entry model matters. The exit model matters more. But the daily loss controller and the maximum loss guard are what keep you in the game long enough for those edges to play out.

ftmo risk management

Test your FTMO risk management before FTMO does

Don’t let the challenge be the first time your risk layer meets a bad day. Put the EA through deliberate stress cases in the MT5 Strategy Tester and on a demo account: a restart in the middle of an open trade, a weekend gap, a daylight-saving weekend, a string of maximum losses. Check that every tier fires when it should and nothing trades when it shouldn’t.

Then take the results into QRC Lodestar. Its compliance screener checks the trade history against the firm’s loss and drawdown rules, and its prop-firm Monte Carlo resamples your trades hundreds of times to estimate your chance of passing and of breaching. If the breach probability is uncomfortable, fix the risk layer before you pay for a challenge.

Want your FTMO risk management built for you?

Most of the work in FTMO risk management is invisible when it’s right and expensive when it’s wrong. If you’d rather not learn that the hard way, QRC can build a tailored trading system around your strategy and your FTMO account type, 1-Step or 2-Step, Standard or Swing. The daily loss controller, maximum loss guard, headroom-based sizing, recovery tiers and restart persistence come built in and tested before you trade.

See what we offer on our services page: https://www.quantumrisecapital.ae/our-services/

Build the FTMO risk management components first

Start with the daily loss controller and the maximum loss guard, then the sizing and recovery tiers, then the filters. Test them until they bore you. Only then spend your time on entries.

Trading leveraged products carries a high risk of loss. FTMO trading takes place on simulated accounts, and rules quoted here reflect FTMO’s published trading objectives at the time of writing.

Sources:

Save to list