MfRider Strategy Documentation
Version: 3.0.0
Developer: TradeStaq Technologies
Market: Spot
Platform: Gunbot
Table of Contents
- Overview
- Key Features
- Configuration Parameters
- Strategy Logic Summary
- 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
| Parameter | Default | Description & Examples |
|---|---|---|
| TRADE_MODE | auto | Execution Style. auto: Balanced growth. normal: Standard parameters. safe: High-conviction entries only. |
| TRADING_LIMIT_TYPE | value | Sizing Model. Select value for a fixed quote amount or percentage to scale automatically based on a % of your Wallet Balance. |
| MF_TRADING_LIMIT | 5 | Base Trade Size. The quote currency amount (if value) or % of balance (if percentage) used for the initial entry. |
| MF_CAPITAL | 500 | Cycle Allocation. The total capital assigned to this trading pair. Recommended: 100x your Trade Limit. |
| PERIOD | 5 | Signal TF. Primary timeframe for entry/exit signals (in minutes). |
| PERIOD_MEDIUM | 240 | Trend TF. Medium timeframe used for trend confirmation. |
| PERIOD_LONG | 240 | Macro TF. Long timeframe for broader market direction. |
2. Compounding & Growth
Unique settings that power the MfRider account growth engine.
| Parameter | Default | Description & Examples |
|---|---|---|
| MF_COMPOUND_RATIO | 0 | Reinvestment 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_TL | false | Limit 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
| Parameter | Default | Description & Examples |
|---|---|---|
| AUTO_GAIN | true | Dynamic Profits. If true, targets are set based on market volatility. |
| MIN_AUTO_PROFIT | 0.3 | Floor Profit. The minimum % gain for a full position close when Auto Gain is active. |
| MIN_AUTO_PARTIAL_PROFIT | 0.3 | Partial Floor. The minimum % gain for a partial scalp when Auto Gain is active. |
| PROFIT_QUOTIENT | 2 | Full Target Multiplier. Adjusts how aggressively the bot pursues full-position profit targets. |
| PARTIAL_PROFIT_QUOTIENT | 2 | Scalp Multiplier. Adjusts how aggressively the bot pursues partial profit targets. |
| GAIN | 2 | Manual Target. The target profit % used if Auto Gain is disabled. |
| ENABLE_SCALPING | false | Partial Exits. If true, allows the bot to sell portions of its position to lock in gains early. |
| ENABLE_TRAILING | true | Profit Runner. Wait for price to peak before closing the position. |
| TRAILING_SPREAD | 1 | Callback %. The distance the price must drop from its peak to trigger the trailing sell. |
| RIDE_PROFIT_WAVE | true | Momentum Holding. Hold through target hits if the trend is strongly upward, exiting only on a confirmed reversal. |
| ENABLE_STOP_LOSS | false | Emergency Exit. Activates the conditional stop-loss mechanism. |
| STOP_LOSS_SELL_TYPE | partial | Exit Method. partial: Reduces position to safe levels. full: Liquidates the entire position. |
| STOP_LOSS_PERCENT | 2 | Loss Threshold. The % loss at which the stop-loss logic engages. |
| STOP_LOSS_THRESHOLD | 50 | State Preservation. The % of capital usage the bot tries to maintain after a partial SL reduction. |
4. Execution & Automation
| Parameter | Default | Description & Examples |
|---|---|---|
| BUY_ENABLED | true | Entry Switch. Set to false to stop opening new trades or adding to existing ones. |
| SELL_ENABLED | true | Exit Switch. Set to false to hold positions indefinitely (never sell). |
| STOP_AFTER_SELL | false | One-Off Mode. If true, the bot stops trading after successfully closing a position. |
| DCA_QUOTIENT | 3 | Order Density. Max consecutive buys allowed in a standard support zone. |
| BATTLEGROUND_DCA_QUOTIENT | 5 | Defense Density. Increased number of buys allowed in the "Battleground" (Pivot) zone. |
| MAX_DCA_MULTIPLIER | 3 | Upper Limit. The maximum allowed multiplier for any single DCA order to protect total margin. |
| ENFORCE_DCA_MIN_STEP | false | Price Gap. If true, ensures a minimum price distance is maintained between subsequent DCA orders. |
| ENFORCE_DCA_MIN_STEP_QUOTIENT | 3 | Gap Multiplier. Defines the size of the minimum price gap between DCA orders. |
| DCA_MODE | decline | DCA Execution Logic. Defines the mathematical model for timing entries during a price drop. |
| LAUNCHPAD_BUY_LEVEL | 1 | Entry Sensitivity. Lower values make the bot more aggressive at buying support zones. |
| FIREWALL_SELL_LEVEL | 1 | Exit Sensitivity. Lower values make the bot more aggressive at selling resistance zones. |
| ENABLE_WICK_TRADE | false | Flash Capture. Snipe deep wicks that hit significant support levels. |
| WICK_TRADE_LEVEL | 11 | Wick Sensitivity. Which support level a wick must hit to trigger. |
| STRICT_DCA | false | Signal Filter. If true, requires indicator confluence for every DCA (safer but slower). |
| MEDIAN_MARGIN_PERCENT | 75 | Aggression Gating. Margin usage threshold that restricts Stage 2/6 DCA entries if capital is already tight. |
| STAGE_THREE_CAPITAL | 50 | Risk Brake. Prevents the third leg of DCA if margin usage already exceeds this percentage. |
Strategy Logic Summary
- Cycle Initialization: The bot establishes your base capital and checking the compounding history to determine the active trading limit for the current cycle.
- Zone Awareness: It continuously maps Support (Launchpads) and Resistance (Firewalls). Entries are strictly timed to occur at these high-value zones.
- 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. - 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
percentagemode, 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.
Deploy MFRider
Backtest and deploy this strategy on any of these exchanges.