In Grid DCA strategies, the deviation_percent parameter plays a critical role in determining grid spacing between DCA orders. It directly impacts drawdown, average entry, and recovery behavior.
Here’s a detailed explanation.
1. What Is deviation_percent?
deviation_percentdefines the percentage price difference between consecutive grid orders.- Smaller
deviation_percent→ tighter grid spacing - Larger
deviation_percent→ wider grid spacing
Example:
- Current price: $100
deviation_percent = 2%→ next grid triggers at $98, $96.04, $94.12 …deviation_percent = 5%→ next grid triggers at $95, $90.25, $85.74 …
2. How It Affects Drawdown
✅ 1. Smaller deviation_percent (Tighter Grid)
- More frequent DCA entries during minor price declines
- Average entry drops faster, reducing required recovery percentage
- Lower maximum drawdown relative to original entry
- Example: If price drops from $100 to $94 with 2% deviation: multiple smaller DCA orders fill → average entry drops from $100 → $97 → $95 → $94, smoothing drawdown.
Pros:
- Better recovery in ranging markets
- TP is reached faster
Cons:
- More capital deployed quickly
- Increased trading fees
- Higher exposure if trend continues downward
✅ 2. Larger deviation_percent (Wider Grid)
- Fewer DCA entries during drawdowns
- Average entry declines more slowly → required recovery percentage remains higher
- Maximum drawdown relative to average entry is larger
- Example: With 5% deviation, only one or two grid orders fill → average entry drops less → price must recover more to hit break-even or TP.
Pros:
- Conserves capital for deeper dips
- Fewer trades → lower fees
Cons:
- Higher drawdown if market bottoms between grids
- TP takes longer to trigger
3. Deviation Percent and Risk Management
Tighter deviation (smaller %):
- Reduces drawdown relative to average entry
- Increases capital usage and fee impact
Wider deviation (larger %):
- Higher drawdown risk
- More conservative capital deployment
Optimal deviation balances:
- Drawdown mitigation
- Capital efficiency
- Market volatility
4. Interaction With Other Parameters
Grid Levels / Max DCA:
- More levels + small deviation → very smooth average entry, minimal drawdown
- Fewer levels + large deviation → higher exposure to deep drawdowns
Multipliers:
- Larger multipliers on deeper grids amplify impact of deviation_percent on drawdown
Final DCA:
- Deviation_percent sets how quickly final DCA is reached, affecting maximum drawdown
5. Key Takeaways
- Deviation_percent controls grid spacing, which directly affects drawdown.
- Smaller deviation → lower drawdown relative to average entry, faster recovery, more frequent trades.
- Larger deviation → higher drawdown, slower recovery, more conservative capital deployment.
- Optimal settings depend on market volatility, leverage, and capital allocation.