debug in metaeditor doesnt open the correct expert

To add comments, please log in or register
Luiz Dias
13
Luiz Dias  

helo I am facing a very weird problem and I dont know how to work around it.

basically I have created an expert and I want to debug it, so I have compiled it with zero errors. When I test it using the strategy tester it does run it ok without any problems. But when I try it using the metaeditor debug mode, it simply doesnt start the correct expert I want to test. It always open the same expert in the same folder, no matter what I do or change.

MQL5\experts\Examples\Moving Average\moving average.ex5

does anybody knows how I can work around this issue ?


thanks in advance, Luiz

Luiz Dias
13
Luiz Dias  
Luiz Dias:

helo I am facing a very weird problem and I dont know how to work around it.

basically I have created an expert and I want to debug it, so I have compiled it with zero errors. When I test it using the strategy tester it does run it ok without any problems. But when I try it using the metaeditor debug mode, it simply doesnt start the correct expert I want to test. It always open the same expert in the same folder, no matter what I do or change.

MQL5\experts\Examples\Moving Average\moving average.ex5

does anybody knows how I can work around this issue ?



thanks in advance, Luiz

one additional information. , I just noticed that when I compile the expert, despite the strategy tester expert advisor selection drop down being in any expert, it always goes back to the examples\moving average.ex5

Please help how do I fix it !


thanks in advance,

Files:
Capturar.PNG 2 kb
Alain Verleyen
36052
Alain Verleyen  
Luiz Dias:

one additional information. , I just noticed that when I compile the expert, despite the strategy tester expert advisor selection drop down being in any expert, it always goes back to the examples\moving average.ex5

Please help how do I fix it !


thanks in advance,

Please report it to ServiceDesk, seems an MT5 bug.
Amir Yacoby
1219
Amir Yacoby  

From your openning it looked as if you ran it already in strategy tester, but from your last post it says it doesn't because strategy tester does not recognize it.

Do you have other expert advisors? It looks that strategy tester recognizes only one ea on your Experts folder - which is the MovingAverages.ex5.

I would look to see first if it's in the correct folder of the correct installation (do you have more than one installation? did you install MT5 in guest mode?)

Open the base folder from MT5 under file menu, and see if the ea is in that folder under experts, and if it is saved with .ex5 file type. 

Second, if it is, open the editor from the MT5 program and run the tester from there.


Hope it helps

Alain Verleyen
36052
Alain Verleyen  
Amir Yacoby:

From your openning it looked as if you ran it already in strategy tester, but from your last post it says it doesn't because strategy tester does not recognize it.

Do you have other expert advisors? It looks that strategy tester recognizes only one ea on your Experts folder - which is the MovingAverages.ex5.

I would look to see first if it's in the correct folder of the correct installation (do you have more than one installation? did you install MT5 in guest mode?)

Open the base folder from MT5 under file menu, and see if the ea is in that folder under experts, and if it is saved with .ex5 file type. 

Second, if it is, open the editor from the MT5 program and run the tester from there.


Hope it helps

I should have written : IT IS an MT5 bug. I have encountered it and already opened a ticket, but it's "random" so not easy to identify and fix.

P.S: Just checked the ticket, almost 4 years 

Selected EA in Strategy Tester change when recompile.

Errors, MetaTrader 5 Client, Open, Start: 2013.03.13 20:59, #692492 

To add comments, please log in or register