MQL5-Google-Onedrive/mt5
google-labs-jules[bot] b0989100a5 feat(ea): Cache static symbol properties in OnInit
This commit optimizes the MQL5 Expert Advisor by caching static symbol properties (like point size, digits, and lot information) in global variables during the `OnInit` function.

This change avoids repeated, unnecessary calls to `SymbolInfo...` functions within the performance-critical `OnTick` function and its helper methods. By fetching this data only once at startup, the EA's per-tick execution becomes more efficient, reducing computational overhead.

The `SymbolInfoDouble` calls for Ask and Bid have also been replaced with the faster, pre-defined global variables `Ask` and `Bid`.
2026-01-19 17:39:04 +00:00
..
MQL5 feat(ea): Cache static symbol properties in OnInit 2026-01-19 17:39:04 +00:00