Click or drag to resize

OrderClientSafeOrderDelete Method

Delete pending order.

Namespace:  TradingAPI.MT4Server
Assembly:  MT4ServerApi (in MT4ServerApi.dll) Version: 4.6.1.8
Syntax
public void OrderDelete(
	int ticket,
	Op type,
	string symbol,
	double volume,
	double price
)

Parameters

ticket
Type: SystemInt32
Unique number of the order ticket.
type
Type: TradingAPI.MT4ServerOp
Operation type.
symbol
Type: SystemString
Symbol for trading.
volume
Type: SystemDouble
Number of lots.
price
Type: SystemDouble
Preferred deleting price.
Exceptions
ExceptionCondition
TradeContextBusyExceptionAll trade connections are busy.
TradeTimeoutExceptionNo reply from server in TradeTimeout milliseconds.
See Also