Can I configure multiple Smart TP rules per trade?
Yes, you can configure multiple Smart TP rules, but with some important details regarding scope and application in MagicTradeBot.
π§ How Smart TP Rules Work
Rules are global or template-based
- Applied across all symbols or trades that are active under the loaded template
- Currently, you cannot assign separate Smart TP rules to individual symbols
- All rules defined in
TakeProfitRuleswill be evaluated for every trade
Example:
TakeProfitRules:
- TargetProfitPer: 6
SellPer: 40
RuleName: "Partial TP 1"
IsEnabled: true
EnableSmartTP: true
TrailingGapPer: 2
MinProfitLock: 4
UseDynamicGap: true
- TargetProfitPer: 12
SellPer: 60
RuleName: "Partial TP 2"
IsEnabled: true
EnableSmartTP: true
TrailingGapPer: 3
MinProfitLock: 6
UseDynamicGap: true
- Rule 1 triggers first at 6% profit β sells 40% of the position
- Rule 2 triggers next at 12% profit β sells remaining 60%
- Both rules apply to all trades, as symbol-specific configuration is not available before v4.9
π Execution Logic
Prioritization:
- Rules are executed based on ascending
TargetProfitPer - Lower profit targets are executed before higher ones
- Rules are executed based on ascending
Partial vs Full TP:
- Partial TP rules (
SellPer < 100) allow gradual position scaling out - Full TP rules close the remaining position once target is reached
- Partial TP rules (
Smart TP Behavior:
- Each rule can independently apply trailing logic via
TrailingGapPerandUseDynamicGap - Works together with MinProfitLock to secure profits
- Each rule can independently apply trailing logic via
π Key Points
- Multiple Smart TP rules can coexist for the same trade
- Rules are global/template-based, not symbol-specific (pre-v4.9)
- Ideal for staggered profit-taking and maximizing gains across all trades
- Compatible with partial TP, trailing, and dynamic gap features
Related Topics
What are Take Profit rules in the decision engine?
What is partial take profit and how does it work?
Can MagicTradeBot scale out of positions gradually?
How are multiple take profit rules prioritized?
What is the difference between market and limit TP orders?
What is the difference between Fixed TP and Smart TP?
Ready to trade? Download MagicTradeBot free
and test in paper mode before going live.