In MagicTradeBot, price_deviation_percent determines how far the price must move against your trade before triggering the next DCA order. Setting it correctly is crucial, especially in volatile markets, because it directly affects order frequency, exposure, and risk management.
🔹 Tighter Price Deviation
- Definition: Smaller
price_deviation_percent(e.g., 2–3%) - Effect: DCA orders are triggered more frequently, even on small price swings.
When to use:
- Low-volatility or predictable markets (e.g., BTC, ETH)
- When you want faster recovery from minor adverse movements
- When you have small account size and want to limit large swings
Pros:
- Reduces average entry price faster
- Recovers from small pullbacks efficiently
- Increases chances to close trades in profit
Cons:
- In highly volatile markets, frequent DCA orders can overexpose your account
- Can trigger too many orders during sharp spikes or temporary whipsaws
🔹 Wider Price Deviation
- Definition: Larger
price_deviation_percent(e.g., 5–10%) - Effect: DCA orders are triggered less frequently, only on significant price moves.
When to use:
- Highly volatile or unpredictable assets (e.g., meme coins, small-cap altcoins)
- To avoid placing DCA orders on short-term price spikes or dips
- When you want to control risk in fast-moving markets
Pros:
- Reduces risk of overexposure
- Prevents unnecessary DCA orders during minor price swings
- Keeps total capital deployment more controlled
Cons:
- Slower reduction of average entry price
- May require larger market moves to recover from adverse trends
🔹 Practical Guidelines for Volatile Markets
| Market Type | Suggested Price Deviation | Notes |
|---|---|---|
| Blue-chip (BTC, ETH) | 2–5% | Predictable moves; tighter deviation is safer |
| Stable Altcoins | 3–5% | Moderate volatility; balance recovery & risk |
| Meme Coins / High-Risk | 5–10% | Avoid overexposure; large deviation reduces risk |
In highly volatile markets, wider price deviation is safer to prevent excessive DCA orders and reduce risk, while tighter deviation is only suitable for stable markets or small movements.
🔹 Key Considerations
Account Size & Budget
- Smaller accounts → slightly wider deviation to avoid rapid capital depletion
Multiplier & Max Orders
- Higher multipliers + wide deviation = fewer, more strategic DCA orders
- Lower multipliers + tight deviation = many small DCA orders
Trade Duration
- Short-term trades → may need tighter deviation for quick recovery
- Long-term trades → wider deviation works, letting price swings stabilize
Risk Management
- Always combine with
MaxLossPerTradeand SmartTP - Helps avoid account drain during extreme market movements
- Always combine with
🏁 Final Summary
- Tighter price deviation (smaller %) → more frequent DCA orders, faster recovery, higher risk in volatile markets
- Wider price deviation (larger %) → fewer DCA orders, slower recovery, safer in highly volatile markets
- In volatile or unpredictable markets, wider deviation is recommended to control exposure and manage risk, while tighter deviation is better for stable assets
The key is to match price deviation to asset volatility, account size, and risk tolerance to optimize DCA performance safely.