MQL5-Google-Onedrive/.jules
google-labs-jules[bot] 901d644465 Bolt: optimize EA execution flow and trade-state caching
This commit implements a cached trading state check and log throttling in `SMC_TrendBreakout_MTF_EA.mq5`.

- Added `IsTradingAllowed()` helper with 1-second caching for terminal API calls.
- Implemented log throttling to prevent journal flooding when AutoTrading is disabled.
- Refactored `OnTick()` to use the optimized check immediately after the new bar gatekeeper.

These changes reduce CPU overhead and log I/O, especially when the EA is running in a restricted state during high market volatility.
2026-02-13 17:48:54 +00:00
..
bolt.md Bolt: optimize EA execution flow and trade-state caching 2026-02-13 17:48:54 +00:00
deploy.yml Add dev container setup, cloud deployment configs, and Jules deployment automation 2026-01-19 09:53:30 +07:00