OPEN-SOURCE SCRIPT
Internal & External MSS

Here is a quick breakdown of what it does and its key features:
Dual Tracking (Internal vs. External): It calculates two different sets of market swings simultaneously. It tracks smaller, short-term price movements (Internal MSS) and larger, structural price movements (External MSS).
Overlap Prevention: To keep your chart clean, if a short-term Internal shift and a long-term External shift occur at the exact same price level, the script is programmed to only draw the more significant External level.
Wick vs. Body Calculation: You can toggle the settings to define market structure using either the extreme highs/lows of the candle wicks, or the real bodies (open/close) of the candles.
Smart Label Placement: Breakout lines are drawn horizontally from the broken swing point, and text labels (like "E-MSS" or "i-MSS") automatically float above or below the lines so they don't collide with the drawings.
Fully Customizable Visuals: Through the settings menu, you can easily change the line colors, thickness, dashed/solid styles, and the exact text used for the labels without needing to edit the code again.
Dual Tracking (Internal vs. External): It calculates two different sets of market swings simultaneously. It tracks smaller, short-term price movements (Internal MSS) and larger, structural price movements (External MSS).
Overlap Prevention: To keep your chart clean, if a short-term Internal shift and a long-term External shift occur at the exact same price level, the script is programmed to only draw the more significant External level.
Wick vs. Body Calculation: You can toggle the settings to define market structure using either the extreme highs/lows of the candle wicks, or the real bodies (open/close) of the candles.
Smart Label Placement: Breakout lines are drawn horizontally from the broken swing point, and text labels (like "E-MSS" or "i-MSS") automatically float above or below the lines so they don't collide with the drawings.
Fully Customizable Visuals: Through the settings menu, you can easily change the line colors, thickness, dashed/solid styles, and the exact text used for the labels without needing to edit the code again.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน