Yes, global safety rules in MagicTradeBot are applied across all strategies, symbols, and templates and always take highest priority over any template-level or strategy-specific rules.
How It Works
When a global safety condition is met (e.g., MaxLossBeforeForceClose, EmergencyClose, or MaxProfitReached/MaxLossReached), the bot will execute the rule immediately, regardless of:
- Which trading template is active
- The type of trade (long or short)
- The strategy applied to the symbol
Template-level and symbol-specific rules are still evaluated, but global safety overrides them to protect your account from extreme losses or enforce critical profit targets.
Example
Suppose you have a template with a partial Take Profit rule set for BTC and ETH:
TakeProfitRules: - TargetProfitPer: 10 SellPer: 40 EnableSmartTP: true- If MaxLossBeforeForceClose: 150 is triggered for BTC, the bot will close that trade immediately, ignoring the template TP rules.
Key Takeaways
- Global safety rules act as emergency guards across your entire trading account.
- They ensure that high-risk strategies or multiple simultaneous trades do not exceed your risk tolerance.
- Always configure global safety before testing aggressive strategies like DCA, Martingale, or progressive position sizing.
This guarantees account-level protection while letting template rules handle normal trade management.