OPEN-SOURCE SCRIPT

J - Trend Sniper v2

1 442
(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

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.