the OpenOrder its a market price... why the close orders are not at market price ??? and we need to put OUR price?

 
I dont get it...
when the AE open an order (buy or sell) it gets opened at the CURRENT price at the moment that the server get (and process) it...

why on heart, should the programmer should put as parameter the COST at the close moment? why it is not at the price at the close moment???

just dont understand it...

Someone could have an idea about?
 
Are you talking about slippage on OrderClose function? The close price may vary on very volatile times and you can define what your limits are. 
Reason: