Click or drag to resize

MT5APIOrderModify Method

Modify order

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public void OrderModify(
	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

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