From 3562732d40cd2d71a1df31de8c5439552d73c0ed Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Tue, 21 May 2024 06:53:47 +0330 Subject: [PATCH] last works ... --- Classes/x-saherelm.x5.provider.class.mq5 | 4 ++-- Classes/x-saherelm.xea.class.mq5 | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Classes/x-saherelm.x5.provider.class.mq5 b/Classes/x-saherelm.x5.provider.class.mq5 index 971a1bd0..a78d5cb0 100644 --- a/Classes/x-saherelm.x5.provider.class.mq5 +++ b/Classes/x-saherelm.x5.provider.class.mq5 @@ -94967,8 +94967,8 @@ struct X5ProviderDescriptor // string symbol; // Trading Symbol ENUM_TIMEFRAMES period; // Trading Timeframe - bool allowLong = true; // Allow Long Signals - bool allowShort = true; // Allow Short Signals + bool allowLong; // Allow Long Signals + bool allowShort; // Allow Short Signals ENUM_X5_SIGNAL_PROVIDERS signallers[]; // Allowed Signal Providers // diff --git a/Classes/x-saherelm.xea.class.mq5 b/Classes/x-saherelm.xea.class.mq5 index 3b205753..ed72ec57 100644 --- a/Classes/x-saherelm.xea.class.mq5 +++ b/Classes/x-saherelm.xea.class.mq5 @@ -610,7 +610,8 @@ public: // int filteredSignalsCount = ArraySize(filteredSignals); - if (filteredSignalsCount <= 0) { + if (filteredSignalsCount <= 0) + { return; } @@ -627,7 +628,7 @@ public: string message = NULL; if (executedSignalsCount == 0) { - message = "(" + ToString(filteredSignals) + ") Signals Execution Failed ..."; + message = "(" + ToString(filteredSignalsCount) + ") Signals Execution Failed ..."; } else if (executedSignalsCount < filteredSignalsCount) {