From 1c47fc12d10e9abdd1b96356ccc7ae8346091803 Mon Sep 17 00:00:00 2001 From: Gunther Schulz Date: Sun, 22 Nov 2020 13:24:09 +0100 Subject: [PATCH] fix bug tthat every second tick was dropped Every other tick used to be dropped before this fix, because of incrementing the counter twice in a loop --- Experts/JsonAPI.mq5 | 1 - 1 file changed, 1 deletion(-) diff --git a/Experts/JsonAPI.mq5 b/Experts/JsonAPI.mq5 index 9e90d96..ea1cf18 100644 --- a/Experts/JsonAPI.mq5 +++ b/Experts/JsonAPI.mq5 @@ -1099,7 +1099,6 @@ void HistoryInfo(CJAVal &dataObject) data[i][0]=(long) tickArray[i].time_msc; data[i][1]=(double) tickArray[i].bid; data[i][2]=(double) tickArray[i].ask; - i++; } d["data"].Set(data); }