
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
Please advise if anyone has encountered something like this.
There is a code:
In realtime in terminal it works: But in tester the same code gives different result:Is the size of the array to be obtained regardless of which event occurred?
And the size of the array should be obtained regardless of which event occurred?
Well, I first wrote the indicator and then reduced everything to a simple example.
It turns out yes - on any event, and the logs that are given are repeated every line.
By changing the code to the following:
it became even more fun. Result terminal:
Tester:
Well, I first wrote the indicator and then reduced everything to a simple example.
It turns out yes - by any event, with the logs given repeating every line.
...
I haven't managed to reproduce it. I'm testing this code:
//---
Tested the indicator in visualisation mode.
...
Tested the indicator in visualisation mode.
Similarly, I'm figuring it out.
As far as I know, events related to interaction with the chart are ignored at the moment in the tester. Custom events can be handled.
I don't really care which ones, as long as they come :)
Also interesting is that your code gives 0 result, i.e. error persists.
PS. Win7 x64 + UAC and not portable.
I don't really care which ones, as long as they come :)
Also interesting is that your code gives me result 0, i.e. error persists.
PS. Win7 x64 + UAC and not portable.
I don't get any events at all with this code. So at what events is the message printed in the tester? I even wondered, that's why I wanted to know. )) I need a code to reproduce it.
I don't get any events at all with this code. So at what events is the message printed in the tester? I even wondered, that's why I asked. )) I need code to reproduce it.
Strange, because the CHARTEVENT_CHART_CHANGE event should come anyway in the tester. Right?
fyords:
Odd, because the CHARTEVENT_CHART_CHANGE event should come anyway in the tester. Right?...
I have tested the standard ExpertMACD Expert Advisor in the strategy tester, which is delivered together with MT5, it generates errors:
2013.03.30 19:18:09 Core 2 genetic pass (0, 15) tested with error "OnInit failed" in 46 ms
2013.03.30 19:18:08 Core 1 genetic pass (0, 13) tested with error "OnInit failed" in 32 ms
2013.03.30 19:18:07 Core 2 genetic pass (0, 5) tested with error "OnInit failed" in 0 ms
I found out by searching that the error is in the module: "SignalMACD" when optimizing Fast and Slow MACD periods (when ticking the boxes in the strategy tester parameters).
Has anyone encountered such a problem and how to deal with it? (When there is only one tick it works somehow, but there are errors as soon as you check two ticks)