Trailing stop is the maximum distance there will always be betwee the current price and the SL. In no case that distance will be higher. It can only be shorter. Trailing step is the diatance the SL will be moved on the chart every time price is at the exact trailing stop distance from SL. You can create 2 constants to select both values.