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

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.