You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
If I write on the date-17.11.2011 the comment should be on top. :)
Or should the comment from 16 be on top?
The answer is no - the tester is the answer?
I want to unload the data for January 2009. I have unloaded data for 15 minutes and hour, but I can't unload the data for 5 minutes, it says there is no history. Why is not downloaded history of 5 minutes?
Hello,
I, after testing and enabling optimisation, get this:
Core 1 genetic pass (127, 1195) tested with error "critical runtime error
The test is normal.
Look at the full logs of the agent on which this pass was run.
Look at the full logs of the agent on which this pass was performed.
The agent is asleep...
I've found in my profile that one of the agents has not been active since November 12. Given the problems with the 540 build, nothing seems strange. It's already customary that agents are constantly contacting servers, but don't receive tasks.
Checking log folder: last log was dated 13th of November. At the same time the agent manager shows the status as "running". The neighbouring agent is active.
The machine (netbook) hasn't rebooted in quite a while. Of the situations falling under suspicion were hibernation with almost empty battery and, of course, connection interruptions of different nature (modem hang-ups, switching to another provider and back)...
Tell me how to write multicurrency, my multicurrency shows different results depending on which pair to put it on in the tester.
Such problem in onTick, and in onTimer function, and they also have differences
it means when testing just 1 pair I get a lot of variants, and I can't optimize
Tell me how to write multicurrency, my multicurrency shows different results depending on which pair to put it on in the tester.
Such problem in onTick, and in onTimer function, and they also have differences
I.e. while testing just 1 pair I get a lot of variants - I can't optimize
The difference is in the input of the information.
https://www.mql5.com/ru/articles/234
I start optimization of a single-currency Expert Advisor, I get errors
2011.11.20 10:11:56 Core 1 genetic pass (5, 16006708415) tested with error "critical runtime error"
2011.11.20 10:11:55 Core 1 genetic pass (0, 47086630498) tested with error "critical runtime error"
2011.11.20 10:11:52 Core 2 genetic pass (3, 63311127073) tested with error "critical runtime error"
2011.11.20 10:11:48 Core 2 genetic pass (2, 6193316153030) tested with error "critical runtime error" 20 10:11:48 Core 2 genetic pass (2, 61933161530) tested with error "critical runtime error"
2011.11.20 10:11:43 Core 2 genetic pass (1, 15907465424) tested with error "critical runtime error"
2011.11.11.20 10:11:42 Core 2 common synchronization completed
2011.11.20 10:11:42 Core 2 authorized (agent build 540)
Optimization results tab does not show the parameters that caused the error, the tester logs show the following
LF 0 Night_v3_27 (USDCHF,M5) 10:44:47 2011.01 00:00:00 Error code: 0; Description: Operation successful
FK 0 Night_v3_27 (USDCHF,M5) 10:44:47 2011.01 00:0101 00:00:00 Test 1
HN 2 Symbols 10:44:47 no prices for symbol USDCHF
NH 2 Symbols 10:44:47 no prices for symbol USDCHF
DQ 2 Symbols 10:44:47 no prices for symbol USDCHF
JK 2 Symbols 10:44:47 no prices for symbol USDCHF
PE 2 Symbols 10:44:47 no prices for symbol USDCHF
FN 2 Symbols 10:44:47 no prices for symbol USDCHF
LK 0 Night_v3_27 (USDCHF,M5) 10:44:47 2011.01.01 00:00:00 Error code: 0; Description: Operation successful
DE 0 Night_v3_27 (USDCHF,M5) 10:44:47 2011.01.01 00:00:00 Test 2
FQ 2 Symbols 10:44:47 no prices for symbol USDCHF
LK 2 Symbols 10:44:47 no prices for symbol USDCHF
RE 2 Symbols 10:44:47 no prices for symbol USDCHF
HN 2 Symbols 10:44:47 no prices for symbol USDCHF
NH 2 Symbols 10:44:47 no prices for symbol USDCHF
DQ 2 Symbols 10:44:47 no prices for symbol USDCHF
JH 0 Night_v3_27 (USDCHF,M5) 10:44:47 201101.01 00:00:00 Error code: 0; Description: Operation successful
ER 0 Night_v3_27 (USDCHF,M5) 10:44:47 2011.01.01 00:00:00 Test 3
Where the Test comment comes out in the next block
CSymbolInfo Exp_Symbol_Info; // symbol info object
if(!SymbolInfoInteger(Exp_Symbol,SYMBOL_SELECT))
{
if(GetLastError()==ERR_MARKET_UNKNOWN_SYMBOL) return(false);
ResetLastError();
if (SymbolSelect(Exp_Symbol, true))
{
Print("Символ " + Exp_Symbol + " выбран в окне MarketWatch.");
}
else
{
Print("Произошла ошибка при выборе символа " + Exp_Symbol);
GetMyLastError(GetLastError());
}
}
ResetLastError();
GetMyLastError(GetLastError());
Print("Test 1");
if (!Exp_Symbol_Info.Name(Exp_Symbol))
{
return(false);
}
ResetLastError();
GetMyLastError(GetLastError());
Print("Test 2");
Exp_Symbol_Info.Refresh();
Exp_Symbol_Info.RefreshRates();
ResetLastError();
GetMyLastError(GetLastError());
Print("Test 3");
It turns out, that the error is output when a standardCSymbolInfo trading class is initialized?