I would appreciate some input here.
Now I know this is not conventional, but at present I'm trying to PLACE_BID/OFFER at a price that is currently worse than the current market price. My reasoning is to switch positions incase my orginal position was wrong. However it seems, (and I've tried all STOPS, LIMITS etc), that if I PLACE_BID/OFFER at a price that is worse than current market, the deal is done immediately because it asumes that the current price is better so it does the deal. I don't want this to occur unless the price reaches that BID price. Any suggestions?
eg EUR/USD currently 1.3710 PLACE_BID @ 1.3725 this gets dealt immediately
engine.submitOrder ("BuyOrder" + TickCount, myInstrument, IEngine.OrderCommand.PLACE_BID , amount, (tick.getBid() + dBuyOrderPrice), slippage, (tick.getBid() + dBuyOrderPrice) - stopLossPrice, (tick.getBid() + dBuyOrderPrice) + takeProfitPrice, lOrderExpiry);
Appreciate any input!
|