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 MarketsSpot

Configuration Parameters

Trade Mode

Configure trading behavior and entry strictness

ParameterTypeDefaultDescription
TRADE_MODETrade ModeSelect: auto | normal | safeautoAuto: Switch based on margin | Normal: Aggressive 8-stage pipeline | Safe: Conservative zone-only entries
STRICT_ENTRYStrict EntryBooleanDisabledRequire 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

ParameterTypeDefaultDescription
POSITION_SIZE_PERCENTPosition Size (%)Number0Override position size as percentage of balance (0 = use bot default)
SAFE_MARGIN_PERCENTSafe Margin (%)Range (10–200, step 10)100Max margin usage for safe mode and zone/wick entries
NORMAL_MARGIN_PERCENTNormal Margin (%)Range (10–100, step 5)50Threshold to switch between normal and safe trade mode (auto mode)
BEARISH_MARGIN_PERCENTBearish Margin (%)Range (1–20, step 1)5Max margin for Stage 4 (EMA bullish) entries and strict DCA gate
STAGE_ONE_MAX_CAPITALStage 1 Max Margin (%)Range (10–200, step 10)100Max margin for Stage 1 (volume surge) and Stage 7 (wick trade) entries
STAGE_TWO_MAX_CAPITALStage 2 Max Margin (%)Range (10–150, step 5)75Max margin for Stage 2 (StochRSI divergence) and Stage 6 (zone buy) entries
STAGE_THREE_MAX_CAPITALStage 3 Max Margin (%)Range (10–100, step 5)50Max margin for Stage 3 (oversold divergence) entries
BULLISH_MAX_CAPITALStage 5 Max Margin (%)Range (5–100, step 5)30Max margin for Stage 5 (strong bull ADX+DI) entries
SCALPING_RATIOScalping RatioRange (0–200, step 10)100Margin threshold above which buys at/above pivot are blocked (0 = never block)
RISK_WEIGHTRisk WeightRange (0.1–3, step 0.1)1Multiplier for margin-based DCA distance scaling — higher = wider DCA spacing as margin increases

DCA Settings

Configure dollar-cost averaging behavior and limits

ParameterTypeDefaultDescription
ENABLE_DCAEnable DCABooleanEnabledEnable dollar-cost averaging into positions
BASE_DCA_PERCENTBase DCA Distance (%)Number0.5Minimum price distance between DCA orders as a percentage
DCA_QUOTIENTDCA QuotientRange (1–10, step 1)3Max DCA layers allowed when price is above pivot (safer zone)
BATTLEGROUND_DCA_QUOTIENTBattleground DCA QuotientRange (1–15, step 1)5Max DCA layers allowed when price is below pivot (riskier zone, more averaging)
ENABLE_DCA_MULTIPLIERDCA MultiplierBooleanDisabledScale DCA order size based on zone depth
MAX_DCA_MULTIPLIERMax DCA MultiplierRange (1–5, step 0.5)3Maximum DCA order size multiplier
DCA_MULTIPLIER_MIN_LEVELMultiplier Min LevelRange (1–14, step 1)7Zone count threshold to activate DCA multiplier (reduced by 3 in bullish trend)
STRICT_DCAStrict DCABooleanDisabledOnly DCA when trend aligns with trade direction — overridden in very bullish conditions
PRICE_DCA_MULTIPLIERPrice DCA MultiplierRange (0.5–3, step 0.1)1Multiplier applied to DCA price distance calculation

Profit & Scalping

Profit targets, auto gain, and partial sell configuration

ParameterTypeDefaultDescription
GAINMin Profit (%)Number2Fixed minimum profit target percentage (used when auto gain is off)
AUTO_GAINAuto GainBooleanEnabledAutomatically calculate profit target based on ATR
PROFIT_QUOTIENTProfit ATR MultiplierRange (1–5, step 0.5)2ATR multiplier for auto profit target calculation
PARTIAL_PROFIT_QUOTIENTPartial Profit ATR MultRange (1–5, step 0.5)2ATR multiplier for partial profit targets and DCA minimum distance
MIN_AUTO_PROFITMin Auto Profit (%)Range (0.1–2, step 0.1)0.3Floor for auto-calculated profit target percentage
MIN_AUTO_PARTIAL_PROFITMin Auto Partial (%)Range (0.1–2, step 0.1)0.3Floor for auto-calculated partial profit target and per-lot sell distance
ENABLE_SCALPINGEnable ScalpingBooleanEnabledAllow partial position sells below profit target
SCALPING_MIN_PROFITScalping Min Profit (%)Number0.5Fixed minimum profit for partial sells when auto gain is off
SCALPING_SELL_AMOUNTLower Scalp AmountRange (0.1–0.5, step 0.05)0.25Minimum proportion of position to partial sell (below pivot)
SCALPING_UPPER_SELL_AMOUNTUpper Scalp AmountRange (0.5–1, step 0.05)0.75Maximum proportion of position to partial sell (above pivot)
PARTIAL_SELL_TYPEScalp TypeSelect: auto | trail | declineautoMethod for partial sells: auto picks based on zone and trend

Trailing Stop

Configure trailing stop behavior for profit taking

ParameterTypeDefaultDescription
ENABLE_TRAILINGEnable TrailingBooleanEnabledEnable trailing stop for profits — uses native td.trade.closeTrail
TRAILING_SPREADTrailing Spread (%)Range (0.25–5, step 0.25)1Trailing stop distance as a percentage from peak profit
RIDE_PROFIT_WAVERide Profit WaveBooleanEnabledPartial sell on trailing instead of full close — rides the remaining position

Stop Loss

Configure stop loss protection

ParameterTypeDefaultDescription
ENABLE_STOP_LOSSEnable Stop LossBooleanDisabledEnable stop loss protection — triggers only when overbought divergence confirms reversal
STOP_LOSS_PERCENTStop Loss (%)Range (1–10, step 0.5)2Stop loss percentage from entry — partial or full close based on margin excess
STOP_LOSS_THRESHOLDSL Margin Threshold (%)Range (0–100, step 10)50Minimum margin ratio required before stop loss can trigger (0 = always)

Indicator Thresholds

Configure indicator levels for entry and exit signals

ParameterTypeDefaultDescription
RSI_BUY_LEVELRSI OversoldRange (10–40, step 5)30RSI level at or below which a buy signal is confirmed
RSI_SELL_LEVELRSI OverboughtRange (60–90, step 5)70RSI level at or above which a sell signal is confirmed
OVERSOLD_BULLISH_BUY_LEVELBullish RSI OversoldRange (20–50, step 5)40Relaxed RSI oversold threshold used during bullish MACD trends
ADX_THRESHOLDADX ThresholdRange (15–40, step 5)25ADX value above which a trend is considered strong
STOCHRSI_BUY_LEVELStoch OversoldRange (10–40, step 5)30Stochastic oversold threshold for entry signals (strict mode)
STOCHRSI_SELL_LEVELStoch OverboughtRange (60–90, step 5)70Stochastic overbought threshold for exit signals (strict mode)
STOCHRSI_BULLISH_LEVELStoch BullishRange (30–60, step 5)50Relaxed stochastic threshold used during bullish MACD trends
MFI_BUY_LEVELMFI OversoldRange (10–40, step 5)30Money Flow Index level at or below which a buy signal is confirmed
MFI_SELL_LEVELMFI OverboughtRange (60–90, step 5)70Money Flow Index level at or above which a sell signal is confirmed
DI_BUY_THRESHOLDDI ThresholdRange (5–30, step 5)15Minimum DI+ minus DI- difference required for Stage 5 directional confirmation

Zone Trading

Configure S/R zone and wick-based entry settings

ParameterTypeDefaultDescription
LAUNCHPAD_BUY_LEVELLaunchpad Buy LevelRange (1–14, step 1)1Minimum support zone count to allow long entries
FIREWALL_SELL_LEVELFirewall Sell LevelRange (1–14, step 1)1Minimum resistance zone count to allow sell exits
TRADE_RANGETrade RangeRange (5–14, step 1)14Zone count ceiling — used for DCA multiplier scaling and partial sell ratios
ENABLE_WICK_TRADEEnable Wick TradingBooleanEnabledEnable wick rejection (hammer/shooting star) detection for entries and exits
WICK_TRADE_LEVELWick Trade LevelRange (1–14, step 1)11Zone 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

VersionDateTypeChanges
v32026-02-18majorMajor update - significant changes
v2.022026-02-18patchPatch update - bug fixes or tweaks
v1.012026-01-18patchPatch update - bug fixes or tweaks