OPEN-SOURCE SCRIPT
52-Week High/Low with Momentum Filter & ATR Stop

This indicator for swing traders combines key yearly price levels with a hybrid moving average system and volatility-based risk markers. It identifies the 52-week high and low, providing the exact percentage distance from current prices to highlight potential breakouts or overextended moves.
Key Features
How to Use
The 52-week labels pinpoint high-probability breakout or reversal zones. Strong momentum is confirmed when the price holds above the EMA 21/50, while the SMA 200 ensures you are trading in the direction of the long-term trend. The 1.5x ATR circles offer an objective exit point to protect capital during pullbacks.
Key Features
- Yearly Range Labels: Automatically plots the 52-week high and low with labels showing the price distance from these extremes.
- Hybrid Trend System: Uses a combination of EMA 21 and EMA 50 to capture short-to-medium term momentum, while the SMA 200 provides the standard institutional trend filter.
- Volatility Stop (1.5x ATR): Features a circle-style trailing line set at 1.5 times the Average True Range. This provides a technical floor designed to filter out market noise for tighter swing trade management.
How to Use
The 52-week labels pinpoint high-probability breakout or reversal zones. Strong momentum is confirmed when the price holds above the EMA 21/50, while the SMA 200 ensures you are trading in the direction of the long-term trend. The 1.5x ATR circles offer an objective exit point to protect capital during pullbacks.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน