SetStopLoss() question
Let's say I call the SetStopLoss() method before submitting an order. The order is filled and the stoploss order is automatically submitted. What if I want to reset that stoploss order to breakeven? When I try to call SetStopLoss() again while the order is active, I get this error:
10/20/2010 9:34:17 AM Entered internal SetStopTarget() method: Type=Stop FromEntrySignal='ptt Long' Mode=Price Value=697.8 Currency=0 Simulated=False
10/20/2010 9:34:17 AM Ignored internal SetStopTarget() method: Type=Stop FromEntrySignal='ptt Long' Mode=Price Value=697.8 Currency=0 Simulated=False' Reason='Another SetStopTarget() method call has already submitted a stop/target order'
Am I not doing it right?
Price-Dynamics.com
A NinjaTrader Official Partner
Visit http://www.price-dynamics.com to learn more about the Rhythm Relay trading system. Yes, you can discretionary or auto-trade with 75%+ accuracy!
Use our Contact Us page to request free access to our daily Trader's Lounge where you can see the system in action in a live account!
|