boolOrderClose(int ticket, double lots, double price, int slippage, int color color=CLR_NONE)
Closes opened order. If the function succeeds, the return value is true. If the function fails, the return value is false. To get the detailed error information, call GetLastError().