i have issue when trying to make stop trail - using Playback
the scenario is like this:
1. get into possition - 10 units
2. set stoploss - 10 units
3. set profit-target - 5 units
---------------------------------
profit target - executed - 5 units sold
I cancel the old stoploss and set a new one.
if (_stopLossShortOrder != null)
CancelOrder(_stopLossShortOrder);
ExitShortStopMarket(dStopLossPrice, ORDER_e.StopLoss_Short.ToString(), ORDER_e.Short_market_entry.ToString());
in the order list i see order accepted - buy when the price hit the stoploss - the order is canceled instaed of sell execution !
Please advice
thanks
Oren
Comment