EA - dont open trades

To add comments, please log in or register
trader2109
553
trader2109  

Hello to everbody,

I have an EA. At the tester everything works fine but at a normal chart it opens only one trade by initializing the EA.

There are no more trades.

It uses the include <Trade\Trade.mqh>

What can be the problem?

Best regards,

Martin

Marco vd Heijden
Moderator
8625
Marco vd Heijden  
trader2109:

Hello to everbody,

What can be the problem?

About anything.

Check the logs.
Martin0815
2206
Martin0815  
Marco vd Heijden:

About anything.

Check the logs.
There are no errors in the logs!
Marco vd Heijden
Moderator
8625
Marco vd Heijden  
Martin0815:
There are no errors in the logs!

Then i can only conclude that it was a bad coding job.

Martin0815
2206
Martin0815  
Marco vd Heijden:

Then i can only conclude that it was a bad coding job.

Are you coder for MT5?
Marco vd Heijden
Moderator
8625
Marco vd Heijden  
Martin0815:
Are you coder for MT5?

Yes we use a debug flag once that's set to truth the EA will print every step of the way to the log to generate a flow report.

Any error will come out.

If it's a thing like invalid stops or not enough funds it will come out anyway as alert, regardless of debug flag.  

Martin0815
2206
Martin0815  
Marco vd Heijden:

Yes we use a debug flag once that's set to truth the EA will print every step of the way to the log to generate a flow report.

Any error will come out.

If it's a thing like invalid stops or not enough funds it will come out anyway as alert, regardless of debug flag.  

Can you make some changes at an existing ea?
Marco vd Heijden
Moderator
8625
Marco vd Heijden  
If you post the code maybe someone will help you otherwise open a job Here.
To add comments, please log in or register