PROTECTED SOURCE SCRIPT
ATR SL Calculator

Description:
The ATR SL Calculator is a Pine Script v6 indicator designed for dynamic stop‑loss management.
It overlays an interactive table on your chart that:
// • Tracks a custom entry price per ticker (or defaults to the current close)
// • Calculates an ATR‑based stop‑loss level using adjustable period and multiplier
// • Displays real‑time ATR value and its percentage relative to price
// • Shows percentage change from entry to current price
// • Computes distances and percentage differences to the 20 and 150 SMAs
// • Estimates market capitalization from total shares outstanding
// • Allows you to position the stats table anywhere on the chart
Features:
• Per-symbol manual entry price input (format: SYM=price)
• Default to closing price if no manual entry specified
• Adjustable ATR period and multiplier for SL calculation
• Distances and % differences to 20 and 150 SMAs
• Real-time ATR value and % of current price
• Live market cap computed from shares outstanding and current price
• Configurable table position: Top Left, Top Center, Top Right, Bottom Left, Bottom Right
Usage:
1. Add the indicator to your TradingView chart.
2. In the settings, enter entry prices as "SYMBOL=PRICE" pairs or enable default close.
3. Adjust ATR period and multiplier to suit your risk tolerance.
4. Choose the table position and view real-time SL, ATR, SMA distances, percentages, and market cap.
The ATR SL Calculator is a Pine Script v6 indicator designed for dynamic stop‑loss management.
It overlays an interactive table on your chart that:
// • Tracks a custom entry price per ticker (or defaults to the current close)
// • Calculates an ATR‑based stop‑loss level using adjustable period and multiplier
// • Displays real‑time ATR value and its percentage relative to price
// • Shows percentage change from entry to current price
// • Computes distances and percentage differences to the 20 and 150 SMAs
// • Estimates market capitalization from total shares outstanding
// • Allows you to position the stats table anywhere on the chart
Features:
• Per-symbol manual entry price input (format: SYM=price)
• Default to closing price if no manual entry specified
• Adjustable ATR period and multiplier for SL calculation
• Distances and % differences to 20 and 150 SMAs
• Real-time ATR value and % of current price
• Live market cap computed from shares outstanding and current price
• Configurable table position: Top Left, Top Center, Top Right, Bottom Left, Bottom Right
Usage:
1. Add the indicator to your TradingView chart.
2. In the settings, enter entry prices as "SYMBOL=PRICE" pairs or enable default close.
3. Adjust ATR period and multiplier to suit your risk tolerance.
4. Choose the table position and view real-time SL, ATR, SMA distances, percentages, and market cap.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.