ComboGrid
Overview
Hybrid strategy that combines dollar-cost averaging (DCA) entries with mini-grid trading around each fill. Instead of just buying dips and passively waiting for recovery, each DCA entry spawns a small localized grid that actively trades the price range around that entry, generating grid income that reduces the effective cost basis while the position builds. Operates in four phases: Entry (RSI oversold + price below EMA), Safety Orders (scaled limit buys at deeper dips), Mini-Grid Operation (local buy/sell grids around each fill), and Exit (global TP/SL with full teardown). Inspired by Gainium Combo Bot architecture, demonstrating 20-30% better average entries than lump-sum buying during bear markets.
Requirements
Required Indicators
| Supported Markets | Spot & Futures |
Configuration Parameters
Grid Settings
Configure DCA structure and mini-grid dimensions
| Parameter | Type | Default | Description |
|---|---|---|---|
TRADE_DIRECTIONTrade Direction | Select: long | short | both | long | Deal direction: long = buy dips, short = sell rallies, both = long (DCA is inherently directional) |
SPACING_MODESpacing Mode | Select: atr | percentage | fixed | percentage | Mini-grid spacing method |
MAX_SAFETY_ORDERSMax Safety Orders | Number | 2 | Maximum DCA safety orders |
SAFETY_STEP_PCTSafety Step (%) | Number | 4 | Price drop percentage between safety orders |
SAFETY_SCALESafety Scale | Number | 1.5 | Multiplier for each successive safety order size |
MINIGRID_WIDTH_PCTMini-Grid Width (%) | Number | 2.5 | Mini-grid range as percentage around fill price |
MINIGRID_LEVELSMini-Grid Levels | Number | 3 | Grid levels per mini-grid |
MAX_ACTIVE_MINIGRIDSMax Active Mini-Grids | Number | 6 | Max concurrent mini-grids |
SPACING_ATR_MULTSpacing ATR Multiplier | Number | 0.5 | ATR multiplier for mini-grid spacing (when mode=atr) |
SPACING_PERCENTSpacing Percent | Number | 0.8 | Percentage for mini-grid spacing (when mode=percentage) |
SPACING_FIXEDSpacing Fixed | Number | 50 | Fixed dollar spacing for mini-grids (when mode=fixed) |
Risk Management
Configure position sizing and capital allocation
| Parameter | Type | Default | Description |
|---|---|---|---|
BASE_ORDER_PCTBase Order (%) | Number | 3 | Base order as percentage of balance |
SIZE_PER_MINIGRID_PCTSize Per Mini-Grid (%) | Number | 2 | Balance percentage per mini-grid level |
MAX_LOSS_PCTMax Loss (%) | Number | 8 | Stop loss on total deal as percentage |
COOLDOWN_SPINSCooldown Spins | Number | 10 | Spins to wait after stop loss before new deal |
Strategy Logic
Configure entry conditions, trend guard, and zones
| Parameter | Type | Default | Description |
|---|---|---|---|
RSI_ENTRYRSI Entry Threshold | Number | 40 | RSI threshold for entry signal |
ENABLE_TREND_GUARDEnable Trend Guard | Boolean | Enabled | Block entries in strong downtrends (ADX > 30 + bearish) |
ENABLE_ZONESEnable Zones | Boolean | Disabled | Use td.zones for entry confirmation |
COMPOUND_GRID_PROFITSCompound Grid Profits | Boolean | Enabled | Add grid profits to DCA position value for TP calculation |
TP/SL Configuration
Configure take profit and stop loss distance modes
| Parameter | Type | Default | Description |
|---|---|---|---|
TAKE_PROFIT_PCTTake Profit (%) | Number | 2 | Global take profit above weighted average entry |
TP_SL_MODETP/SL Mode | Select: percentage | atr | percentage | TP/SL distance mode: percentage = fixed %, atr = ATR-based |
TP_ATR_MULTTP ATR Multiplier | Number | 2 | TP distance as ATR multiple (when mode=atr) |
SL_ATR_MULTSL ATR Multiplier | Number | 4 | SL distance as ATR multiple (when mode=atr) |
Version Info
Current Version: v1.0
Latest Changes
Initial release
Changelog
| Version | Date | Type | Changes |
|---|---|---|---|
| v1 | 2025-02-18 | Initial release |