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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.