It performs partial of full position closing.
[in] Number of lots to reduce the position.
true - trade operation has been executed, otherwise - false.
In the "netting" mode, a position is closed using the CExpertTrade::Buy or CExpertTrade::Sell methods. In the "hedging" mode, the CTrade::PositionCloseByTicket method is used. The DeleteOrders() method is used to delete orders.