Comments that do not relate to the "Open Buy Code issue.", have been moved into this topic.
- Open Buy Code issue.
- HistoryOrderSelect not working for executed pending order
- Drawing lines - Max and min -
Hi Alain Verleyen do you actually help persons in this community ? if so i would also need a little help. also entirely new to coding however i managed to put together a working EA. however it started to give an unusual problem. its instantaneous open the same order multiple times. could this be punctuation ?
Reco Daley:
Hi Alain Verleyen do you actually help persons in this community ? if so i would also need a little help. also entirely new to coding however i managed to put together a working EA. however it started to give an unusual problem. its instantaneous open the same order multiple times. could this be punctuation ?
Nobody can't guess what is your problem without the code.
Hi Alain Verleyen do you actually help persons in this community ? if so i would also need a little help. also entirely new to coding however i managed to put together a working EA. however it started to give an unusual problem. its instantaneous open the same order multiple times. could this be punctuation ?
Reco Daley:
Hi Alain Verleyen do you actually help persons in this community ? if so i would also need a little help. also entirely new to coding however i managed to put together a working EA. however it started to give an unusual problem. its instantaneous open the same order multiple times. could this be punctuation ?
Hi Alain Verleyen do you actually help persons in this community ? if so i would also need a little help. also entirely new to coding however i managed to put together a working EA. however it started to give an unusual problem. its instantaneous open the same order multiple times. could this be punctuation ?
you means at signal generation on your ea it is opening more then one orders at a time means use the below method
int ticket;
if(OrdersTotal()==0 && ---aditional conditions if any---)
{
ticket = OrderSend (Symbol(),OP_SELL,Lot,Bid,Slippage,SL,TP,NULL,0,0);
return;
}
Even those if opening more then one trades erase return . Best of luck.
OrdersTotal variable calculate you account orders.
if it is not a solution to your case means tell us a detailed explanation about your issue.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register