mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-13 18:58:09 +00:00
MQL5: don't use EMPTY_VALUE as initial value for times
This commit is contained in:
Binary file not shown.
+1
-1
@@ -1829,7 +1829,7 @@ string Execute_ObjectCreate()
|
|||||||
|
|
||||||
datetime times[30];
|
datetime times[30];
|
||||||
double prices[30];
|
double prices[30];
|
||||||
ArrayInitialize(times, EMPTY_VALUE);
|
ArrayInitialize(times, 0);
|
||||||
ArrayInitialize(prices, EMPTY_VALUE);
|
ArrayInitialize(prices, EMPTY_VALUE);
|
||||||
|
|
||||||
JSONArray* times_jo = jo.p.getArray("Times");
|
JSONArray* times_jo = jo.p.getArray("Times");
|
||||||
|
|||||||
Reference in New Issue
Block a user