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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.