OPEN-SOURCE SCRIPT

Weekly and daily separators

Updated
This script plots vertical line between each trading week (thick, solid) and smaller lines (dotted) between each trading day. This helps kepping a better overview on the aspect of time on the higher timeframes below 1D. The distance of the lines to the top and bottom of the chart is controlled by your chart settings menu under Appearance -> Margins.
Release Notes
Increased the number of lines displayed
Release Notes
Added support to hide the daily lines on the daily chart and higher and the same for the weekly lines on the weekly chart and higher. On the timeframes from the daily and above the weekly has a secondary line width too. This should help make the charts look cleaner
This is configurable in the parameters now and the line widths can be selected.
Release Notes
Minor cosmetic changes and added 2 parameters for better control
Release Notes
Choose Line style and width independently now
Release Notes
Fixed color selection and changed default values
Release Notes
Higher tf color option
Release Notes
Added monthly line
Release Notes
Default config changed
Release Notes
This update includes a bunch of changes that should make the indicator easier to use and more customizable. Even more importantly I fundamentally changed the way a change of day/week/month is detected. This should now be more stable and print more consistently for each timeframe.

Further added features:
  • Select time zone for when the session change should be marked
  • Lines don't have to paint all the way across the chart vertically but can be adjusted to just have some part of the top and bottom covered.
  • Optional labels can be toggled which show the starting month, calendar week and day. Available day formats are either the weekday or the date either in the format dd.MM or MM.dd
  • Default line widths and colors changed to a orange hue
Release Notes
Updated chart to match last major update
CyclesDaily ChartsdayseparatorforecastinghighertimeframeintervalMonthly ChartsmultitimeframeseparatortimeframeWeekly Chartsweekseparator

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer