Yes, in MagicTradeBot, stop-loss behavior can change over time, but this depends on how you configure Threshold Rules for a trade.
🧠 How It Works
Single Rule:
- If only one stop-loss rule is set for a trade, the stop-loss behavior is fixed based on that rule.
- No adjustments occur over time; the trade will only close if that single threshold is met.
Multiple Rules:
- By defining multiple time-based Threshold Rules, the stop-loss can adapt as the trade ages.
- Each rule becomes active when the trade reaches the specified age in minutes (
Minutesparameter). Later rules can adjust:
- Loss thresholds (
ThresholdPer) - Dynamic SL behavior (
EnableDynamicSL/DynamicSLPercentage) - Profit-close conditions (
CloseIfProfit)
- Loss thresholds (
🔄 Example Configuration
ThresholdRules:
- Minutes: 10
ThresholdPer: -20
RuleName: "Stop Loss - Short"
EnableDynamicSL: false
CloseIfLoss: true
- Minutes: 20
ThresholdPer: -10
RuleName: "Stop Loss - Short"
EnableDynamicSL: false
CloseIfLoss: true
- Minutes: 60
ThresholdPer: 0.0
RuleName: "Stop Loss - Short"
EnableDynamicSL: true
DynamicSLPercentage: 3
CloseIfProfit: true
Behavior over time:
- 0–10 minutes: Only Rule 1 is active → triggers if loss > 20%
- 10–20 minutes: Rule 2 overrides → now triggers if loss > 10%
- After 60 minutes: Rule 3 activates → can close trade if profit ≥ 0% and dynamic stop-loss begins tracking favorable movement
📌 Key Points
- Stop-loss can change over time only if multiple rules are configured
- Time-based rules allow gradual adaptation to trade progress and market behavior
- Dynamic SL in later rules can trail profits after initial thresholds have passed
- Single-rule configuration results in static stop-loss behavior
In short, stop-loss behavior is flexible when using multiple rules, allowing the bot to tighten or relax exit thresholds as the trade evolves, mimicking a professional trader’s decision-making process.