SetStopLossTrail (double slPrice)
method
Sets a new (modifies existed) stop-loss order with trailing
Syntax
public bool SetStopLossTrail (double slPrice)
Parameters
slPrice — double
Price of the stop-loss trail order.
Return
bool
Return true if stop-loss trail order was placed, otherwise false.
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.
Order methods
- Cancel ()
- CancelAsync (Action<bool> callback)
- Modify (ReplaceOrderRequest request)
- Modify (double newPrice)
- Modify (double newPrice, double newAmount)
- RemoveStopLoss ()
- RemoveStopLossAsync (Action<bool> callback)
- RemoveTakeProfit ()
- RemoveTakeProfitAsync (Action<bool> callback)
- SetStopLoss (double slPrice)
- SetStopLossAsync (double slPrice, Action<bool> callback)
- SetStopLossTrailAsync (double slPrice, Action<bool> callback)
- SetTakeProfit (double tpPrice)
- SetTakeProfitAsync (double tpPrice, Action<bool> callback)
Order properties
- Account
- Amount
- CloseTime
- Comment
- CurrentPrice
- ExpirationTime
- FilledAmount
- FillPrice
- GroupId
- Id
- Instrument
- IsActive
- IsAutoTradeOrder
- IsGroupPart
- IsReplaceable
- IsStopLossOrder
- IsTakeProfitOrder
- LastUpdateTime
- LinkedTo
- MagicNumber
- Price
- RemoteId
- Side
- StopLimitPrice
- StopLossOrder
- TakeProfitOrder
- Time
- TimeInForce
- Type