What does the Enabled flag control?
The Enabled flag is the master switch for the entire Extreme Volatility Monitor module in MagicTradeBot.
When this flag is set to:
Enabled: true
the volatility engine becomes fully active and begins:
- Monitoring configured symbols
- Calculating abnormal price movement
- Triggering alerts
- Enforcing emergency close rules
- Locking new trades (if configured)
- Executing auto-trades (if AutoTrade is enabled)
๐ด What Happens If It Is Disabled?
When:
Enabled: false
the entire volatility analytics system is completely turned off.
This means:
- โ No volatility calculations
- โ No alert broadcasts
- โ No emergency position closures
- โ No trade locking
- โ No auto-trades triggered by extreme market movements
Even if all thresholds and sub-settings are configured, nothing will execute while the master switch is off.
โ๏ธ Important Clarification
The Enabled flag overrides all sub-configurations.
For example:
- AutoTrade.Enabled = true
- StopLoss.Enabled = true
- LockPercent is configured
If the master Enabled flag is set to false, none of these features will activate.
It acts as a global safety toggle.
๐ฏ When Should You Turn It Off?
You may disable the module when:
- You want full manual trading control
- You are testing other strategies without volatility interference
- Market conditions are stable and extreme protection is unnecessary
- You want to temporarily pause volatility-based automation
๐ก๏ธ Best Practice
Keep the module:
- Enabled = true for live protection
- Adjust thresholds as needed
- Disable only when you intentionally want the bot to ignore volatility logic
๐ Summary
The Enabled flag controls whether the entire Extreme Volatility Monitor is active or completely inactive.
It is the global on/off switch for:
- Alerts
- Emergency closes
- Trade locks
- Volatility-triggered auto-trades
If itโs off, the module does nothing โ regardless of any other settings.