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.

๐Ÿ“Ž Related Topics