Click or drag to resize

MT4Manager.OrderSend Method

Send pending or market order

Namespace:  mtapi.be.MT4ManagerNetApi
Assembly:  MT4ManagerNetApi (in MT4ManagerNetApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public TradeRecord OrderSend(
	int login,
	string symbol,
	Op type,
	double lots,
	double price = 0,
	int slippage = 0,
	double stoploss = 0,
	double takeprofit = 0,
	string comment = null,
	DateTime expiration = default
)

Parameters

login
Type: System.Int32
symbol
Type: System.String
type
Type: mtapi.be.MT4ManagerNet.Op
lots
Type: System.Double
price (Optional)
Type: System.Double
slippage (Optional)
Type: System.Int32
stoploss (Optional)
Type: System.Double
takeprofit (Optional)
Type: System.Double
comment (Optional)
Type: System.String
expiration (Optional)
Type: System.DateTime

Return Value

Type: TradeRecord
Exceptions
ExceptionCondition
Exception
See Also