mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 06:40:57 +00:00
This optimization improves the performance of the Expert Advisor by caching static symbol properties (e.g., point size, digits, lot size rules) in global variables during the `OnInit` phase. Previously, these values were fetched using `SymbolInfo...()` functions on every tick, causing unnecessary overhead in the performance-critical `OnTick` hot path. This change also replaces calls to `SymbolInfoDouble` for Ask/Bid prices with the faster, built-in `Ask` and `Bid` global variables. |
||
|---|---|---|
| .. | ||
| ExpertMAPSARSizeOptimized_Improved.mq5 | ||
| SMC_TrendBreakout_MTF_EA.mq5 | ||