Yes. Should remove those that prints for info rather than errors.
When I removed information prints, the journal revealed a new error which I guess print function would skipped it before as there were a lot of other info to print. I have no idea about this error :D If you have any idea, I appreciate it!
2019.05.1513:59:03.5512018.01.0200:29:45 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:27:11 and 2018.01.0200:29:45for GBPUSD
2019.05.1513:59:03.5512018.01.0200:29:45 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:27:11 and 2018.01.0200:29:45for GBPAUD
2019.05.1513:59:03.2712018.01.0200:25:13 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:15:14 and 2018.01.0200:25:13for GBPUSD
2019.05.1513:59:03.2712018.01.0200:25:13 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:15:14 and 2018.01.0200:25:13for GBPAUD
2019.05.1513:59:03.2002018.01.0200:15:14 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:14:11 and 2018.01.0200:15:14for GBPUSD
2019.05.1513:59:03.2002018.01.0200:15:14 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:14:11 and 2018.01.0200:15:14for GBPAUD
2019.05.1513:59:03.0602018.01.0200:14:09 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:12:23 and 2018.01.0200:14:09for GBPUSD
2019.05.1513:59:03.0602018.01.0200:14:09 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:12:23 and 2018.01.0200:14:09for GBPAUD
2019.05.1513:59:02.4292018.01.0200:12:06 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:06:22 and 2018.01.0200:12:06for GBPUSD
2019.05.1513:59:02.4292018.01.0200:12:06 MyEA! GBPAUD,H4: CTicksInfo::getTick - Potential data gap detected between 2018.01.0200:06:22 and 2018.01.0200:12:06for GBPAUD
I've just deleted these lines below from my OnTick function:
tickCount++;
//Print ("=== Now process tick ", tickCount);MqlTick myTick;
if (ticksInfo.getTick(_Symbol,myTick)==false)
//printTick (_Symbol,myTick);//elsePrint (_Symbol, " Error");
if (ticksInfo.getTick(SecondPair,myTick))
{
//printTick (SecondPair,myTick);
Ask2 = myTick.ask;
Bid2 = myTick.bid;
}
elsePrint (SecondPair, " Error");
if (ticksInfo.getTick(ThirdPair,myTick))
{
//printTick (ThirdPair,myTick);
Ask3 = myTick.ask;
Bid3 = myTick.bid;
}
elsePrint (ThirdPair, " Error");
When I removed information prints, the journal revealed a new error which I guess print function would skipped it before as there were a lot of other info to print. I have no idea about this error :D If you have any idea, I appreciate it!
I've just deleted these lines below from my OnTick function:
These are error messages - telling you the time gaps between ticks were larger than 1 min, but less than 1 day (which is likely due to holidays or weekends). So you can either (1) set your strategy tests to skip those periods, or (2) just ignore these messages - just bear in mind there were that could affect your test results.
Or... replace attached file. change this to other numbers to represent the minimum gap in seconds that you're willing to accept:
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.
It perfectly worked! Thank you!
But it is very slow. How can I speed it up?
Does print function slowdown the process?
It perfectly worked! Thank you!
But it is very slow. How can I speed it up?
Does print function slowdown the process?
Yes. Should remove those that prints for info rather than errors.
Yes. Should remove those that prints for info rather than errors.
When I removed information prints, the journal revealed a new error which I guess print function would skipped it before as there were a lot of other info to print.
I have no idea about this error :D If you have any idea, I appreciate it!
I've just deleted these lines below from my OnTick function:
When I removed information prints, the journal revealed a new error which I guess print function would skipped it before as there were a lot of other info to print.
I have no idea about this error :D If you have any idea, I appreciate it!
I've just deleted these lines below from my OnTick function:
These are error messages - telling you the time gaps between ticks were larger than 1 min, but less than 1 day (which is likely due to holidays or weekends). So you can either (1) set your strategy tests to skip those periods, or (2) just ignore these messages - just bear in mind there were that could affect your test results.
Or... replace attached file. change this to other numbers to represent the minimum gap in seconds that you're willing to accept: