In MagicTradeBot, automatic position sizing calculation determines how much capital is allocated to a DCA trade based on your account balance and risk settings, while leverage affects the actual market exposure separately. Understanding the interaction between these two factors is essential for safe futures trading.
🔹 1️⃣ How It Works
Automatic Position Sizing
Calculates initial and subsequent DCA order sizes based on:
- Account balance (
balance) - Maximum allowed exposure (
total_percent_investment_per_trade) - DCA parameters (
max_orders,size_multiplier)
- Account balance (
- Ensures that your capital at risk is controlled, regardless of leverage
Leverage Effect
- Leverage multiplies the position size on the exchange, increasing both potential profit and risk
- Example: 5× leverage on a $100 DCA order → $500 market exposure
- Automatic sizing does not change because of leverage; it only defines how much of your own capital is committed
Combined Risk Management
- Total capital at risk = position size calculated by DCA × leverage factor
- Using automatic sizing ensures that even with leverage, your account will not exceed the intended risk percentage
- Important to factor leverage into your total risk strategy, especially with volatile markets
🔹 2️⃣ Practical Example
Account Balance: $1,000 DCA Settings:
auto_calculate_initial_amount: true
total_percent_investment_per_trade: 5
max_orders: 3
size_multiplier: 1.2
leverage: 5
Step 1 – Calculate Total DCA Allocation
- 5% of $1,000 → $50 maximum capital allocation
Step 2 – Initial and DCA Orders
- Initial order = $15.15
- DCA 1 = $18.18
- DCA 2 = $16.67 (scaled to fit $50 total)
Step 3 – Apply Leverage
Market exposure with 5× leverage:
- Initial order = $15.15 × 5 ≈ $75
- DCA 1 = $18.18 × 5 ≈ $90.90
- DCA 2 = $16.67 × 5 ≈ $83.35
- Total market exposure ≈ $249.25, while capital at risk = $50
Even with leverage, the bot ensures your actual capital risk stays within the 5% allocation, while allowing higher exposure to profit from price movements.
🔹 3️⃣ Key Points
| Aspect | How It Works |
|---|---|
| Capital Allocation | Determined by DCA automatic sizing (based on balance and risk limits) |
| Market Exposure | Determined by leverage applied to DCA order size |
| Risk Control | Capital at risk is still capped by total_percent_investment_per_trade |
| Safe DCA Execution | Protects your account from overexposure in volatile futures markets |
🔹 4️⃣ Key Takeaways
- Automatic position sizing calculates capital allocation for DCA trades
- Leverage increases market exposure but does not change the capital risk allocation
- Enables safe DCA trading on futures, even with aggressive leverage
- Crucial for risk-managed DCA strategies in leveraged markets
In short, this setting ensures capital safety while leverage magnifies potential gains, letting you trade futures confidently without risking excessive portion of your account.
📎 Related Topics
- ما هو الحساب التلقائي لحجم صفقة DCA في 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?