Maximum slipagge configurable in pending orders

Created at 07 Aug 2017, 20:06
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!
IU

iurygdrgdr

Joined 03.08.2017

Maximum slipagge configurable in pending orders
07 Aug 2017, 20:06


It would be a good idea if you had the option to put slipagge maximum deviation in points in each outstanding order type and put that functionality to the robots, when the slipagge is larger than expected, the pending order would be canceled and not executed.


@iurygdrgdr
Replies

mparama
12 Aug 2017, 00:13

I think you can put the slippage limit :

[Parameter("Market Range - Slippage", DefaultValue = 3.5)]
        public double slippage { get; set; }

..............................................

...................................

 ExecuteMarketOrder(TradeType.Buy, Symbol, OrderSize, Label, SL, TP, slippage);

 


@mparama