MfRider Strategy Documentation

Version: 3.0.0
Developer: The Staq Technologies Ltd
Market: Spot Platform: Gunbot

Table of Contents

  1. Overview
  2. Key Features
  3. Configuration Parameters
  4. Strategy Logic Summary
  5. Strategic Mastery & Success Guide

Overview

MfRider is the powerhouse of the "Rider" suite, specifically engineered for consistent capital growth through intelligent compounding and multi-layered market analysis. It is a highly adaptive strategy that identifies high-probability entry zones (Launchpads) and resistance levels (Firewalls) to navigate both trending and ranging markets.

The core philosophy of MfRider is Sustained Momentum. It doesn't just look for a single trade; it looks to build and manage a position that maximizes profit while strictly defending your base capital.


Key Features

  • Elite Compounding Engine: Automatically reinvests realized profits back into your trading cycle. You can choose to increase your total working capital or dynamically scale your per-trade position size.
  • Dynamic Trading Limits: Switch between fixed execution amounts or auto-scaling percentage-based limits that grow as your wallet balance grows.
  • Multi-Timeframe Zone Detection: Scans across Short, Medium, and Long timeframes to ensure every entry is supported by institutional-grade price structure.
  • Smart DCA & Step Protection: Uses dynamic spacing and a "Battleground" logic to prevent over-stacking orders in high-churn price regions.
  • Dashboard Persistence: Features advanced background caching to ensure your trade data, compounding stats, and PnL remain visible and stable on the sidebar at all times.

Configuration Parameters

1. Trade Configuration

ParameterDefaultDescription & Examples
TRADE_MODEautoExecution Style. auto: Balanced growth. normal: Standard parameters. safe: High-conviction entries only.
TRADING_LIMIT_TYPEvalueSizing Model. Select value for a fixed quote amount or percentage to scale automatically based on a % of your Wallet Balance.
MF_TRADING_LIMIT5Base Trade Size. The quote currency amount (if value) or % of balance (if percentage) used for the initial entry.
MF_CAPITAL500Cycle Allocation. The total capital assigned to this trading pair. Recommended: 100x your Trade Limit.
PERIOD5Signal TF. Primary timeframe for entry/exit signals (in minutes).
PERIOD_MEDIUM240Trend TF. Medium timeframe used for trend confirmation.
PERIOD_LONG240Macro TF. Long timeframe for broader market direction.

2. Compounding & Growth

Unique settings that power the MfRider account growth engine.

ParameterDefaultDescription & Examples
MF_COMPOUND_RATIO0Reinvestment Rate. The percentage of realized profit to add to your working capital. Example: 0.5 means 50% of profit is reinvested, 50% is "pocketed".
MF_COMPOUND_TLfalseLimit Scaling. If true, the MF_TRADING_LIMIT will also increase proportionally as your compounded capital grows.
MF_COMPOUND_CAPITAL_SINCE(Epoch)Accountability. The start date (in Epoch ms) from which all compounded gains are tracked.

3. PNL Management

ParameterDefaultDescription & Examples
AUTO_GAINtrueDynamic Profits. If true, targets are set based on market volatility.
MIN_AUTO_PROFIT0.3Floor Profit. The minimum % gain for a full position close when Auto Gain is active.
MIN_AUTO_PARTIAL_PROFIT0.3Partial Floor. The minimum % gain for a partial scalp when Auto Gain is active.
PROFIT_QUOTIENT2Full Target Multiplier. Adjusts how aggressively the bot pursues full-position profit targets.
PARTIAL_PROFIT_QUOTIENT2Scalp Multiplier. Adjusts how aggressively the bot pursues partial profit targets.
GAIN2Manual Target. The target profit % used if Auto Gain is disabled.
ENABLE_SCALPINGfalsePartial Exits. If true, allows the bot to sell portions of its position to lock in gains early.
ENABLE_TRAILINGtrueProfit Runner. Wait for price to peak before closing the position.
TRAILING_SPREAD1Callback %. The distance the price must drop from its peak to trigger the trailing sell.
RIDE_PROFIT_WAVEtrueMomentum Holding. Hold through target hits if the trend is strongly upward, exiting only on a confirmed reversal.
ENABLE_STOP_LOSSfalseEmergency Exit. Activates the conditional stop-loss mechanism.
STOP_LOSS_SELL_TYPEpartialExit Method. partial: Reduces position to safe levels. full: Liquidates the entire position.
STOP_LOSS_PERCENT2Loss Threshold. The % loss at which the stop-loss logic engages.
STOP_LOSS_THRESHOLD50State Preservation. The % of capital usage the bot tries to maintain after a partial SL reduction.

4. Execution & Automation

ParameterDefaultDescription & Examples
BUY_ENABLEDtrueEntry Switch. Set to false to stop opening new trades or adding to existing ones.
SELL_ENABLEDtrueExit Switch. Set to false to hold positions indefinitely (never sell).
STOP_AFTER_SELLfalseOne-Off Mode. If true, the bot stops trading after successfully closing a position.
DCA_QUOTIENT3Order Density. Max consecutive buys allowed in a standard support zone.
BATTLEGROUND_DCA_QUOTIENT5Defense Density. Increased number of buys allowed in the "Battleground" (Pivot) zone.
MAX_DCA_MULTIPLIER3Upper Limit. The maximum allowed multiplier for any single DCA order to protect total margin.
ENFORCE_DCA_MIN_STEPfalsePrice Gap. If true, ensures a minimum price distance is maintained between subsequent DCA orders.
ENFORCE_DCA_MIN_STEP_QUOTIENT3Gap Multiplier. Defines the size of the minimum price gap between DCA orders.
DCA_MODEdeclineDCA Execution Logic. Defines the mathematical model for timing entries during a price drop.
LAUNCHPAD_BUY_LEVEL1Entry Sensitivity. Lower values make the bot more aggressive at buying support zones.
FIREWALL_SELL_LEVEL1Exit Sensitivity. Lower values make the bot more aggressive at selling resistance zones.
ENABLE_WICK_TRADEfalseFlash Capture. Snipe deep wicks that hit significant support levels.
WICK_TRADE_LEVEL11Wick Sensitivity. Which support level a wick must hit to trigger.
STRICT_DCAfalseSignal Filter. If true, requires indicator confluence for every DCA (safer but slower).
MEDIAN_MARGIN_PERCENT75Aggression Gating. Margin usage threshold that restricts Stage 2/6 DCA entries if capital is already tight.
STAGE_THREE_CAPITAL50Risk Brake. Prevents the third leg of DCA if margin usage already exceeds this percentage.

Strategy Logic Summary

  1. Cycle Initialization: The bot establishes your base capital and checking the compounding history to determine the active trading limit for the current cycle.
  2. Zone Awareness: It continuously maps Support (Launchpads) and Resistance (Firewalls). Entries are strictly timed to occur at these high-value zones.
  3. Compound & Reinvest: Every time a trade closes in profit, the engine calculates the reinvestment amount based on your MF_COMPOUND_RATIO. This value is instantly reflected in your working capital for the next trade.
  4. Volatility Adaptation: Profit targets and DCA distances are not static. The bot "listens" to the market's heartbeat and expands or contracts its range to stay profitable in any environment.

Strategic Mastery & Success Guide

[!TIP] The Power of Compounding: Even a small MF_COMPOUND_RATIO (like 0.2) can lead to significant account growth over hundreds of trades. It is recommended to keep this active to let the math work for you.

[!IMPORTANT] Wallet Balance vs. MF_CAPITAL: In percentage mode, the bot uses your Total Wallet Balance for sizing. Ensure you have enough base currency to cover the trades if you are using high percentage values.

Pro-Setup for Growth:

  • Limit Type: Percentage
  • Trading Limit: 1-2%
  • Compound Ratio: 0.5
  • Compound TL: True
  • Auto Gain: True

This setup allows your account to stay agile on small balances while automatically scaling into larger positions as you win.


Ride the wave, compound the gains.