Skip to content
All library documents

ATR Trailing-Line Trend Signals for Long-Only Trading

Article Strategy library · Author: UserG01

Summary

This TradingView strategy uses a volatility-adjusted trailing line to identify trend changes and manage long exposure. It sets the line’s distance from price as a configurable sensitivity factor multiplied by ATR, then updates the line so it trails price in the prevailing direction. A price cross above the line generates a long entry; a cross below it closes that position. The script also tracks a bullish or bearish bias and can use either closing prices or Heikin Ashi closes as its signal input.

The published description says the default setup is daily and presents the system as responsive to short-term shifts, but it supplies no backtest results or performance evidence. The ATR window defaults to one bar, making behavior especially dependent on timeframe and parameter choice. The script is long-only, uses full equity sizing with no pyramiding, and does not specify commissions or slippage. Its signals therefore describe a rule set, not proof of profitability; testing across instruments and realistic trading costs would be needed to assess it.

Key ideas

  • The trailing level is placed at a configurable ATR multiple from price.
  • A cross above the adaptive line opens a long position, while a cross below closes it.
  • The signal source can use ordinary closes or Heikin Ashi closes.
  • The published script provides no performance results, and the ATR window is highly parameter-sensitive.

Tags

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