MagicTradeBot – Optimized Trading Presets

MagicTradeBot provides pre-optimized trading modes for different styles: Scalp, Day, Swing, and Long-Term trading. Each preset includes tailored Kline settings, refresh parameters, and Intelligent Exit Strategies for best performance under specific market conditions.


1. Overview

Each trading mode defines its own analytical depth and refresh speed to balance performance, accuracy, and API efficiency.

Trading Type Market Focus Typical Duration Goal
Scalp Ultra-short-term moves Minutes Capture rapid micro-swings
Day Intraday opportunities Hours Maximize daily volatility
Swing Multi-day trends 1–7 Days Ride medium-term swings
Long-Term Macro market positioning Weeks–Months Capture major long-term trends

2. Kline Configuration


Kline:
  RefreshInterval: 3
  maxKlineLength: 30
  chunkSize: 20
  refreshRate: 7
  summaryInterval: "15m"
  strategyIntervals:
    scalp: ["15m"]
    day: ["15m", "30m", "1h", "2h", "4h"]
    swing: ["1h", "2h", "4h", "6h", "12h"]
    long: ["1d"]
    default: ["5m", "15m", "1h"]
  

3. Preset Details

3.1 Scalp Trading

Objective: Exploit short-term volatility and micro swings.

Kline Candles to Fetch50
Kline Intervals3m, 5m, 15m
Recommended Refresh Rate3–5 seconds
Stop-Loss / Take-ProfitSL ≤ 0.5%, TP 1–2%
Trailing LogicEnable trailing SL (0.3–0.5%)
Exit StrategyQuick Stop Loss (≤ 30 min hold)

Use Case: BTC/USDT or ETH/USDT scalping during high volatility.

3.2 Day Trading

Objective: Capture multiple intraday price swings.

Kline Candles to Fetch50
Kline Intervals15m, 30m, 1h, 2h, 4h
Recommended Refresh Rate5–10 seconds
Stop-Loss / Take-ProfitSL 1–1.5%, TP 2–4%
Trailing LogicEnable breakeven at +1% with 0.3% buffer
Exit StrategyExtended Stop Loss or Profit Protection

Use Case: ETH/USDT day trades with 2–4% swing targets.

3.3 Swing Trading

Objective: Hold positions across several days to capture trend movements.

Kline Candles to Fetch50
Kline Intervals1h, 2h, 4h, 6h, 12h
Recommended Refresh Rate5–20 seconds
Stop-Loss / Take-ProfitSL 2–3%, TP 5–10%
Trailing LogicEnable trailing TP at +3% with 0.5% offset
Exit StrategyProfit Protection and adaptive exits

Use Case: Mid-term BTC/USDT and altcoin momentum trading.

3.4 Long-Term Trading

Objective: Manage macro positions over weeks or months.

Kline Candles to Fetch30
Kline Intervals1d, 1w, 1M
Recommended Refresh Rate20–30 seconds
Stop-Loss / Take-ProfitSL 5–10%, TP 15–30%
Trailing LogicEnable Dynamic Trailing Scaling
Exit StrategyProfit Protection - Long (adaptive)

Use Case: Long-term accumulation on BTC or ETH using daily/weekly candles.


4. Intelligent Exit Logic


IntelligentRuleOptions:
  IsEnabled: true
  MinimumHoldTime: 1
  MaximumBuyHoldTime: 20
  MaximumSellHoldTime: 10
  CandleExitRules:
    IsEnabled: false
    OppositesCandlesCount: 2
    ExitPercentage: 100
    RuleName: "Momentum Reversal Exit"
  
  • Scalp Mode: Activates quick stop-losses within 30 minutes.
  • Day Mode: Uses extended thresholds up to 6 hours.
  • Swing Mode: Enables profit protection beyond 12 hours.
  • Long Mode: Focused on adaptive exits and re-entry logic.

5. Global Safety & Loss Control


IntelligentGlobalSettings:
  MinProfitToEnableTP: 0.0
  MaxLossBeforeForceClose: -30.0
  
  • Force-close triggers if total drawdown exceeds -30%.
  • Take-profit logic activates only after reaching minimal profit threshold.

6. Summary Table

Mode Candle Fetch Intervals Refresh (sec) SL% TP% Strategy Notes
Scalp 50 3m–15m 3–5 0.3–0.5 1–2 Fast reaction, tight trailing
Day 50 15m–4h 5–10 1–1.5 2–4 Balanced daily capture
Swing 50 1h–12h 15–30 2–3 5–10 Trend-following exits
Long 30 1d–1w 30–60 5–10 15–30 Macro trend tracking

📎 Related Topics