EA misses trades. No errors in journal. Works perfectly in testing. - page 2

 
William Roeder #:
  1. Just because your testing didn't see the problem, doesn't mean its not there.

  2. Do you really expect an answer? We can't see your broken code. There are no mind readers here and our crystal balls are cracked.

  3. Etasoft forex generator, EA builder, EATree, Forex Strategy Builder, FOREXEADVISOR STRATEGY BUILDER, FX EA Builder, fxDreema, FxPro, Molanis, Online Forex Expert Advisor Generator, Quant, Strategy Builder FX, Visual Trader Studio, MQL5 Wizard, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.
    • Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
      If we tell you what you need, you can't code it.
      If we give you the code, you don't know how to integrate it into yours.
      We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own.

    • EA builder makes bad code counting up while closing multiple orders.
      EA builder makes bad code Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
      EA builder makes bad code, not adjusting for 4/5 digit brokers, TP/SL and slippage.
      EA builder makes bad code, not adjusting for ECN brokers. pre-Build 500)
      EA builder makes bad code, not
      checking return codes.
      EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)

    • FX EA Builder makes bad code, not checking return codes.
      FX EA Builder makes bad code, loosing open tickets on terminal restart. No recovery (crash/power failure.)
      FX EA Builder makes bad code, not adjusting stops for the spread.
      FX EA Builder makes bad code, using OrdersTotal directly.

    • FOREXEADVISOR STRATEGY BUILDER makes bad code, non-updateing global variables.
      FOREXEADVISOR STRATEGY BUILDER makes bad code, compilation errors.
      FOREXEADVISOR STRATEGY BUILDER makes bad code, not checking return codes.

    Learn to code it, or pay someone (Freelance) someone to code it.
              Hiring to write script - General - MQL5 programming forum

This is true but I added a print statement to debug my code whenever a new bar printed, I'm using bar counts and it does the print function but sometimes still skips trades. Ignoring trading conditions
 
Adam Novek:
Hi,

I built an EA in EA Builder and the code works perfectly in testing.

For testing I use every tick for accuracy.

In live trading the code works perfectly most of the time but misses trades.

This is very frustrating because there are no errors in the journal to indicate where there was a problem.

Any ideas on why trades are being missed?

Thank you.
Did you ever find a solution?
 

Errors of EA executions are in "Experts" logs, not "Journal". In Journal you can find errors that are on broker/server side.

You should consider Sperad and Slippages you have when trading on market, if all other things of your EA are already correct and tested.

 
harry amos #:
Did you ever find a solution?

without seeing your code, you will not receive much response -- especially from moderators and other experts on the forum. As the moderators often said in past... we are not mind readers, and we can not see your "screen".

 
Adam Novek:
Hi,

I built an EA in EA Builder and the code works perfectly in testing.

For testing I use every tick for accuracy.

In live trading the code works perfectly most of the time but misses trades.

This is very frustrating because there are no errors in the journal to indicate where there was a problem.

Any ideas on why trades are being missed?

Thank you.
Hey Adam,

I google searched "Why mt4 EA misses" and I was led to this you post. 
Did you later figured it out? 
I always recompile my code everyday so that it can run well. 
However, I'm still looking for a permanent solution to this problem. 
 
Temple Boss Stephen #:
Hey Adam,

I google searched "Why mt4 EA misses" and I was led to this you post. 
Did you later figured it out? 
I always recompile my code everyday so that it can run well. 
However, I'm still looking for a permanent solution to this problem. 

do you realise that the post was from year 2019?

I recommend you create your own, new, thread, AND post your code in your message if you want advice. If you do not post your coding, then, the only responses you get -- will be such as: We can not see your screen; We can not read your mind; OR my favourite: Our crystal balls are broken.

 
Temple Boss Stephen #: I always recompile my code everyday so that it can run well.
If you have to do that, your code is already broken.