PDA

View Full Version : Orders not being replaced in live mode.


gg80108
06-17-2010, 09:09 AM
This is a trailing stop strategy but doesn't trail, in live mode. only the initial stop order is placed.. Any ideas? Curious though when I do a reload historical data, the orders trail properly..

//Initial stop
ExitLongStop(0,true,qty,entryprice - (longT1-shortT2), "IStop1", "Enter Long");

//BE Stop
ExitLongStop(0,true,Position.Quantity,entryprice, "76%ts", "Enter Long");

//move stop lock in profit
ExitLongStop(0,true,Position.Quantity,Bollinger_On Tick(Close,2,120).Middle.Get(CurrentBar) - 1 * TickSize , "50%lt2", "Enter Long");

NinjaTrader_Tim
06-17-2010, 09:17 AM
Hi gg80108,

Please see my reply at - http://www.ninjatrader.com/support/forum/showthread.php?t=30516