What are candle-based exit rules in MagicTradeBot?

Candle-based exit rules are experimental, high-frequency trading strategies in MagicTradeBot that allow the bot to close trades based on candlestick patterns rather than fixed percentages or time-based rules. These rules are most useful for fast, short-term trades in highly liquid and volatile markets like BTC.


🧠 How Candle-Based Exit Rules Work

  1. Timeframe Dependent

    • Typically used on low intervals (e.g., 1-minute or 5-minute candles)
    • The bot monitors the formation of new candles to detect sudden reversals
  2. Trade Closure on Opposite Candle Formation

    • If a trade is open and the next 1 or 2 candles move against the trade direction, the bot can automatically close the position
    • This allows very aggressive entries and exits that aim to capitalize on micro trends
  3. High-Leverage Compatibility

    • Candle-based exits are often combined with high leverage (e.g., 50x–100x)
    • Small price movements can generate significant profits when trades are closed quickly
  4. Experimental Nature

    • Rules are not fully tested in all market conditions
    • Best suited for coins with strong momentum (e.g., BTC, ETH) and experienced users
    • Outcomes are highly dependent on strategy design and market conditions

🔄 Example Scenario

1-Day Trading Example:

  • Leverage: 100x
  • Trades executed based on candle patterns (1-minute interval)
  • Results:

    • Total Wins = 50
    • Total Losses = 40
    • Max Win = 100 USDT
    • Max Loss = 20 USDT
    • Average PNL = 10 USDT per trade

Observation:

  • Quick exits reduce exposure to adverse market moves
  • Winning streaks can be exponential if candle patterns align with momentum
  • Even though individual trade wins are small, overall profitability is positive when executed with proper strategy

📌 Key Points

  • High-Frequency Focus: Ideal for fast trades, not for long-term holding
  • Automates Manual Candle Watching: Hard to execute manually due to rapid timing
  • High Risk, High Reward: Requires precise configuration, particularly with leverage
  • Experimental: Use cautiously and test thoroughly before applying large capital
  • Hidden Edge: When executed properly, can generate consistent gains in volatile markets

In short, candle-based exit rules let MagicTradeBot react instantly to market momentum, allowing rapid trade closures based on candlestick formations—a strategy nearly impossible to execute manually but highly potent when configured correctly.

📎 Related Topics