Thanks for the reply.
You can use tags to control which Stop Loss is attached to each entry.
The tag string can be based off of the current bar, so that can be used to create unique entries that have a unique stop loss associated.
Please consider the following as an example:
if ((Low[0] >= Low[1]) && (High[0] <= High[1])) { EnterLong(Convert.ToInt32(DefaultQuantity), @"LongEntry" + CurrentBar.ToString()); SetStopLoss( @"LongEntry" + CurrentBar.ToString(), CalculationMode.Price, Low[0], false); }
You may wish to reference the SetStopLoss() documentation for syntax when specifying an entry signal: https://ninjatrader.com/support/help...etstoploss.htm
Please let me know if you have any additional questions.
Comment