forked from LengKundee/MQL5-Google-Onedrive
- Move iTime new bar check to the top of OnTick to act as a gatekeeper. - Move TerminalInfo, MQLInfo, and PositionSelect checks inside the new bar block to reduce terminal API calls. - Use static arrays for memory reuse (MqlRates and indicator buffers). - Remove redundant close[] array and use rates[] directly. - Pre-calculate lot value multiplier in OnInit to simplify lot size calculation. - documented expected performance impact. Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ExpertMAPSARSizeOptimized_Improved.mq5 | ||
| SMC_TrendBreakout_MTF_EA.mq5 | ||