Opening a position with more than one order is the selling price, and an empty order is the buying price. ...
The following are examples of multiple orders:
Order sending (symbol (), op _ buy, lots, ask, 3, ask- stop loss * point, ask+ take profit * point, "My order", 12345, 0, green);