Description
Short Description: An institutional-grade automated trading system engineered specifically for prop firm evaluation challenges and funded accounts with strict drawdown enforcement.
Overview
The Prop-Firm-Safe EA is an institutional-grade, rule-enforced automated trading system designed specifically for traders taking proprietary trading firm evaluation challenges or managing funded accounts (such as FTMO, FundedNext, Forex Funders, etc.).
This EA addresses the single biggest reason traders fail prop-firm evaluations: emotional overtrading, lot-size miscalculations, daily loss limit breaches, and maximum drawdown violations. By programmatically enforcing maximum daily loss caps, total equity drawdown thresholds, max single-trade volume limits, and trading session windows, the EA ensures total compliance with challenge guidelines.
Key Features
- Programmatic Prop-Firm Compliance: Enforces strict daily loss % limits and total account drawdown caps.
- Emergency Trade Liquidation Engine: Automatically liquidates all open positions and cancels pending orders if daily or max drawdown limits are reached.
- On-Chart Prop Compliance Dashboard: Displays live daily start equity, daily P/L ($ and %), remaining risk budget, max drawdown, and active risk.
- Disciplined Trend-Following Strategy: Uses EMA(20/50/200) trend direction combined with RSI momentum confirmation.
- Mandatory Hard Broker Stop Loss: Every trade is dispatched with a hard broker-side Stop Loss attached immediately upon placement.
- Single-Trade Volume Sizing Cap: Restricts single-trade lot size to prevent accidental over-leveraging.
- Session & Spread Filters: Locks trading outside allowed market hours or during high-spread rollover windows.
How It Works
1. Daily Equity Calibration: Records daily starting equity at midnight GMT server reset and calculates dollar values for max daily loss and max total drawdown.
2. Continuous Risk Inspection: Evaluates floating equity against daily loss caps on every tick. If a breach occurs, trading is locked and positions closed.
3. Signal & Risk Verification: Evaluates EMA trend and RSI momentum criteria on bar close. Computes lot size based on `RiskPerTradePercent`, verifying volume caps before order dispatch.
4. Trade Lifecycle Management: Manages trailing stop, break-even adjustments, and risk-reward ratio target exits.
Trading/Indicator Logic
- Buy Setup: `EMA_20[1] > EMA_50[1]` AND `Close[1] > EMA_200[1]` AND `RSI(14)[1]` between 50 and 65.
- Sell Setup: `EMA_20[1] < EMA_50[1]` AND `Close[1] < EMA_200[1]` AND `RSI(14)[1]` between 35 and 50.
- Risk Gatekeepers: Daily P/L has not hit Daily Loss Limit, Spread `<= MaxSpreadPips`, Open Trades `< MaxOpenTrades`.
Supported Markets
- Forex Majors & Minors: EURUSD, GBPUSD, USDJPY, AUDUSD, USDCHF
- Precious Metals: Gold (XAUUSD)
- Indices: US30, GER40, NAS100
Recommended Timeframes
- Primary Timeframes: M15, H1, H4
Recommended Symbols
- EURUSD, GBPUSD, XAUUSD, US30
Main Settings
- `RiskPerTradePercent` (1.0%): Risk percentage per executed trade.
- `MaxDailyLossPercent` (4.0%): Maximum daily drawdown % before emergency trading halt.
- `MaxTotalDrawdownPercent` (8.0%): Maximum total account drawdown % cap.
- `MaxAllowedLotSize` (5.0): Single order lot size ceiling.
- `CloseTradesOnBreach` (true): Automatically close open positions on rule breach.
- `UseATR_SL` (true): Dynamic ATR-calculated Stop Loss.
- `RiskRewardRatio` (2.0): Target Take Profit ratio relative to SL distance.
- `UseSessionFilter` (true): Limit trade execution to liquid hours.
Installation
1. Open MetaTrader 4 or MetaTrader 5.
2. Go to File -> Open Data Folder.
3. Open `MQL4/Experts` (or `MQL5/Experts`).
4. Copy `042 – Prop-Firm-Safe EA.ex4` or `.ex5` into the folder.
5. Refresh the Navigator panel and attach the EA to your chart.
How To Use
1. Configure `MaxDailyLossPercent` and `MaxTotalDrawdownPercent` to match your prop firm evaluation rules.
2. Set `RiskPerTradePercent` (e.g. 0.5% or 1.0%).
3. Deploy on a VPS for continuous 24/5 compliance tracking.
Who Is It For
- Prop Firm Challenge Traders: Anyone completing FTMO, FundedNext, or similar evaluation challenges.
- Fund Managers & Risk-Averse Traders: Seeking programmatic risk enforcement and drawdown caps.
What’s Included
- `.EX4` Compiled Executable (MetaTrader 4)
- `.EX5` Compiled Executable (MetaTrader 5)
- Prop-Firm Setup Manual & Strategy Guide
- Lifetime Updates & Support
Updates & Support
Includes lifetime product updates, challenge parameter presets, and dedicated support.
Risk Disclaimer
Automated risk enforcement tools do not guarantee passing prop-firm challenges or trading profitability. Past performance does not guarantee future results.
FAQ
Q: Will this EA automatically close trades if my daily loss limit is hit?
A: Yes. If `CloseTradesOnBreach` is enabled, the EA instantly liquidates open positions and halts trading for the remainder of the session.
Q: Can I adjust parameters for different prop firms?
A: Yes. All daily loss, total drawdown, and lot sizing parameters are fully configurable.
📊 Backtested Performance Summary
This Expert Advisor has undergone quantitative historical backtesting based on tick and bar market data:
- Best Tested Symbol: USDCHF
- Best Timeframe: H4
- Testing Period: 2020.01.01 – 2026.08.28
- Net Profit: $5,109.23
- Profit Factor: 1.58
- Maximum Drawdown: 7.74%
- Recovery Factor: 4.68
- Total Trades: 96
- Out-of-Sample Result: PF: 1.19, WinRate: 23.3%
⚠️ Disclaimer: Historical backtest results are provided for informational and research purposes only and do not guarantee future live trading performance. Past performance is not indicative of future returns.





Reviews
There are no reviews yet.