- Orderselect always retrun false..
- MT4 Function Details
- Question about Ticket numbers
Is this a MetaTrader 4 or a MetaTrader 5 question?
From your wording it seems you are probably talking about MetaTrader 4. If so, then yes the the Pending Order becomes a Market Order but keeps the same Ticket number.
If MetaTrader 5, then it is a little more complicated, because an Order will lead to Deals which in turn leads to a Position and all three levels have their own ticket numbers: Orders, Deals and Positions.
Is this a MetaTrader 4 or a MetaTrader 5 question?
From your wording it seems you are probably talking about MetaTrader 4. If so, then yes the the Pending Order becomes a Market Order but keeps the same Ticket number.
If MetaTrader 5, it is a little more complicated, because an Order will lead to Deals which in turn leads to a Position and all three levels have their own ticket numbers: Orders, Deals and Positions.
- OisinKelly: Yes, it is a metatrader 4 question.
Why did you post your MT4 question in the Moderators requested to manage this section. - Trading Systems - MQL5 programming forum instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum?
Next time post in the correct place. The moderators will likely move this thread there soon. - OisinKelly: does the ticket number be passed onto the opened trade with the same ticket number, or is a new ticket number assigned to the opened trade?
It stays the same. Order type changes to buy/sell
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use