unable to find atr trailing stops pine script same as zerodha with squarewave and points

unable to find atr trailing stops pine script same as zerodha with squarewave and points