Commit Graph

1 Commits

Author SHA1 Message Date
mindesbunister
6c440959a5 feat: Add Enable/Disable toggle functionality for automation control
Enhanced Button Behavior:
- DISABLE button (Yellow): Prevents automation triggers when positions exist
- ENABLE button (Green): Re-enables automation triggers
- STOP button (Red): Stops active automation when running
- Dynamic color coding and tooltips for each state

 Smart State Management:
- Tracks manual disable state independently of automation status
- Button toggles between DISABLE → ENABLE → DISABLE cycle
- Preserves safety when positions exist but automation not running

 User Control Features:
- Safe position management: Disable before closing positions manually
- Easy re-activation: Enable when ready for automated trading
- Emergency stop: Always available for complete shutdown

 Button Color System:
- 🛑 Red: Active automation (STOP)
- 🛑 Yellow: Ready to disable triggers (DISABLE)
-  Green: Disabled, ready to enable (ENABLE)
- 🚨 Red Dark: Emergency shutdown (EMERGENCY)

Now users can safely toggle automation on/off while managing positions manually.
2025-07-28 14:50:01 +02:00