Want to be able to tie the stop loss orders & profit target orders I'm setting for 2 different sell or buy positions, to the actual positions. To do this I think I need to name the actual stop loss orders & profit target orders
As an example I'm using the below to create stops & targets
SetProfitTarget(@"Buy_1", CalculationMode.Ticks, (ATR1[0]*1.5)/TickSize); //SetProfitTarget(@"Buy_2", CalculationMode.Ticks, (ATR1[0]*3)/TickSize); SetStopLoss(@"Buy_1", CalculationMode.Ticks, (ATR1[0]*1.5)/TickSize, false); SetStopLoss(@"Buy_2", CalculationMode.Ticks, (ATR1[0]*1.5)/TickSize, false);
Is there a way to name them so I can link which was for which position as per the above?
Thanks
Comment