mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 02:30:56 +00:00
This change introduces log and alert throttling for MQL5 Expert Advisors to prevent performance bottlenecks when a limit is reached or AutoTrading is disabled. - In `ExpertMAPSARSizeOptimized_Improved.mq5`, `CheckDailyLimits()` now throttles log messages for max trades, daily loss, and daily profit to once per hour. - In `SMC_TrendBreakout_MTF_EA.mq5`, AutoTrading environment checks are throttled to once per hour to avoid redundant logging every bar. - These optimizations prevent synchronous `Print()` and `Alert()` calls from flooding the terminal during high volatility or when trading is restricted, ensuring the EA remains responsive. |
||
|---|---|---|
| .. | ||
| Experts | ||
| Indicators | ||