Can stop-loss behavior change over time within the same trade?
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.
Related Topics
Ready to trade? Download MagicTradeBot free
and test in paper mode before going live.