void ordersCollection_ActivatingLimitOrder(object sender, OrdersExecutor.OrderEventArgs e) { IsBlankTick = false; e.Order.ToMarketOrder(); AddMarketOrder(e.Order, e.Order.OpenPrice, false, false); }
void ordersCollection_ActivatingMarketSLOrder(object sender, OrdersExecutor.OrderEventArgs e) { IsBlankTick = false; CloseMarketOrderByPrice(e.Order, e.Order.SL); }