Click or drag to resize

MT5APIOrderModifyAsync Method

OrderModifyAsync

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public void OrderModifyAsync(
	int requestId,
	long ticket,
	string symbol,
	double lots,
	double price,
	OrderType type,
	double sl,
	double tp,
	long expertID = 0,
	double stoplimit = 0,
	Expiration expiration = null,
	string comment = null
)

Parameters

requestId  Int32
Request ID to identify order in OrderProgress before Ticket assigned
ticket  Int64
Ticket mnumber
symbol  String
Symbol name
lots  Double
How many lots
price  Double
Price
type  OrderType
Order type
sl  Double
Stop loss
tp  Double
Take profit
expertID  Int64  (Optional)
Expert id
stoplimit  Double  (Optional)
StopLimit price
expiration  Expiration  (Optional)
 
comment  String  (Optional)
Comment
See Also