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::PositionClose method is used, which can also be used on accounts with the netting mode. The DeleteOrders() method is used to delete orders.