- no
- invalid question, you must reselect the order.
Many thanks. So it sounds like a new order is created. If I did call OrderSelect() on the original ticket then OrderLots(), will it show 2 or 1?
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
Ok, let's say I have a ticket 1000011 which is long 2 contracts. I use OrderClose() to close 1 of those contracts leaving a position open of just one.
Two questions -
1) Will the new position have the same ticket number?
2) Will calling OrderLots() on the original ticket show 2 or 1 lots in the scenario above?
Also, I notice that the MetaEditor has a F9 option to add a breakpoint. I take it we can't use these for debugging/stepping through EAs?