Download MetaTrader 5

EA not working - please help!

To add comments, please log in or register
tippy
70
tippy  

Hi all.   Any ideas would be greatly appreciated. 

 Using Mt4.

 I had 1 EA which was placing trades fine.  I then made another working on a separate chart, which also placed trades for me.

 I now have 4 EA's all placed on completely different charts.

None of the new EA's are placing any trades (including the 2 that had placed trades)

They all have the smiley face in the corner of their respective charts.  Live trading is enabled in all of them.  There are no error messages at all in the journal.  I did not change the EA of either EA that had been placing trades automatically.  I have tried downloading and opening separate instances of MT4 for each separate EA (this isn't actually needed though is it?)- no luck.

 I am totally out of ideas - can anyone shed any possible light on this?

Thanks 

honest_knave
Moderator
2322
honest_knave  
Probably not without seeing some code!
whroeder1
16755
whroeder1  
tippy I am totally out of ideas - can anyone shed any possible light on this?
  1. There are no mind readers here, we can't see your broken code.
  2. Using OrdersTotal directly and/or no Magic number filtering on your OrderSelect loop means your code is incompatible with every EA (including itself on other charts and manual trading.) Symbol Doesn't equal Ordersymbol when another currency is added to another seperate chart . - MQL4 forum
tippy
70
tippy  
Sorry - I think I may have been unclear here.  My friend is using exactly the same EA on the same currency pair and it's working perfectly.  I suppose the type of advice I was after was could there be external factors - such as my firewall - that could affect the EA?  Given that I have not changed the EA since it was happily placing trades for a month for me, I was - possibly incorrectly - ruling out the code itself, which is why I didn't post it.
honest_knave
Moderator
2322
honest_knave  

If you try going back to having only 1 EA running and it works again, the problem is almost certainly in the code.

MT4 can run multiple instances of the same EA across several charts, or multiple different EAs across several charts, without issue. 

tippy
70
tippy  
honest_knave:

If you try going back to having only 1 EA running and it works again, the problem is almost certainly in the code.

MT4 can run multiple instances of the same EA across several charts, or multiple different EAs across several charts, without issue. 

Will try this...thanks for the suggestion.
tippy
70
tippy  
tippy:
Will try this...thanks for the suggestion.
No joy sadly.  Is it possible that my broker blocked EA trades?
honest_knave
Moderator
2322
honest_knave  
tippy:

There are no error messages at all in the journal.

What do you see in the Experts log (next to the Journal tab)?

tippy
70
tippy  
honest_knave:

What do you see in the Experts log (next to the Journal tab)?

Nothing that looks like there's a problem.  The occasional uninit reason 5, 2 or 1. 

 

Strangely enough, I manually did a trade and my EA DID CLOSE it, as per the code, but DID NOT open a new one. 

To add comments, please log in or register