Неверное время TimeCurrent(); В системных логах: old tick и old last price

Andrey Kaunov  

Второй день после полуночи в системных логах появляются строчки old tick и old last price

NN      3       00:01:02.275    Ticks   old tick GBPUSD (tick: 1970.01.01 00:00:03.000, last: 2023.05.24 00:00:30.031) 0.00000/0.00014
JM      3       00:03:44.033    Ticks   old tick GBPCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.030) 0.00078/0.00000
DM      3       00:04:13.892    Ticks   old tick EURCHF (tick: 1970.01.01 00:02:56.000, last: 2023.05.24 00:00:58.290) 0.00000/0.00004
LS      3       00:04:26.322    Ticks   old tick AUDJPY (tick: 1970.01.01 00:00:09.000, last: 2023.05.24 00:00:41.149) 0.001/0.000
KR      3       00:04:59.875    Ticks   old tick EURAUD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:41.149) 0.00000/0.00001
RQ      3       00:05:10.332    Ticks   old tick AUDCAD (tick: 1970.01.01 00:00:10.000, last: 2023.05.24 00:00:41.149) 0.01017/0.00000
KQ      3       00:05:13.511    Ticks   old tick EURCAD (tick: 1970.01.01 00:00:03.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00159
MF      3       00:05:21.816    Ticks   old tick AUDNZD (tick: 1970.01.01 00:00:01.000, last: 2023.05.24 00:00:42.153) 0.00000/0.00012
CG      3       00:05:23.151    Ticks   old tick EURCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00656
QE      3       00:05:23.928    Ticks   old tick EURAUD (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:41.149) 0.00000/0.00000
FE      3       00:05:29.084    Ticks   old tick XAUUSD (tick: 1970.01.01 00:00:12.000, last: 2023.05.23 23:56:48.263) 0.00/0.02
KJ      3       00:05:31.837    Ticks   old tick GBPUSD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.031) 0.00010/0.00000
HI      3       00:05:40.687    Ticks   old tick EURAUD (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:41.149) 0.00000/0.00011
DI      3       00:05:53.213    Ticks   old tick EURCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00013
MN      3       00:06:00.393    Ticks   old tick CADJPY (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:30.027) 0.000/0.000
ML      3       00:06:04.025    Ticks   old tick CHFJPY (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:59.391) 0.009/0.001
EL      3       00:06:21.963    Ticks   old tick AUDCAD (tick: 1970.01.01 00:00:03.000, last: 2023.05.24 00:00:41.149) 0.00000/0.00012
CR      3       00:06:30.573    Ticks   old tick EURCAD (tick: 1970.01.01 00:00:01.000, last: 2023.05.24 00:00:30.030) 0.00027/0.00000
DS      3       00:06:43.968    Ticks   old tick CADJPY (tick: 1970.01.01 00:00:01.000, last: 2023.05.24 00:00:30.027) 0.001/0.000
EQ      3       00:07:00.732    Ticks   old tick USDCAD (tick: 1970.01.01 00:00:01.000, last: 2023.05.24 00:00:30.038) 0.00000/0.00002
PG      3       00:07:02.518    Ticks   old tick NZDUSD (tick: 1970.01.01 00:00:01.000, last: 2023.05.24 00:00:42.963) 0.00000/0.00199
LG      3       00:07:37.877    Ticks   old tick CHFJPY (tick: 1970.01.01 00:03:15.000, last: 2023.05.24 00:00:59.391) 0.000/0.000
KE      3       00:07:41.951    Ticks   old tick GBPCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00000
LD      3       00:07:52.397    Ticks   old tick GBPCAD (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00001
GK      3       00:07:55.023    Ticks   old tick GBPUSD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.031) 0.00000/0.00000
CK      3       00:08:27.598    Ticks   old tick CADJPY (tick: 1970.01.01 00:04:09.000, last: 2023.05.24 00:00:30.027) 0.012/0.000
QH      3       00:08:43.687    Ticks   old tick GBPUSD (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:30.031) 0.00000/0.00000
EN      3       00:08:52.469    Ticks   old tick USDCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.038) 0.00051/0.00002
KO      3       00:08:56.954    Ticks   old tick USDCHF (tick: 1970.01.01 00:04:08.000, last: 2023.05.24 00:00:59.291) 0.00002/0.00000
OM      3       00:09:01.554    Ticks   old tick AUDCAD (tick: 1970.01.01 00:00:30.000, last: 2023.05.24 00:00:41.149) 0.00000/0.00000
LL      3       00:09:02.912    Ticks   old tick GBPUSD (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:30.031) 0.00000/0.00000
RS      3       00:09:14.867    Ticks   old tick EURGBP (tick: 1970.01.01 00:00:14.000, last: 2023.05.24 00:00:30.030) 0.00004/0.00000
CS      3       00:09:18.692    Ticks   old tick CADJPY (tick: 1970.01.01 00:00:02.000, last: 2023.05.24 00:00:30.027) 0.000/0.000
OP      3       00:09:46.400    Ticks   old tick EURUSD (tick: 1970.01.01 00:00:07.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00000
KL      3       00:09:46.712    Ticks   old last price AUDNZD (tick: 1970.01.01 00:00:00.000, last: 1970.01.01 00:00:59.000) 0.00003
IG      3       00:10:07.308    Ticks   old tick EURAUD (tick: 1970.01.01 00:04:14.000, last: 2023.05.24 00:00:41.149) 0.00045/0.00000
RG      3       00:10:15.243    Ticks   old tick USDCAD (tick: 1970.01.01 00:00:03.000, last: 2023.05.24 00:00:30.038) 0.00000/0.00000
NE      3       00:10:19.174    Ticks   old tick GBPCAD (tick: 1970.01.01 00:00:12.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00000
HE      3       00:10:48.401    Ticks   old tick EURCHF (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:58.290) 0.00004/0.00000
EJ      3       00:10:55.747    Ticks   old tick EURCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.030) 0.00000/0.00003
NK      3       00:10:59.404    Ticks   old tick CADJPY (tick: 1970.01.01 00:00:41.000, last: 2023.05.24 00:00:30.027) 0.000/0.000
HH      3       00:11:17.266    Ticks   old tick AUDCHF (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:59.391) 0.00010/0.00002
GN      3       00:11:59.066    Ticks   old tick EURCAD (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:30.030) 0.00015/0.00000
EN      3       00:12:27.919    Ticks   old tick AUDCHF (tick: 1970.01.01 00:00:00.000, last: 2023.05.24 00:00:59.391) 0.00007/0.00000
OM      3       00:13:02.279    Ticks   old tick AUDUSD (tick: 1970.01.01 00:00:03.000, last: 2023.05.24 00:00:40.940) 0.00000/0.00000

Их много, более часа идут. В советнике с ограничением по времени торговли до 08.2023 срабатывает условие окончания срока работы. Условие проверяется по TimeCurrent()

То есть TimeCurrent() возвращает время больше 08.2023

Проверьте, тут определённо какой то сбой!

Причина обращения: