From ed04bb2b1afc0b8baed321e93c8662348756b169 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Wed, 1 Oct 2025 20:42:40 +0330 Subject: [PATCH] last ... --- Experts/x-saherelm.x-expert.ea.mq5 | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Experts/x-saherelm.x-expert.ea.mq5 b/Experts/x-saherelm.x-expert.ea.mq5 index b43d7a0e..4c287aa6 100644 --- a/Experts/x-saherelm.x-expert.ea.mq5 +++ b/Experts/x-saherelm.x-expert.ea.mq5 @@ -367,15 +367,26 @@ bool CanAnalyseEventTriggered( } /** - * Check For Guard Event Handler ... + * Check For Guard ... * - * @param guards: XGuard[] + * @param guards: XGuard, reference Collection to holds result ... + * @param positions: XPosition, refrence collection to Provides Positions ... + * @param barIndex: int, Specified Bar index ... * * @return ( int ) */ -int CheckForGuardTriggered(XGuard &guards[]) +int CheckForGuardTriggered( + XGuard &guards[], + XPosition &positions[], + int barIndex = 0 // +) { - return eaExpert.CheckForGuardTriggered(guards); + // + return eaExpert.CheckForGuardTriggered( + guards, + positions, + barIndex // + ); } /**