Thank you for your reply.
You could use LowestBar to find the bar with the lowest low since the TrailBar:
// store the lowest bar ago value
int lowestBar = LowestBar(Low, CurrentBar - TrailBar);
//evaluate low price from lowest bar ago value
double lowestPrice = Low[lowestBar];
You could then use the lowestPrice when setting the trailing stop.
Please let us know if we may be of further assistance to you.

Comment