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
from Alain Verleyen check the parameters are exactly the same ?
sometime the GUI transmitted parameters wrongly when using "Run single test" command. ... Maybe loading the single one. forward parameters maybe get problem ><
And londing backward and forward maybe only run forward testing...
My solultion is always use backward and pickup the result we need ... I think this language/base system isn't robust ><.
And My exp diff MetaTrade Build version get some diff issue , I have been get truble with it .Maybe after 2~3 month ,the bizarre problem disappear... ..
Maybe you do others ><,and check it later.
This is a classical/old bug on the Strategy Tester (only when running locally). Which I already know for a very long time..
There is one solution:
1) stop using "Local Agents"
2) install Strategy Tester: https://cloud.mql5.com/en/download (and enable all the agents on your local machine)
3) configure MT5 to use Local Network Farm, and put the IP Address of your machine (or use 127.0.0.1 if you wish)
Run the optimization tests.. check any result using Single Test (from the optimization results table) and all of them WILL match.
No more wrong results, no more wrong optimizations.
The problem, from the OP, will be solved. Because it only happens when using Local Agents, but is fixed when using Local Network Farm (on the same computer)
Below is a picture, showing how to deactivate Local Agents, and activate Local Network Farm.
untick: Use Local Agents
Tick: Use Local Network Farm (which you have installed on the same machine that you are running Strategy Tester)
This is a classical/old bug on the Strategy Tester (only when running locally). Which I already know for a very long time..
There is one solution:
1) stop using "Local Agents"
2) install Strategy Tester: https://cloud.mql5.com/en/download (and enable all the agents on your local machine)
3) configure MT5 to use Local Network Farm, and put the IP Address of your machine (or use 127.0.0.1 if you wish)
Run the optimization tests.. check any result using Single Test (from the optimization results table) and all of them WILL match.
No more wrong results, no more wrong optimizations.
The problem, from the OP, will be solved. Because it only happens when using Local Agents, but is fixed when using Local Network Farm (on the same computer)
Below is a picture, showing how to deactivate Local Agents, and activate Local Network Farm.
untick: Use Local Agents
Tick: Use Local Network Farm (which you have installed on the same machine that you are running Strategy Tester)
What classical/old bug ? How to reproduce it ?
Ok on local agents you said, but I can't reproduce it nonetheless.
What are the results from optimization and from single run test ?
Did you check the parameters are exactly the same ? I have seen parameters wrongly transmitted when using "Run single test" command.
Did you try without the "forward" option ?
If you run several single test with same parameters, do you always have the same results ?
What classical/old bug ? How to reproduce it ?
Ok on local agents you said, but I can't reproduce it nonetheless.
Been struggling with this discrepancy between the Back/Forward Results and Single Tests.
I'm going to try this now Alain.
If this works, I will give your lovely forehead a kiss!
Been struggling with this discrepancy between the Back/Forward Results and Single Tests.
I'm going to try this now Alain.
If this works, I will give your lovely forehead a kiss!
I've tried the Local Network Farm solution proposed but it didn't work for me.
The only solution that worked for me is downgrading the strategy tester.
Let us know your experience.
I've tried the Local Network Farm solution proposed but it didn't work for me.
The only solution that worked for me is downgrading the strategy tester.
Let us know your experience.
Yes unfortunately the Local Farm did not work for me either.
@Franceso - I'm looking for a work around, what do you mean that you downgraded the strategy tester?
As in using an old version of MT5, if so which one?
Yes unfortunately the Local Farm did not work for me either.
@Franceso - I'm looking for a work around, what do you mean that you downgraded the strategy tester?
As in using an old version of MT5, if so which one?
Hi, Yes I'm using an older version of Strategy tester: build 4205.
I don't know if there are newer versions that work, I haven't tried them all. That one works for me.
Let me know if that works for you too, in that case, if you have a piece of code that can be used to reproduce the problem, you might attach it here for the support service to test. My project has many files and dependencies and couldn't manage to extract the portion that triggers the problem.
Up to now, I have read a lot of affirmations and assumptions, but I have never seen anyone providing evidence of an MT5 bug on this issue.
I am using MT5 Strategy Tester for optimizations of complex EAs and I don't have any issue or discrepancy between optimization/single test. (Using local agents only).
If someone want to work seriously on this, I am ready to help. But it needs at least an ex5 to reproduce the issue, the tester settings and all detailed informations needed.
And secondly, if the issue is happening, it can only be investigated from the EA source code, because there is NO general issue (it doesn't happen with all EAs).