Yes — the automatic DCA position size calculation in MagicTradeBot is designed specifically to control risk when using multiple DCA orders. It prevents your total exposure from exceeding the maximum allowed percentage of your account balance, ensuring that even if all DCA orders are triggered, your capital remains protected.
🔹 1️⃣ How It Reduces Risk
Controls Total Exposure
- The bot calculates the size of each DCA order so that the combined value of all orders stays within the predefined risk limit
- Example: If
total_percent_investment_per_trade = 5%of a $1,000 account, all DCA orders combined will never exceed $50, regardless of how many orders are triggered
Dynamic Scaling of Orders
Each DCA order is sized based on:
- Remaining allowable exposure
- Configured
size_multiplier - Number of remaining DCA orders
- Ensures subsequent orders don’t inadvertently overcommit your capital
Works Across All Order Types
- Applies to normal trades, auto-trades triggered by Market Watch, and manual trades
- Keeps DCA safe and consistent across all trading modes
Limits Loss During Drawdowns
- In a falling market, DCA orders are triggered automatically
- With position size calculation, losses remain capped, avoiding account wipeout
🔹 2️⃣ Practical Example
Account: $1,000
DCA Settings: max_orders: 3, size_multiplier: 1.2, total_percent_investment_per_trade: 5%
| Order | Size Calculation | Notes |
|---|---|---|
| Initial | $15.15 | Automatically calculated from total exposure |
| DCA 1 | $18.18 | Scaled using size_multiplier |
| DCA 2 | $16.67 | Remaining exposure to stay within 5% total |
| Total Exposure | $50 | Exactly matches maximum allowed investment |
Even with multiple DCA orders, the bot ensures your capital at risk never exceeds $50
🔹 3️⃣ Key Benefits
- Prevents overexposure in volatile markets
- Manages risk systematically, instead of leaving it to guesswork
- Enables safer DCA grids even for beginners
- Integrates with SmartSL / MaxLossPerTrade to further protect the account
🔹 4️⃣ Key Takeaways
- Automatic position sizing calculation significantly reduces risk when using multiple DCA orders
- It ensures the sum of all DCA orders never exceeds your defined risk percentage
- Protects your account from excessive drawdowns or liquidation
- Essential for safe, disciplined DCA trading, especially in volatile markets
In short, this setting turns DCA from a potentially risky averaging strategy into a controlled, risk-aware approach, letting you scale orders safely without overexposing your account.