Trailing Stop Order Interactive Brokers

I would like to set the Applystop function to give the same results in the backtest as the Trailing Stop Order in real trading via Interactive Brokers.

I assume that the following entry corresponds to the IB Order Trail STP 5%:
ApplyStop(stopTypeTrailing, stopModePercent, 5, .....)

And following entry corresponds to the IB Order Trail STP 10$:
ApplyStop(stopTypeTrailing, stopModePoint, 10, .....)

Could you confirm my assumption?

And how to set other parameters - exitatstop and volatile?

Milan