PROTECTED SOURCE SCRIPT
Simplified ATR Trailing Stop (Long & Short, Custom TF + Stop)

This indicator plots a dynamic ATR-based trailing stop that adapts to price volatility and keeps you protected whether you’re trading long or short. It’s lightweight, customisable, and designed for traders who want clean risk management without unnecessary complexity.
✨ Key Features:
📅 Custom Entry Date & Price – choose the exact day you want the trailing stop to begin, or let it auto-start from the close.
🔀 Long or Short Mode – flip between bullish and bearish trade setups.
⏱️ Custom Timeframe Support – calculate ATR stops on any higher/lower timeframe (from 10m to 1M) for maximum flexibility.
📏 ATR-Based Logic – trailing stop adjusts dynamically using a multiplier of ATR, keeping stops adaptive to volatility.
🎯 Custom First-Day Stop – set a different ATR factor for day one to handle entries more cautiously.
✅ Stop Trigger Mode – choose between:
Stop on Wick Breach (default intraday aggressiveness)
Stop on Candle Close (extra confirmation, fewer false stops).
📊 How to Use:
Set your entry date and price (or leave price = 0 to use that day’s close).
Select trade direction (Long or Short).
Pick your ATR period, multiplier, and timeframe.
Watch the trailing stop line update automatically until it’s breached.
This tool is great for swing traders, intraday strategists, and anyone who wants a simple yet powerful trailing stop that adapts to price volatility.
✨ Key Features:
📅 Custom Entry Date & Price – choose the exact day you want the trailing stop to begin, or let it auto-start from the close.
🔀 Long or Short Mode – flip between bullish and bearish trade setups.
⏱️ Custom Timeframe Support – calculate ATR stops on any higher/lower timeframe (from 10m to 1M) for maximum flexibility.
📏 ATR-Based Logic – trailing stop adjusts dynamically using a multiplier of ATR, keeping stops adaptive to volatility.
🎯 Custom First-Day Stop – set a different ATR factor for day one to handle entries more cautiously.
✅ Stop Trigger Mode – choose between:
Stop on Wick Breach (default intraday aggressiveness)
Stop on Candle Close (extra confirmation, fewer false stops).
📊 How to Use:
Set your entry date and price (or leave price = 0 to use that day’s close).
Select trade direction (Long or Short).
Pick your ATR period, multiplier, and timeframe.
Watch the trailing stop line update automatically until it’s breached.
This tool is great for swing traders, intraday strategists, and anyone who wants a simple yet powerful trailing stop that adapts to price volatility.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.