1
0
포크 0
커밋 그래프

3 commits

작성자 SHA1 메시지 날짜
google-labs-jules[bot]
3bad7e84e8
feat(mql5): cache MTF confirmation to reduce CPU load (#78)
Improves performance by caching the multi-timeframe (MTF) confirmation result.

Previously, the MTF confirmation logic (checking EMA crosses on a lower timeframe) was executed on every price tick. This involved expensive `CopyBuffer` calls, leading to unnecessary CPU usage.

This change introduces a caching mechanism where the MTF result is only recalculated when a new bar forms on the lower timeframe. This drastically reduces redundant computations, resulting in a more efficient Expert Advisor and Indicator, especially in volatile market conditions. The `CopyTime` function is used to efficiently check for a new bar on the `LowerTF`.

A bug in the initial implementation where the `_Symbol` was missing from the `CopyTime` call has been fixed and verified.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-01-10 05:36:08 +07:00
Cursor Agent
11782a3d7f feat: Add SL/TP modes and risk management to EA
Co-authored-by: genxdbxfx3 <genxdbxfx3@gmail.com>
2025-12-26 08:17:39 +00:00
Cursor Agent
cd29b25967 feat: Add SMC Trend Breakout MTF indicator and EA
Co-authored-by: genxdbxfx3 <genxdbxfx3@gmail.com>
2025-12-26 07:26:47 +00:00