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.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。