Wrong Prices in testing - page 2

 
Alain Verleyen #:
Could be a lot of things, Custom symbol issue, Strategy Tester issue, debugger, etc...without the data and source code to reproduce the issue it's hard to say something useful.

Yes, i edited my last post.


Flags problem?  When yes, what i have to do?

 
John__Doe #:

Yes, i edited my last post.

Your reported tick (by code) is the same at 16:10 and 16:40 (9338/9392) ! That's really weird.

Flags problem?  When yes, what i have to do?

Maybe start to answer my question ;-)

Forum on trading, automated trading systems and testing trading strategies

Wrong Prices in testing

Alain Verleyen, 2022.02.13 19:10

What ticks did you select ?

What are your Strategy Tester settings ? What MT5 build ? What broker and symbol ?

EDIT: Real or demo ?

What is the tick time (including milliseconds) return for your Latest_Price MqlTick ?

How are you importing your ticks, by code or through the MT5 GUI ?
 
And also please post the log file of the Journal in the Strategy Tester (the file, not a screenshot please).
 

"What ticks did you select ?" ---> I selected "all Ticks".

"Real or demo ? "  --->demo in netting mode

"What is the tick time (including milliseconds) return for your Latest_Price MqlTick  " --->The tick time from SymbolInfoTick/Latest_Price is identical to Timecurrent. (I don´t know how to output in ms).

"Your reported tick (by code) is the same at 16:10 and 16:40 (9338/9392) ! That's really weird. " ---> Yes, for 2 weeks exactly the same price.

"How are you importing your ticks, by code or through the MT5 GUI ? " ---> through the GUI


The Journal:

2022.02.14 08:23:57.827    MetaTester 5 started on 127.0.0.1:3000
2022.02.14 08:23:57.830    initialization finished
2022.02.14 08:23:58.080    login (build 3210)
2022.02.14 08:23:58.093    4412 bytes of account info loaded
2022.02.14 08:23:58.093    1478 bytes of tester parameters loaded
2022.02.14 08:23:58.093    3780 bytes of input parameters loaded
2022.02.14 08:23:58.093    16 bytes of symbols list loaded (2 symbols)
2022.02.14 08:23:58.093    expert file added: Experts\korrelationsfinder.ex5. 101318 bytes loaded
2022.02.14 08:23:58.104    15123 Mb available, 188 blocks set for ticks generating
2022.02.14 08:23:58.104    initial deposit 10000.00 EUR, leverage 1:100
2022.02.14 08:23:58.105    successfully initialized
2022.02.14 08:23:58.105    99 Kb of total initialization data received
2022.02.14 08:23:58.105    Intel Core i9-10900K  @ 3.70GHz, 32689 MB
2022.02.14 08:23:58.133    connected
2022.02.14 08:23:58.134    Ger303: symbol to be synchronized
2022.02.14 08:23:58.134    Ger303: symbol synchronized, 3720 bytes of symbol info received
2022.02.14 08:23:58.847    Ger303: history synchronization started
2022.02.14 08:23:58.880    Ger303: load 27 bytes of history data to synchronize in 0:00:00.000
2022.02.14 08:23:58.880    Ger303: history synchronized from 2012.01.19 to 2021.04.14
2022.02.14 08:23:58.884    Ger303: ticks synchronization started
2022.02.14 08:23:58.884    Ger303: load 34 bytes of tick data to synchronize in 0:00:00.000
2022.02.14 08:23:58.884    Ger303: history ticks synchronized from 2013.02.01 to 2021.04.14
2022.02.14 08:23:58.944    Ger303,M1: history cache allocated for 1802356 bars and contains 238924 bars from 2013.01.01 06:44 to 2013.12.31 23:55
2022.02.14 08:23:58.944    Ger303,M1: history begins from 2013.01.01 06:44
2022.02.14 08:23:58.945    Ger303,M1 (ActivTrades-Server): generating based on real ticks
2022.02.14 08:23:58.945    Ger303,M1: testing of Experts\korrelationsfinder.ex5 from 2014.01.01 00:00 to 2018.03.01 00:00 started with inputs:
...
2022.02.14 08:24:05.899	   Ger303 : real ticks begin from 2013.02.01 00:00:00

 

I have to give up, I don't have time to collect then import ticks, then create a code to check it and you don't provide it as requested (also I asked for a log file you provided an excerpt for example).

Having the same tick for 2 weeks is of course not normal, but we don't have enough information to say if it's an MT5 issue or if it comes from your code somehow. Good luck.

Forum on trading, automated trading systems and testing trading strategies

Wrong Prices in testing

Alain Verleyen, 2022.02.13 20:39

Could be a lot of things, Custom symbol issue, Strategy Tester issue, debugger, etc...without the data and source code to reproduce the issue it's hard to say something useful.

Reason: