Suivre
0
0
Forker
Vous avez déjà forké MQL5-Google-Onedrive
1
miroir de https://github.com/A6-9V/MQL5-Google-Onedrive.git synchronisé 2026-10-08 23:01:38 +00:00
MQL5-Google-Onedrive/mt5/MQL5/Indicators
Fichiers du dépôt (dernière modification en premier)
Fichier Dernier message de commit Date du dernier commit
google-labs-jules[bot] f2fb340adf ⚡ Bolt: Optimized SMC_TrendBreakout_MTF indicator performance
This optimization improves the execution efficiency of the `SMC_TrendBreakout_MTF` indicator by:
- Replacing the manual buffer clearing loop in `OnCalculate()` with the native `ArrayFill()` function.
- Replacing the `CopyTime()` call in `GetMTFDir()` with the lighter `iTime()` function for MTF bar timestamp checks.
- Refactoring input-based logic (Donchian lookback and signal bar index) into global cached variables initialized in `OnInit()`, avoiding redundant calculations on every new bar.

These changes reduce CPU overhead and improve the indicator's responsiveness, especially when attached to multiple charts or using lower timeframe confirmations.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-06 10:52:52 +00:00
..
SMC_TrendBreakout_MTF.mq5 ⚡ Bolt: Optimized SMC_TrendBreakout_MTF indicator performance 2026-02-06 10:52:52 +00:00