asuralm:
Hi :
I am trying to write a EA which keeps track of my mannually open orders.
I am wondering if it is possible to know the ticket number which is converted by a pending order for example sell limit, buy stop order etc.
I want to make the pending order mannually, and then input the pending order ticket number as a parameter to the EA.
Once the pending order is executed, I want EA to manage that order.
Thanks
make another EA that makes it possible to place new trade with ordermagicnumber same as the EA you have already
now you make it yourself only difficult
asuralm:
I want to make the pending order mannually, and then input the pending order ticket number as a parameter to the EA.
Once the pending order is executed, I want EA to manage that order.
Just do an orderSelect loop looking for OrderMagicNumber()==0 and OrderSymbol()==Symbol(). That's the manual order and then you have its OrderTicket() and OrderType().
I want to make the pending order mannually, and then input the pending order ticket number as a parameter to the EA.
Once the pending order is executed, I want EA to manage that order.
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
Hi :
I am trying to write a EA which keeps track of my mannually open orders.
I am wondering if it is possible to know the ticket number which is converted by a pending order for example sell limit, buy stop order etc.
I want to make the pending order mannually, and then input the pending order ticket number as a parameter to the EA.
Once the pending order is executed, I want EA to manage that order.
Thanks