MFRider
SpotOfficialv3.0
Overview
Multi-indicator DCA and scalping strategy with native S/R zones, MTF trend analysis, wick trading, trailing stops, and adaptive trade modes. Features 8-stage entry pipeline, range-based DCA counting, per-lot profit taking, and buy blocker diagnostics.
Requirements
Required Indicators
RSIMACDBollinger BandsADXATRMFISTOCHASTICPivot Points
| Supported Markets | Spot |
Configuration Parameters
Trade Mode
Configure trading behavior and entry strictness
| Parameter | Type | Default | Description |
|---|---|---|---|
TRADE_MODETrade Mode | Select: auto | normal | safe | auto | Auto: Switch based on margin | Normal: Aggressive 8-stage pipeline | Safe: Conservative zone-only entries |
STRICT_ENTRYStrict Entry | Boolean | Disabled | Require additional conditions for entries — blocks buys above BB mid in bullish and outside support in bearish |
Capital & Margin
Margin thresholds for each entry stage and position sizing
| Parameter | Type | Default | Description |
|---|---|---|---|
POSITION_SIZE_PERCENTPosition Size (%) | Number | 0 | Override position size as percentage of balance (0 = use bot default) |
SAFE_MARGIN_PERCENTSafe Margin (%) | Range (10–200, step 10) | 100 | Max margin usage for safe mode and zone/wick entries |
NORMAL_MARGIN_PERCENTNormal Margin (%) | Range (10–100, step 5) | 50 | Threshold to switch between normal and safe trade mode (auto mode) |
BEARISH_MARGIN_PERCENTBearish Margin (%) | Range (1–20, step 1) | 5 | Max margin for Stage 4 (EMA bullish) entries and strict DCA gate |
STAGE_ONE_MAX_CAPITALStage 1 Max Margin (%) | Range (10–200, step 10) | 100 | Max margin for Stage 1 (volume surge) and Stage 7 (wick trade) entries |
STAGE_TWO_MAX_CAPITALStage 2 Max Margin (%) | Range (10–150, step 5) | 75 | Max margin for Stage 2 (StochRSI divergence) and Stage 6 (zone buy) entries |
STAGE_THREE_MAX_CAPITALStage 3 Max Margin (%) | Range (10–100, step 5) | 50 | Max margin for Stage 3 (oversold divergence) entries |
BULLISH_MAX_CAPITALStage 5 Max Margin (%) | Range (5–100, step 5) | 30 | Max margin for Stage 5 (strong bull ADX+DI) entries |
SCALPING_RATIOScalping Ratio | Range (0–200, step 10) | 100 | Margin threshold above which buys at/above pivot are blocked (0 = never block) |
RISK_WEIGHTRisk Weight | Range (0.1–3, step 0.1) | 1 | Multiplier for margin-based DCA distance scaling — higher = wider DCA spacing as margin increases |
DCA Settings
Configure dollar-cost averaging behavior and limits
| Parameter | Type | Default | Description |
|---|---|---|---|
ENABLE_DCAEnable DCA | Boolean | Enabled | Enable dollar-cost averaging into positions |
BASE_DCA_PERCENTBase DCA Distance (%) | Number | 0.5 | Minimum price distance between DCA orders as a percentage |
DCA_QUOTIENTDCA Quotient | Range (1–10, step 1) | 3 | Max DCA layers allowed when price is above pivot (safer zone) |
BATTLEGROUND_DCA_QUOTIENTBattleground DCA Quotient | Range (1–15, step 1) | 5 | Max DCA layers allowed when price is below pivot (riskier zone, more averaging) |
ENABLE_DCA_MULTIPLIERDCA Multiplier | Boolean | Disabled | Scale DCA order size based on zone depth |
MAX_DCA_MULTIPLIERMax DCA Multiplier | Range (1–5, step 0.5) | 3 | Maximum DCA order size multiplier |
DCA_MULTIPLIER_MIN_LEVELMultiplier Min Level | Range (1–14, step 1) | 7 | Zone count threshold to activate DCA multiplier (reduced by 3 in bullish trend) |
STRICT_DCAStrict DCA | Boolean | Disabled | Only DCA when trend aligns with trade direction — overridden in very bullish conditions |
PRICE_DCA_MULTIPLIERPrice DCA Multiplier | Range (0.5–3, step 0.1) | 1 | Multiplier applied to DCA price distance calculation |
Profit & Scalping
Profit targets, auto gain, and partial sell configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
GAINMin Profit (%) | Number | 2 | Fixed minimum profit target percentage (used when auto gain is off) |
AUTO_GAINAuto Gain | Boolean | Enabled | Automatically calculate profit target based on ATR |
PROFIT_QUOTIENTProfit ATR Multiplier | Range (1–5, step 0.5) | 2 | ATR multiplier for auto profit target calculation |
PARTIAL_PROFIT_QUOTIENTPartial Profit ATR Mult | Range (1–5, step 0.5) | 2 | ATR multiplier for partial profit targets and DCA minimum distance |
MIN_AUTO_PROFITMin Auto Profit (%) | Range (0.1–2, step 0.1) | 0.3 | Floor for auto-calculated profit target percentage |
MIN_AUTO_PARTIAL_PROFITMin Auto Partial (%) | Range (0.1–2, step 0.1) | 0.3 | Floor for auto-calculated partial profit target and per-lot sell distance |
ENABLE_SCALPINGEnable Scalping | Boolean | Enabled | Allow partial position sells below profit target |
SCALPING_MIN_PROFITScalping Min Profit (%) | Number | 0.5 | Fixed minimum profit for partial sells when auto gain is off |
SCALPING_SELL_AMOUNTLower Scalp Amount | Range (0.1–0.5, step 0.05) | 0.25 | Minimum proportion of position to partial sell (below pivot) |
SCALPING_UPPER_SELL_AMOUNTUpper Scalp Amount | Range (0.5–1, step 0.05) | 0.75 | Maximum proportion of position to partial sell (above pivot) |
PARTIAL_SELL_TYPEScalp Type | Select: auto | trail | decline | auto | Method for partial sells: auto picks based on zone and trend |
Trailing Stop
Configure trailing stop behavior for profit taking
| Parameter | Type | Default | Description |
|---|---|---|---|
ENABLE_TRAILINGEnable Trailing | Boolean | Enabled | Enable trailing stop for profits — uses native td.trade.closeTrail |
TRAILING_SPREADTrailing Spread (%) | Range (0.25–5, step 0.25) | 1 | Trailing stop distance as a percentage from peak profit |
RIDE_PROFIT_WAVERide Profit Wave | Boolean | Enabled | Partial sell on trailing instead of full close — rides the remaining position |
Stop Loss
Configure stop loss protection
| Parameter | Type | Default | Description |
|---|---|---|---|
ENABLE_STOP_LOSSEnable Stop Loss | Boolean | Disabled | Enable stop loss protection — triggers only when overbought divergence confirms reversal |
STOP_LOSS_PERCENTStop Loss (%) | Range (1–10, step 0.5) | 2 | Stop loss percentage from entry — partial or full close based on margin excess |
STOP_LOSS_THRESHOLDSL Margin Threshold (%) | Range (0–100, step 10) | 50 | Minimum margin ratio required before stop loss can trigger (0 = always) |
Indicator Thresholds
Configure indicator levels for entry and exit signals
| Parameter | Type | Default | Description |
|---|---|---|---|
RSI_BUY_LEVELRSI Oversold | Range (10–40, step 5) | 30 | RSI level at or below which a buy signal is confirmed |
RSI_SELL_LEVELRSI Overbought | Range (60–90, step 5) | 70 | RSI level at or above which a sell signal is confirmed |
OVERSOLD_BULLISH_BUY_LEVELBullish RSI Oversold | Range (20–50, step 5) | 40 | Relaxed RSI oversold threshold used during bullish MACD trends |
ADX_THRESHOLDADX Threshold | Range (15–40, step 5) | 25 | ADX value above which a trend is considered strong |
STOCHRSI_BUY_LEVELStoch Oversold | Range (10–40, step 5) | 30 | Stochastic oversold threshold for entry signals (strict mode) |
STOCHRSI_SELL_LEVELStoch Overbought | Range (60–90, step 5) | 70 | Stochastic overbought threshold for exit signals (strict mode) |
STOCHRSI_BULLISH_LEVELStoch Bullish | Range (30–60, step 5) | 50 | Relaxed stochastic threshold used during bullish MACD trends |
MFI_BUY_LEVELMFI Oversold | Range (10–40, step 5) | 30 | Money Flow Index level at or below which a buy signal is confirmed |
MFI_SELL_LEVELMFI Overbought | Range (60–90, step 5) | 70 | Money Flow Index level at or above which a sell signal is confirmed |
DI_BUY_THRESHOLDDI Threshold | Range (5–30, step 5) | 15 | Minimum DI+ minus DI- difference required for Stage 5 directional confirmation |
Zone Trading
Configure S/R zone and wick-based entry settings
| Parameter | Type | Default | Description |
|---|---|---|---|
LAUNCHPAD_BUY_LEVELLaunchpad Buy Level | Range (1–14, step 1) | 1 | Minimum support zone count to allow long entries |
FIREWALL_SELL_LEVELFirewall Sell Level | Range (1–14, step 1) | 1 | Minimum resistance zone count to allow sell exits |
TRADE_RANGETrade Range | Range (5–14, step 1) | 14 | Zone count ceiling — used for DCA multiplier scaling and partial sell ratios |
ENABLE_WICK_TRADEEnable Wick Trading | Boolean | Enabled | Enable wick rejection (hammer/shooting star) detection for entries and exits |
WICK_TRADE_LEVELWick Trade Level | Range (1–14, step 1) | 11 | Zone count required for wick-based entries (Stage 7) and wick momentum sells |
Version Info
Current Version: v3.0
Latest Changes
Major update - significant changes
Changelog
| Version | Date | Type | Changes |
|---|---|---|---|
| v3 | 2026-02-18 | major | Major update - significant changes |
| v2.02 | 2026-02-18 | patch | Patch update - bug fixes or tweaks |
| v1.01 | 2026-01-18 | patch | Patch update - bug fixes or tweaks |