error with back test on MT5 ?

 

Hello.

I had a weird problem and tried to solve it, but I couldn't solve it.

On MT5 platform for (Activ Trades company), The Expert (expertMACD.ex5) comes implicitly with the platform, I've been working back test for it, and the results are as follows:

 

After 5 minutes when I did back test again the results were as follows


There's something wrong, but I don't know what it is.

Please note:

1-    This problem only appeared in Activ Trades company.

2-    I used same parameters (Default parameters).

3-    After this problem appears, I deleted the platform and then downloaded it again but that didn't solve the problem.

4-    I used another device, but that didn't solve the problem.

5-    I did back test directly on the MT5 platform, I didn't use any other (tick) program.

6-    I did back test with (every tick) based on real ticks" mode.

7-    Many other problems appear with other experts.

That means everything hasn't changed, but the back test result is different.

How can I solve this problem?

Thanks

 
Robin:

Hello.

I had a weird problem and tried to solve it, but I couldn't solve it.

On MT5 platform for (Activ Trades company), The Expert (expertMACD.ex5) comes implicitly with the platform, I've been working back test for it, and the results are as follows:

 

After 5 minutes when I did back test again the results were as follows


There's something wrong, but I don't know what it is.

Please note:

1-    This problem only appeared in Activ Trades company.

2-    I used same parameters (Default parameters).

3-    After this problem appears, I deleted the platform and then downloaded it again but that didn't solve the problem.

4-    I used another device, but that didn't solve the problem.

5-    I did back test directly on the MT5 platform, I didn't use any other (tick) program.

6-    I did back test with (every tick) based on real ticks" mode.

7-    Many other problems appear with other experts.

That means everything hasn't changed, but the back test result is different.

How can I solve this problem?

Thanks

The flat line means that there were no trades, so check the journal for errors, probably you use low leverage or high risk%.

There is always a reason for everything.

 
Eleni Anna Branou:

The flat line means that there were no trades, so check the journal for errors, probably you use low leverage or high risk%.

There is always a reason for everything.

Thank you, But you don't understand me.

This problem comes up with all the experts, please repeat what I wrote accurately.

Sometimes errors appear in all the experts, and sometimes there's nothing errors.

For example,  The Expert (expertMACD.ex5) comes implicitly with the platform today has some errors.

For the past few days there's nothing errors with it and the results were as follows:


Today it has some errors, as in the next picture.


I didn't change anything, this problem happened automatically without me change anything.

This problem occurred with most other experts, not just one.

And it just happened at ActiveTrades company.

There's a mysterious problem, but I don't know what it is.

 
Robin:

Thank you, But you don't understand me.

This problem comes up with all the experts, please repeat what I wrote accurately.

Sometimes errors appear in all the experts, and sometimes there's nothing errors.

For example,  The Expert (expertMACD.ex5) comes implicitly with the platform today has some errors.

For the past few days there's nothing errors with it and the results were as follows:


Today it has some errors, as in the next picture.


I didn't change anything, this problem happened automatically without me change anything.

This problem occurred with most other experts, not just one.

And it just happened at ActiveTrades company.

There's a mysterious problem, but I don't know what it is.

The invalid stops error, indicates a coding error with your EA(s), try to re-compile the EA and check again, otherwise contact the author/seller.

The 'worked fine before' doesn't mean anything, because many EAs don't work or perform as they were, after MT4/5 updates.

 
Eleni Anna Branou:

The invalid stops error, indicates a coding error with your EA(s), try to re-compile the EA and check again, otherwise contact the author/seller.

The 'worked fine before' doesn't mean anything, because many EAs don't work or perform as they were, after MT4/5 updates.

Thanks for replay

I think you did not understand what I mean.

For example, you can find my expert advisor on your MT5 platform.

It is name (expertMACD.ex5), You can test it and make sure there's an irrational problem.

Test it on Activ Trades company then test it on any other company and is there a difference or not.

 
Robin:

Thanks for replay

I think you did not understand what I mean.

For example, you can find my expert advisor on your MT5 platform.

It is name (expertMACD.ex5), You can test it and make sure there's an irrational problem.

Test it on Activ Trades company then test it on any other company and is there a difference or not.

Test it with another broker then and see what happens.

 
Eleni Anna Branou:

Test it with another broker then and see what happens.

What happened?

I think you had no any problem.

That's what I mean.There's no problem except when I'm doing buck test at Activ Trades Company.

 
Robin:

Thank you, But you don't understand me.

This problem comes up with all the experts, please repeat what I wrote accurately.

Sometimes errors appear in all the experts, and sometimes there's nothing errors.

For example,  The Expert (expertMACD.ex5) comes implicitly with the platform today has some errors.

For the past few days there's nothing errors with it and the results were as follows:


Today it has some errors, as in the next picture.


I didn't change anything, this problem happened automatically without me change anything.

This problem occurred with most other experts, not just one.

And it just happened at ActiveTrades company.

There's a mysterious problem, but I don't know what it is.

If you have invalid stops you need to print Bid & Ask and (SymbolInfoInteger()):

SYMBOL_TRADE_STOPS_LEVEL

Minimal indention in points from the current close price to place Stop orders

int

SYMBOL_TRADE_FREEZE_LEVEL

Distance to freeze trade operations in points

int

Dokumentation zu MQL5: Marktinformation erhalten / SymbolInfoInteger
Dokumentation zu MQL5: Marktinformation erhalten / SymbolInfoInteger
  • www.mql5.com
2. Gibt true oder false zurück abhängig von der erfolgreichen Durchführung der Funktion. Im Erfolgsfall wird der Eigenschaftswert in die Empfangsvariable gestellt, die durch Referenz vom letzten Parameter übertragen wird. Wenn die Funktion wird verwendet, um Informationen über den letzten Tick zu bekommen, ist es besser SymbolInfoTick() zu...
 
Robin:

What happened?

I think you had no any problem.

That's what I mean.There's no problem except when I'm doing buck test at Activ Trades Company.

I don't have any problem, I have given you 2 answers and you keep asking the same thing.

1. Check your EA for any errors (as Carl now suggested too).

2. Try backtesting your EA with another broker.

Reason: