PDA

View Full Version : link stop to limit price


binwang2
01-21-2010, 08:56 AM
Hello NT experts,

In stop lomit order submission such as EnterShortStopLimit, will it Ok if I calculate limit price out of stop price in this way:

enterlong = EnterLongStopLimit(int barsInProgressIndex, bool liveUntilCancelled, int quantity, enterlong.StopPrice+1*TickSize, double stopPrice,string signalName)

Regards,

NinjaTrader_Bertrand
01-21-2010, 10:10 AM
This would not work, as you would attempt to access a null IOrder object resulting in an error...