Skip to content
All library documents

Adaptive Trailing Stops with Auto, Percentage, and Pivot Methods

Article TradingView scripts

Summary

This chart indicator maintains long-side and short-side trailing levels using one of three methods: an automatic distance based on the median of observed price swings, a fixed percentage offset, or recent pivot highs and lows. A lookback setting controls the pivot and swing calculations. The position bias can follow detected price action or be forced bullish or bearish, and the plotted levels and color changes indicate the current state.

A table reports the distance to the opposing level as a reward estimate, the distance to the stop as risk, their ratio, and an implied minimum win rate. A break-even curve visualizes these values, while optional labels mark risk and reward levels. These figures are geometric calculations from current levels, not observed trading outcomes or forecasts. The document supplies no backtest or execution assumptions, and stop placement depends on instrument, timeframe, and settings; users should not treat the displayed ratio as evidence of strategy profitability.

Key ideas

  • The indicator offers automatic, fixed-percentage, and pivot-based trailing level calculations.
  • Automatic spacing uses the median of recorded price swings, while pivot mode follows recent highs and lows.
  • A bias setting can follow the detected state or enforce bullish or bearish direction.
  • The table derives risk, reward, ratio, and break-even win rate from the current trailing levels.
  • No backtest or trading performance evidence is provided.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.