OPEN-SOURCE SCRIPT
Day Vertical Line

Day Vertical Line
A simple, lightweight tool that draws a vertical line on every occurrence of a chosen weekday. Pick a day from the dropdown — for example, Friday — and the indicator marks every Friday on your chart with a clean vertical line.
Features
Select any day of the week (Sunday through Saturday) from a single dropdown
Vertical lines drawn automatically on every matching day across your full chart history
Customizable line color
Adjustable line width (1–5)
Choice of line style: solid, dashed, or dotted
Lines extend the full height of the chart for clear visual reference
How to Use
Add the indicator to your chart
Open the settings and choose your target day under "Show Line On"
Adjust color, width, and style to match your chart theme
Best Practices
Works on any timeframe. For one clean line per day, apply it to the daily (D1) timeframe. On intraday charts, a line is drawn on each bar belonging to the selected day.
Use Cases
Useful for marking weekly anchor points, highlighting specific session days, backtesting day-of-week patterns, or keeping track of recurring events tied to a particular weekday.
A simple, lightweight tool that draws a vertical line on every occurrence of a chosen weekday. Pick a day from the dropdown — for example, Friday — and the indicator marks every Friday on your chart with a clean vertical line.
Features
Select any day of the week (Sunday through Saturday) from a single dropdown
Vertical lines drawn automatically on every matching day across your full chart history
Customizable line color
Adjustable line width (1–5)
Choice of line style: solid, dashed, or dotted
Lines extend the full height of the chart for clear visual reference
How to Use
Add the indicator to your chart
Open the settings and choose your target day under "Show Line On"
Adjust color, width, and style to match your chart theme
Best Practices
Works on any timeframe. For one clean line per day, apply it to the daily (D1) timeframe. On intraday charts, a line is drawn on each bar belonging to the selected day.
Use Cases
Useful for marking weekly anchor points, highlighting specific session days, backtesting day-of-week patterns, or keeping track of recurring events tied to a particular weekday.
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.