Download MetaTrader 5

Weared Activity by my EA

To add comments, please log in or register
Do you know that MQL5 has classes?
ismi25
9
ismi25 2015.05.05 11:41 
Hi..My EA is based on daily closing. When I run it first time after the new DAY candle starts it places the orders based on the previous day, I delete those orders and remove the EA and again run it then it places properly what can be the reason? please guide.
Stuart Browne
5814
Stuart Browne 2015.05.05 12:29  
ismi25:
Hi..My EA is based on daily closing. When I run it first time after the new DAY candle starts it places the orders based on the previous day, I delete those orders and remove the EA and again run it then it places properly what can be the reason? please guide.
Hi

Not enough info sorry. You will need to post your code up
ismi25
9
ismi25 2015.05.05 13:42  
But you think it has to do with the code? same code when is run for the second time it works fine.
To add comments, please log in or register