Customizable Vertical Lines

Customizable Vertical Lines (CVL) Indicator

Version 2.0 (November 2023)


The Customizable Vertical Lines (CVL) indicator is a powerful tool for traders who want to mark specific times on their charts with vertical lines. This indicator allows users to customize the appearance of these lines, including their color, line style, and width, providing a flexible and visually intuitive way to highlight key time points.

Key Features:

User-Friendly Inputs: Easily set up to five distinct times, each associated with a unique color for the vertical lines.

Color Customization: Choose from a wide range of colors for each vertical line, allowing for clear differentiation.

Line Style Options: Tailor the appearance of the lines with three selectable styles: solid, dotted, or dashed.

Adjustable Line Width: Modify the thickness of the lines to suit your preferred visual style.

Timezone Offset: Account for different time zones by adjusting the timezone offset parameter.

How to Use:

Simply input the desired times, colors, and other parameters in the script settings. The CVL indicator will then automatically plot vertical lines at the specified times on the chart with the chosen customization.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?