mazachan
07-30-2007, 02:27 PM
If I call ExitLong() or ExitShort() without passing it an entry signal name, will it exit all positions that are long or short?
NinjaTrader_Ray
07-30-2007, 02:30 PM
It will exit positions that have been entered without a signal name.
mazachan
07-30-2007, 02:41 PM
Is there a way to flatten all positions? Something similar to ExitOnClose but being able to force it to occur?
And if you call ExitLong and have outstanding profit targets and stop losses, will they be cancelled?
NinjaTrader_Ray
07-30-2007, 03:15 PM
Unfortunately not.
Yes, stops and targets are cancelled.