If you name your entries, then refer to them with the SetStopLoss or SetTrailStop, you can use both stops at the same time, but only in that condition.
Reference Below:
Tips (also see Overview)
· The SetTrailStop() method can NOT be used concurrently with the SetStopLoss() method for the same position, if both methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. You can however, use both methods in the same strategy if they reference different signal names.

Comment