OPEN-SOURCE SCRIPT
ที่อัปเดต: ATR Stop Loss Labels (Long / Short)

ATR Stop Loss Labels (Long / Short)
Description:
This indicator provides a clean and practical way to calculate and display ATR-based stop loss levels directly on the chart—without cluttering it with lines.
Instead of drawing dynamic lines, it shows clear labels for Long and Short stop levels on the latest candle, making it ideal for traders who want precise risk levels without visual noise.
How it works:
The script uses the Average True Range (ATR) to measure market volatility.
A user-defined multiplier is applied to the ATR to calculate stop distances.
Stop levels are updated in real-time based on the latest price.
Stop Loss Logic:
Long SL: Close − (ATR × Multiplier)
Short SL: Close + (ATR × Multiplier)
Features:
Toggle between Long, Short, or Both stop loss labels
Clean label-based display (no lines, no clutter)
Real-time updates on the latest candle
Built-in ATR value display table
Customizable colors and settings
Best Use Cases:
Intraday trading (15m / 1H)
Swing trading (4H / 1D)
Works well with trend-following systems (EMA, RSI, etc.)
Ideal for traders who prefer manual entries with structured risk management
Recommended Settings:
Multiplier 1.5–2.0 → tighter stops (intraday)
Multiplier 2.0–2.5 → wider stops (swing trades)
Notes:
This indicator does not generate buy/sell signals.
It is designed purely for risk management and stop placement.
For best results, combine it with your own entry strategy.
Summary:
A simple, professional tool to define stop losses using volatility—focused on clarity, speed, and practical trading execution.
Description:
This indicator provides a clean and practical way to calculate and display ATR-based stop loss levels directly on the chart—without cluttering it with lines.
Instead of drawing dynamic lines, it shows clear labels for Long and Short stop levels on the latest candle, making it ideal for traders who want precise risk levels without visual noise.
How it works:
The script uses the Average True Range (ATR) to measure market volatility.
A user-defined multiplier is applied to the ATR to calculate stop distances.
Stop levels are updated in real-time based on the latest price.
Stop Loss Logic:
Long SL: Close − (ATR × Multiplier)
Short SL: Close + (ATR × Multiplier)
Features:
Toggle between Long, Short, or Both stop loss labels
Clean label-based display (no lines, no clutter)
Real-time updates on the latest candle
Built-in ATR value display table
Customizable colors and settings
Best Use Cases:
Intraday trading (15m / 1H)
Swing trading (4H / 1D)
Works well with trend-following systems (EMA, RSI, etc.)
Ideal for traders who prefer manual entries with structured risk management
Recommended Settings:
Multiplier 1.5–2.0 → tighter stops (intraday)
Multiplier 2.0–2.5 → wider stops (swing trades)
Notes:
This indicator does not generate buy/sell signals.
It is designed purely for risk management and stop placement.
For best results, combine it with your own entry strategy.
Summary:
A simple, professional tool to define stop losses using volatility—focused on clarity, speed, and practical trading execution.
Release Note
What’s New:1. Percentage-Based Distances
Stop Loss and Take Profit levels now display distance in %
Helps quickly evaluate risk without manual calculation
Included in both:
Chart labels (SL / TP1 / TP2 / TP3)
Summary table
2. Risk-to-Reward Clarity (R-Based TP System)
Take Profit levels are calculated using R multiples (1R / 2R / 3R)
Directly linked to your defined SL distance
Ensures consistent and structured trade planning
3. Improved Label Positioning
Labels are now:
Horizontally offset (to the right of price)
Vertically staggered (based on ATR)
Eliminates overlap between SL and TP levels
Keeps the chart clean and readable
4. Fully Customizable Layout
Adjustable label offsets (SL, TP1, TP2, TP3)
Adjustable vertical spacing via ATR multiplier
Custom colors for Long / Short setups
Why this matters:
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน