OPEN-SOURCE SCRIPT
ที่อัปเดต: SwingZag Live

SwingZag Live is a structural ZigZag indicator designed to identify validated swing points based on price action confirmation rather than simple lookback periods.
Unlike traditional ZigZag indicators that repaint or shift based on a fixed percentage/pip deviation, this script uses a validation-of-break methodology:
Key Features:
This indicator is an ideal tool for traders who use Market Structure, Smart Money Concepts (SMC), or Trend Following strategies and need a mechanical way to define validated pivots.
Unlike traditional ZigZag indicators that repaint or shift based on a fixed percentage/pip deviation, this script uses a validation-of-break methodology:
- Swing High Validation
A potential high is identified, but it is only confirmed and labeled as a Swing High (SH) once price action creates a candle close below the lowest point of the candle that formed that high. - Swing Low Validation
A potential low is identified, but it is only confirmed and labeled as a Swing Low (SL) once price action creates a candle close above the highest point of the candle that formed that low.
Key Features:
- Live Structure Mapping: Lines and labels only appear once the structural "break" occurs, making it a reliable tool for identifying trend changes.
- Customizable Visuals: Fully adjustable colors for Swing Highs, Swing Lows, and connecting ZigZag lines via the settings menu.
- Alert Ready: Built-in alerts for both New Swing High and New Swing Low confirmations.
This indicator is an ideal tool for traders who use Market Structure, Smart Money Concepts (SMC), or Trend Following strategies and need a mechanical way to define validated pivots.
Release Note
With the latest update, you can now select how the zigzag shows on the chartFrom wick to wick, our body to body
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน