I seem to have a problem ... when my signal is triggered (say long) I want to place one order to buy at market and then 4 more orders limit orders
market-1 tick ,
market-2 ticks,
market-3 ticks and
market-4 ticks
My market order has a profit target of 16 ticks and my limit orders have a target of 4 ticks
I have two SetProfitTarget calls
SetProfitTarget("Mar****rder",CalculationMode.Tick s,16);
SetProfitTarget("LimitOrder",CalculationMode.Ticks ,4);
and I place my orders as follows:
EnterLong("Mar****rder");
EnterLongLimit(0,true,1,orderprice,"LimitOrder");
The market order goes in ok and the first limit order goes in ok but the 2nd limit order updates the first limit order rather than creating a new one
In the trace I get "Amended matching Order" - BUT it is not matching it is at a different price
PLEASE how do i get around this?
Thanks
Paul

Comment