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.
"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.1408:23:57.827 MetaTester 5 started on 127.0.0.1:30002022.02.1408:23:57.830 initialization finished
2022.02.1408:23:58.080 login (build 3210)
2022.02.1408:23:58.0934412 bytes of account info loaded
2022.02.1408:23:58.0931478 bytes of tester parameters loaded
2022.02.1408:23:58.0933780 bytes of input parameters loaded
2022.02.1408:23:58.09316 bytes of symbols list loaded (2 symbols)
2022.02.1408:23:58.093 expert file added: Experts\korrelationsfinder.ex5. 101318 bytes loaded
2022.02.1408:23:58.10415123 Mb available, 188 blocks setfor ticks generating
2022.02.1408:23:58.104 initial deposit 10000.00 EUR, leverage 1:1002022.02.1408:23:58.105 successfully initialized
2022.02.1408:23:58.10599 Kb of total initialization data received
2022.02.1408:23:58.105 Intel Core i9-10900K @ 3.70GHz, 32689 MB
2022.02.1408:23:58.133 connected
2022.02.1408:23:58.134 Ger303: symbol to be synchronized
2022.02.1408:23:58.134 Ger303: symbol synchronized, 3720 bytes of symbol info received
2022.02.1408:23:58.847 Ger303: history synchronization started
2022.02.1408:23:58.880 Ger303: load 27 bytes of history data to synchronize in0:00:00.0002022.02.1408:23:58.880 Ger303: history synchronized from2012.01.19 to 2021.04.142022.02.1408:23:58.884 Ger303: ticks synchronization started
2022.02.1408:23:58.884 Ger303: load 34 bytes of tick data to synchronize in0:00:00.0002022.02.1408:23:58.884 Ger303: history ticks synchronized from2013.02.01 to 2021.04.142022.02.1408:23:58.944 Ger303,M1: history cache allocated for1802356 bars and contains 238924 bars from2013.01.0106:44 to 2013.12.3123:552022.02.1408:23:58.944 Ger303,M1: history begins from2013.01.0106:442022.02.1408:23:58.945 Ger303,M1 (ActivTrades-Server): generating based on real ticks
2022.02.1408:23:58.945 Ger303,M1: testing of Experts\korrelationsfinder.ex5 from2014.01.0100:00 to 2018.03.0100: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.
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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?
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 ?
"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:
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.