Opposite candle exits in MagicTradeBot are a type of candle-based exit rule designed for fast trade closures when the market shows a short-term reversal. They are especially useful in high-frequency, high-leverage trading, such as 1-minute BTC trades.
๐ง How It Works
- Configuration Parameter
OppositeCandlesCount: 1 # Exit on 1 reversal candle
- Determines the number of consecutive candles moving against your trade that triggers an exit.
The bot monitors the candlestick formation in real time.
Exit Behavior
Once the condition is met (e.g., 1 or 2 opposite candles), the bot closes the trade immediately.
This exit applies to 100% of the position, regardless of any partial TP rules.
Safety Recommendation
Combine with normal stop-loss rules for additional safety
- Example: if the reversal candle moves beyond your entry price, the stop-loss ensures the trade does not cause excessive loss
๐ Example Scenario
- Trade opened long at $100
OppositeCandlesCount: 2- Two consecutive bearish candles form โ bot closes trade fully
- If stop-loss is configured at -5%, it acts as backup protection in case the candle reversal exceeds expectations
๐ Key Points
- Fast Reaction: Exits trades quickly on short-term reversals
- Full Position Closure: Unlike partial TP, closes entire position
- Combine With Stop-Loss: Ensures safer trading, especially in volatile markets
- Best for High-Leverage / High-Frequency Trades: E.g., 1โ5 minute BTC or ETH trades
- Experimental: Should be tested thoroughly before applying large capital
In short, opposite candle exits help the bot minimize losses in fast-moving markets by reacting to short-term trend reversals, making them a valuable tool for high-frequency strategies.