For a long, the stop is the highest price since entry times (1 − trail percent), or the highest price minus a fixed distance. For a short, it is the lowest price times (1 + trail percent), or the lowest price plus the distance. With a 3% trail, a long from 60,000 that reached 65,000 has its stop at 65,000 × 0.97 = 63,050.
This page models a trail with no activation price, so tracking starts at entry. Exchanges also let you start the trail only after price reaches an activation price. OKX's help, updated August 26, 2026, says: if you do not set an activation price, the trailing stop will activate immediately after the order is placed. Bybit's trailing-stop article, last updated November 5, 2026, publishes the same highest-price and lowest-price trigger. This calculator is the trigger price, not a Tradeture order type.