Download MetaTrader 5

pending orders to market orders ........

To add comments, please log in or register
pascalboy
238
pascalboy  
When i open a pending order it produces ticket number,ordertype etc.and can learn them with orderselect function.

But after the pending order realizes and it becomes a market order,does its ticket number,ordertype change and becomes a new order?and could its ticket number,ordertype etc be learned with another orderselect function?
(for example does its ordertype change from buy_limit to op_buy?
whroeder1
16058
whroeder1  
The order type changes. Not sure about OrderOpenTime
pascalboy
238
pascalboy  
What about order open price? Can orderselect function choose its open price as different?
whroeder1
16058
whroeder1  
Of course. A pending order becomes a market order when the market touches the pending price and slippage can/will happen. If the market gaps, the new OrderOpenPrice can be much higher than the pending price. Tester does not mimic gaps.)
To add comments, please log in or register