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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.