PDA

View Full Version : Muliti enter strategy stop loss problem.


Czarek
08-19-2008, 11:37 AM
I use this method for stop loss:
{
CalculateOnBarClose = true;
SetStopLoss(CalculationMode.Ticks, stop);
SetProfitTarget("", CalculationMode.Ticks, Limit);

}
and mentod shown here Strategy: Modifying the price of stop loss and profit target orders (http://www.ninjatrader-support.com/vb/showthread.php?t=3222) to move stop to breakeven.

It working good for single enter per direction but if I set few entries
all stop loss orders are moved to breakeven at same time together ( in the middle of all entries level) and filled in the same time.
How to set separate stop and breakeven for each enteries??
Can I have any code sample or prompt.
Rgds
Czarek

NinjaTrader_Ray
08-19-2008, 12:11 PM
Call the SetStopLoss() each time for each unique entry signal.