Here's what I want to do:
1) A trade is entered for 3 lots [lots #1, #2, and #3], where each lot is entered concurrently as an individual trade.
2) An initial stop loss of x%, using SetStopLoss, is set for all of the 3 lots.
3) Separate profit targets [#1, #2, and #3] are set for each of the 3 lots
NOTE: I already have 1), 2), and 3) coded.
4) I'd like to use SetTrailStop after price target #1 is hit and lot #1 is taken out so I can implement trailing stops of y% for the remaining lots #2 and #3.
My question is how do I have an initial stop loss for the 3 lots of x% AND trailing stop losses of y% once the first price target [lot#1] is taken out? Can this be done using NinjaScript methods or do you suggest that I code my own trailing stop method?
Comment