MT5 expert advisor won't trade forex

 
Hi, I ordered EA that won't open positions. It works on SP500 when backtested, but won't work on any forex pair. What could be the problem?
 
Nikola Šanović:
Hi, I ordered EA that won't open positions. It works on SP500 when backtested, but won't work on any forex pair. What could be the problem?
Algo trading is enabled? Check Expert Advisors settings.

Also check log for any error


Btw it is not a demo ea, is it?

 
Nikola Šanović:
Hi, I ordered EA that won't open positions. It works on SP500 when backtested, but won't work on any forex pair. What could be the problem?

Ask the person that sold it to you.

 
Developer who made it also has no idea what is wrong. I think it's not his fault as it works on SP500.
Basically it sends orders, but balance remains unchanged
 
_MAHA_ #:
Algo trading is enabled? Check Expert Advisors settings.

Also check log for any error


Btw it is not a demo ea, is it?

It' s not demo, I compiled it myself from code
I checked log and can't seem to find any issues, apart from orders being sent, and balance remains unchanged. 
I have algo trading enabled, and I've tried many stuff but it just won't work.

 
Nikola Šanović What could be the problem?

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem

We can't see your broken code.

Keith Watford #: Ask the person that sold it to you.
Exactly.
 
William Roeder #:

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem

We can't see your broken code.

Exactly.

Here's log file

Files:
log.txt  5321 kb
 
Nikola Šanović #:

Here's log file

The EA obviously does not use a valid price when it attempts to open orders.

Your developer is incompetent.

 
Keith Watford #:

The EA obviously does not use a valid price when it attempts to open orders.

Your developer is incompetent.

It does work fine on indexes. 
How do I repair this problem?

 
Nikola Šanović #:

It does work fine on indexes. 
How do I repair this problem?

Re-code the EA so that it  uses a valid price when it attempts to open orders.

 
Comments that do not relate to this topic, have been moved to "Off Topic Posts".
Reason: