Topic: what is Trailing Stop based on?

Just wanted to verify what I'm guessing from the source code, a bit tough to step through when the strategy adds and reduces positions:
For built-in stop indicators, like Trailing Stop, it looks like the stop value is based on the previous bar's high or low. And, further, that is hard coded, with no option to uncheck "Use Previous Value". Is that correct?

thanks