Maximum slipagge configurable in pending orders
Created at 07 Aug 2017, 20:06
IU
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.
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