pending order of limit or stop.

Created at 31 Oct 2017, 00:57
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

martinbottaro34

Joined 30.10.2017

pending order of limit or stop.
31 Oct 2017, 00:57


 

Hello, I wanted to know if you could guide me how to make an order pending limit or stop. example at 10 pips of the current value a sales or purchase order is opened. I am looking forward to your response From already thank you very much :)


@martinbottaro34
Replies

344260146
04 Nov 2017, 23:41

PlaceStopOrder(TradeType tradeType, Symbol symbol, long volume, double targetPrice, string label, double? stopLossPips, double? takeProfitPips, DateTime? expiration, string comment) 

Example

    PlaceStopOrder(TradeType.Sell, Symbol, 1000, MarketSeries.Close.LastValue- (Symbol.PipSize * 10), “Label”, 22, 66);

PlaceLimitOrder ………………………………………………


@344260146