How the Prop Swing Combo loss guard works, step by step
The daily loss is the rule that ends most challenges, so this is the part I built first. In order:
1️⃣ Set the reference: StartingBalance is your account size (on a running challenge, the original size, not today's balance). DayResetHour is matched to your firm's daily reset and your server time. If your firm measures the daily loss from the higher of balance and equity, set DailyReference to that
2️⃣ Before every trade: the EA checks that one more stop loss, together with the risk already open, cannot cross the daily or the max loss level. If it could, the trade is not opened
3️⃣ At a 3.5% daily loss: no new trades
4️⃣ At a 4.5% daily loss, open trades included: everything is closed
5️⃣ After the daily reset: trading resumes
6️⃣ In a drawdown: once the balance is more than 2% below its peak, the risk per trade is cut step by step, down to 40% of normal at 6% below the peak, and comes back as the balance recovers
7️⃣ The last line: everything is closed and the EA stops at 9% below the starting balance, and also at 9% below the highest balance
These are the preset levels for a 5% daily / 10% max loss rule, and every level can be adjusted to your firm's rules.
Two limits to know: the guard only counts this EA's trades, and it needs a running terminal, so a VPS is recommended. In the backtests (MetaQuotes-Demo history, 2021 to Oct 2026) the worst day was 1.06% on Conservative, 1.76% on Balanced and 2.97% on Aggressive. Backtests, not live results, and no guarantee.
▶ Product: https://www.mql5.com/en/market/product/205286
📝 Blog: https://www.mql5.com/en/blogs/post/778903
📢 News channel: https://www.mql5.com/en/channels/015c7212c6d0db01
💬 Discussion group: https://www.mql5.com/en/messages/012791f7fd44dd01
The daily loss is the rule that ends most challenges, so this is the part I built first. In order:
1️⃣ Set the reference: StartingBalance is your account size (on a running challenge, the original size, not today's balance). DayResetHour is matched to your firm's daily reset and your server time. If your firm measures the daily loss from the higher of balance and equity, set DailyReference to that
2️⃣ Before every trade: the EA checks that one more stop loss, together with the risk already open, cannot cross the daily or the max loss level. If it could, the trade is not opened
3️⃣ At a 3.5% daily loss: no new trades
4️⃣ At a 4.5% daily loss, open trades included: everything is closed
5️⃣ After the daily reset: trading resumes
6️⃣ In a drawdown: once the balance is more than 2% below its peak, the risk per trade is cut step by step, down to 40% of normal at 6% below the peak, and comes back as the balance recovers
7️⃣ The last line: everything is closed and the EA stops at 9% below the starting balance, and also at 9% below the highest balance
These are the preset levels for a 5% daily / 10% max loss rule, and every level can be adjusted to your firm's rules.
Two limits to know: the guard only counts this EA's trades, and it needs a running terminal, so a VPS is recommended. In the backtests (MetaQuotes-Demo history, 2021 to Oct 2026) the worst day was 1.06% on Conservative, 1.76% on Balanced and 2.97% on Aggressive. Backtests, not live results, and no guarantee.
▶ Product: https://www.mql5.com/en/market/product/205286
📝 Blog: https://www.mql5.com/en/blogs/post/778903
📢 News channel: https://www.mql5.com/en/channels/015c7212c6d0db01
💬 Discussion group: https://www.mql5.com/en/messages/012791f7fd44dd01