Error

 

Hello

My EA made a error like:

modification of order #63963017 sell 0.12 GBPCHF at 1.30359 sl: 0.00000 tp: 0.00000 -> sl: 0.00000 tp: 1.30249 failed [Common error]

It failed to set TP how can that be normally it works just fine ! I was friday evening and it did it a couple of times...

Any ideas?

 
  1. Don't depend on messages in the log, Check your return codes for errors and report them.
              What are Function return values ? How do I use them ? - MQL4 and MetaTrader 4 - MQL4 programming forum
              Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
  2. The market closes Friday 5PM ET Some brokers close earlier (lack of volatility.) Could be you hit one of those.