Download MetaTrader 5

Trades are double when I put my EA at work?

To add comments, please log in or register
Do you know C++? MQL5 has much in common with it. Just try it yourself!
Luis
226
Luis 2016.10.06 11:32 

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
95
Guillermo 2016.10.06 12:30  
I am no mind reader. Could you post code fragments of where OrderSend is called?
whroeder1
14519
whroeder1 2016.10.06 17:31  
Or you have two charts (or two terminals) with the EA running. Restart the terminal and look in the experts folder.
Luis
226
Luis 2016.10.16 11:18  
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 2016.10.16 11:23  
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
2544
Drazen Penic 2016.10.16 11:38  
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
14519
whroeder1 2016.10.16 16:28  
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