Variable SL while using BacktestRegularRaw

Hello,
I need to use a variable SL using ApplyStop function. But at the same time I need to use Backtest Regular Raw mode. But variable SL is not supported in this mode. How can I deal with this? Should I use low-level CBT? Or is there any other way?
Thanks