When auto_calculate_initial_amount is set to false in MagicTradeBot, the bot does not calculate the initial DCA order size automatically. Instead, it relies entirely on the fixed InitialTradeAmount defined in your trading.yaml file. This gives you full control over the starting order size, but it requires careful manual calculation to ensure your total exposure remains safe.
🔹 1️⃣ How It Works
Initial Order
- The bot places the initial order exactly as defined in
InitialTradeAmount - No adjustment is made based on your account balance or total DCA allocation
- The bot places the initial order exactly as defined in
Subsequent DCA Orders
- DCA orders are still calculated using
size_multiplierand max orders, but starting from the fixed initial amount
- DCA orders are still calculated using
Total Exposure
- Because the initial order is fixed, the sum of all DCA orders may exceed your desired total investment if
InitialTradeAmountis set too high - Manual oversight is required to prevent overexposure or excessive risk, especially with leveraged trades
- Because the initial order is fixed, the sum of all DCA orders may exceed your desired total investment if
🔹 2️⃣ Practical Example
Account: $1,000 DCA Settings:
auto_calculate_initial_amount: false
InitialTradeAmount: 50
max_orders: 2
size_multiplier: 1.2
Step 1 – Initial Order
- Initial order = $50 (fixed, not calculated)
Step 2 – DCA 1
- DCA 1 = $50 × 1.2 = $60
Total Exposure
- $50 + $60 = $110 → 11% of account
- Risk may exceed safe limits if your total percent investment per trade was intended to be lower
With
auto_calculate_initial_amount = false, you are fully responsible for ensuring the initial order is safe relative to your balance and DCA configuration.
🔹 3️⃣ Key Implications
| Aspect | Auto-Calculate True | Auto-Calculate False |
|---|---|---|
| Initial Order | Calculated based on balance & total DCA exposure | Fixed as defined in InitialTradeAmount |
| Risk Control | Automatically limits total exposure | Manual; can exceed risk limits |
| Ease of Use | Beginner-friendly | Requires careful planning |
| Flexibility | Adapts to account balance changes | Static; must update manually if balance changes |
🔹 4️⃣ Key Takeaways
- Setting
auto_calculate_initial_amountto false disables automatic risk-aware sizing of the initial DCA order - The bot will use the fixed value from
trading.yamlas the starting order - You must manually ensure initial order + DCA orders stay within safe exposure limits
- Suitable for advanced traders who want precise control and are confident in their risk management
In short, disabling automatic calculation trades convenience and safety for manual control. Beginners are recommended to keep it enabled, while experienced traders may use fixed initial amounts for strategic customization.
📎 Related Topics
- O que é o cálculo automático do tamanho da posição DCA no MagicTradeBot?
- Why is position size calculation important when using DCA strategies?
- How does this feature differ from fixed initial trade amounts?
- Does this setting reduce risk when using multiple DCA orders?
- Is this feature suitable for both beginners and advanced traders?