Decision Templates are structured rule containers inside MagicTradeBotโs Intelligent Decision Engine that allow you to group and activate different decision-making rules based on changing market conditions.
Instead of using one fixed set of exit and safety rules for all market environments, templates allow the bot to adapt its behavior dynamically depending on whether the market is:
- Bullish
- Bearish
- Sideways
- Highly volatile
- Calm or stable
This makes the system more market-aware and strategically flexible.
๐ง Why Templates Are Important
Markets do not behave the same way every day.
For example:
- A short-based strategy may perform well in a bearish market
- The same strategy may fail in a strong bullish trend
- Scalping rules may work in extreme volatility
- Longer holding periods may be better in stable trends
Using one static rule configuration for all market conditions can reduce performance or increase risk.
Decision Templates solve this by allowing:
- Different rule configurations
- Different TP/SL logic
- Different time-based rules
- Different trade durations
- Different aggression levels
All wrapped into structured templates.
๐ How Templates Conceptually Work
The idea is to:
- Design rule sets for specific market conditions
- Test them independently
- Automate switching logic
- Let the bot load the appropriate template based on detected market behavior
This creates dynamic decision adaptation.
๐ Example Template Structure (Conceptual Model)
In a fully developed template system, it would work like:
1๏ธโฃ General Template (Fallback Default)
- Used when no special condition is detected
- Balanced rules
- Moderate TP/SL
- Standard holding time
2๏ธโฃ Weekend Template
- Applied during weekends
- Market volatility often lower
- Adjusted time-based exits
- Reduced aggressiveness
3๏ธโฃ Bearish Template
Activated when:
- High number of short signals
- Bearish trend detected
- Market structure indicates downward pressure
Configuration may include:
- Faster take profits
- Tighter trailing
- More aggressive stop-loss
- Short-biased strategies
4๏ธโฃ Bullish Template
Activated when:
- Long signals dominate
- Uptrend confirmed
Configuration may include:
- Wider trailing gap
- Allow profits to run longer
- Extended holding time
5๏ธโฃ Extreme Bullish Template
Used during strong breakout rallies:
- Very short trade duration (5โ20 minutes may be enough)
- Aggressive trailing logic
- Quick profit locking
- Fast reaction intervals
6๏ธโฃ Extreme Bearish Template
Used during crash cycles:
- Defensive behavior
- Short holding time
- Tight risk controls
- Possible trade locking during instability
โฑ Example of Time Adjustment Per Template
In extreme volatility:
- 5โ20 minute trades may be sufficient
- Quick entry โ quick exit
In normal or trending days:
- Trades may require hours
- Wider TP targets
- Slower trailing adjustments
Templates allow these differences to be pre-defined and automated.
๐ Why This Is Powerful
Without templates:
- Same decision rules apply to all conditions
- Strategy becomes rigid
- Performance varies significantly across market cycles
With templates:
- Strategy becomes adaptive
- Risk is tuned per condition
- Profit logic adjusts automatically
- Bot behaves closer to a professional trader adjusting strategy daily
๐ Current Status
As of MagicTradeBot 4.9:
- The template system is in testing phase
- Only one template is enabled
- This avoids unnecessary complexity and confusion
- Future versions will expand multi-template support
๐ฏ In Simple Words
Decision Templates allow MagicTradeBot to:
- Wrap decision rules into market-specific configurations
- Switch logic based on detected conditions
- Adapt to bullish, bearish, and extreme volatility scenarios
- Become smarter and more resilient across market cycles
It is a future-focused architecture designed to make the Decision Engine more dynamic, structured, and market-aware.