🔒
Tab: Protection
Account-level drawdown and profit target protection
📌 How Protection Works: Protection monitors the
account's total floating + realized P&L for the current trading day. When a limit is breached,
the EA closes ALL open trades (regardless of individual P&L) and stops accepting new signals
until the next day reset.
Use Drawdown Protection
Default:
true
When enabled, the EA monitors the account's daily loss. If the drawdown reaches the configured limit, all open trades are immediately closed and the EA stops trading for the remainder of the day.
🔴 Critical for prop firms: Always
enable this on prop firm accounts. Set the limit slightly below the challenge's allowed daily
drawdown to avoid a failed challenge.
DD Mode
- MODE_PERCENT — Drawdown limit expressed as a percentage of account balance (e.g. 5%).
- MODE_MONEY — Drawdown limit expressed as a fixed amount in account currency (e.g. $500).
Max Drawdown % / Max Drawdown Money
Default: 5%
/ $100
The drawdown threshold values. Only the one matching DD Mode is active. When this level is reached, the EA triggers the protective closure.
💡 Prop Firm Example: FTMO challenge
allows 5% daily drawdown on a $10,000 account = $500. Set DD Mode = MONEY and Max Drawdown Money
= 450 to have a $50 safety buffer.
Use Profit Target
Default:
true
When the daily profit reaches the target, the EA closes all positions and stops trading. Locks in the day's profits and prevents giving them back.
Profit Target % / Profit Target Money
Default: 3%
/ $200
Daily profit target threshold. When reached, the EA closes everything and stops for the day.
💡 Example: Set to 2% on a $5,000 account
= $100 daily target. Once $100 is secured, the EA stops trading for the rest of the day,
protecting that day's earnings.
⚠️ Daily Reset: Both drawdown protection and
profit target reset at midnight broker server time. Trading resumes automatically the next day.