What are decision templates in MagicTradeBot?

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:

  1. Design rule sets for specific market conditions
  2. Test them independently
  3. Automate switching logic
  4. 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.

📎 Related Topics