Download MetaTrader 5

Trades are double when I put my EA at work?

To add comments, please log in or register
Luis
226
Luis  

Hello there my EA seems to put double the trades when I put it on a DEMO account. (they are entry orders)


Does anyone has an idea what could it be?


Thank you


Luis

Guillermo
108
Guillermo  
I am no mind reader. Could you post code fragments of where OrderSend is called?
whroeder1
16274
whroeder1  
Or you have two charts (or two terminals) with the EA running. Restart the terminal and look in the experts folder.
Luis
226
Luis  
Sor
Flood19:
I am no mind reader. Could you post code fragments of where OrderSend is called?
Sorry I didnt post the code, because the code was right. I dont understand what could be happening.
Luis
226
Luis  
WHRoeder:
Or you have two charts (or two terminals) with the EA running. Restart the terminal and look in the experts folder.

No Im not that idiot haha.


Look! I have found the same problem and he only managed to resolve it when he put the EA in a non DEMO account


https://forum.mql4.com/57819

Drazen Penic
2729
Drazen Penic  
Here are some ideas:
  1. Your EA has a bug
  2. Properly coded EA's work as expected. You don't have a clue what you are doing.
  3. There is an error in the log file.
  4. You have multiple copies running.
  5. You expect people to detect your problem without giving any diagnostic info, hence this list.
whroeder1
16274
whroeder1  
BeLikeWater: No Im not that idiot haha.
So what idiot are you? :) No one else has the problem, therefor it must be in your code or charts, or terminals(s.).
To add comments, please log in or register