From 598253cfc3b4f1879b507981fc36cdf768ea4766 Mon Sep 17 00:00:00 2001 From: Nikolai Date: Wed, 12 Feb 2020 20:41:03 +0300 Subject: [PATCH] Update JsonAPI.mq5 --- Experts/JsonAPI.mq5 | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/Experts/JsonAPI.mq5 b/Experts/JsonAPI.mq5 index 3e99989..8afcbd7 100644 --- a/Experts/JsonAPI.mq5 +++ b/Experts/JsonAPI.mq5 @@ -98,22 +98,23 @@ int OnInit(){ EventSetMillisecondTimer(1); int bindSocketsDelay = 65; // Seconds to wait if binding of sockets fails. - int bindAttemtps = 3; // Number of binding attemtps + bool result = false; - Print("Binding sockets..."); - - for(int i=0;i