OPEN-SOURCE SCRIPT
Key Swing Levels

Key Swing Levels (KSL) plots higher-timeframe reference levels — Weekly High/Low, Monthly High/Low, Previous Day High/Low, Weekly & Monthly Open, and configurable round numbers — on any chart, any timeframe.
A proximity dashboard in the top-right corner shows real-time distance in pips to each level, with cells highlighting red when price comes within range.
Features:
Auto-detects pip size for JPY pairs, other forex, metals, indices, and crypto — no manual configuration
Current week & month levels (solid) and previous week & month levels (dashed) for AMD / SMC analysis
Round number plotting with optional 50-pip half levels
Configurable label offset so levels don't cover forming candles
Built-in alerts when price approaches any major level
How to use:
Use it as a daily/weekly bias map. Levels mark areas where price is likely to react — sweeps, rejections, or breaks. Particularly useful for session-based traders watching for liquidity grabs at PDH/PDL or weekly extremes during London/NY opens.
Open-source. Feedback and forks welcome.
A proximity dashboard in the top-right corner shows real-time distance in pips to each level, with cells highlighting red when price comes within range.
Features:
Auto-detects pip size for JPY pairs, other forex, metals, indices, and crypto — no manual configuration
Current week & month levels (solid) and previous week & month levels (dashed) for AMD / SMC analysis
Round number plotting with optional 50-pip half levels
Configurable label offset so levels don't cover forming candles
Built-in alerts when price approaches any major level
How to use:
Use it as a daily/weekly bias map. Levels mark areas where price is likely to react — sweeps, rejections, or breaks. Particularly useful for session-based traders watching for liquidity grabs at PDH/PDL or weekly extremes during London/NY opens.
Open-source. Feedback and forks welcome.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน