OPEN-SOURCE SCRIPT

J - Trend Sniper v2

1 445
(2024)

A trend-following indicator that combines an ATR trailing stop with a smoothed price line to detect trend shifts and generate long/short signals.

  • Calculates a slow ATR trailing stop (main trend boundary) and a fast ATR trailing stop, then plots a midpoint "Fast Line" between the two
  • A smoothed signal line (a) tracks price using a volatility-weighted EMA — more reactive during high-volatility candles, smoother during low-volatility ones
  • Long signal fires when the signal line crosses above the ATR trailing stop; Short when it crosses below

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。