From 6296cc36b21a6acd629d30692e48bce5c52b92a8 Mon Sep 17 00:00:00 2001 From: pietro_giacobazzi Date: Sat, 13 Jun 2026 15:41:06 +0200 Subject: [PATCH] Fix remaining Orchestrator references: replace 't' with openTrades[idx] in OnTradeClose loop and active flag --- MQL5/Experts/MultiAgentTest/Core/Orchestrator.mqh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MQL5/Experts/MultiAgentTest/Core/Orchestrator.mqh b/MQL5/Experts/MultiAgentTest/Core/Orchestrator.mqh index 6b5bc39..9f72a8b 100644 --- a/MQL5/Experts/MultiAgentTest/Core/Orchestrator.mqh +++ b/MQL5/Experts/MultiAgentTest/Core/Orchestrator.mqh @@ -515,8 +515,8 @@ void OnTradeClose(int ticket, double closePrice) { double sigThr = combinedZStats.Ready() ? combinedZStats.Std() / MathSqrt(MathMax(1, agentCount)) : 1.0 / MathSqrt(MathMax(1, agentCount)); - for(int i=0; i