What does the Enabled flag control?
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.