OPEN-SOURCE SCRIPT

Week of the Year indicator

Simple time indicator showing weeks of the year. Acts to help you define the greater perspective of time on your charts. You can overlay it on the entire chart or use it small and consolidated like I prefer it.

Easiest to configure colors in the script itself and then leave transparency values untouched:
q1w1 = the first week of the first quarter of the year (1st week of january, indicating a new year)
q1= 1-13
q2= 14-26
q3= 27-39
q4=40-53

Hope this helps you, like it helps me.
Best regards,

IMPORTANT NOTE:
Because the scripts asks for the week of the year it doesn't exactly indicate the first day of the quarter of the year. Instead it indicates the year like this: 52 / 4 = 13 W p/Q. Or in other words: 13 weeks per quarter of the year (roughly). Every 5.6 years there's a 53rd week, which will not cause any trouble as long as TV allows the use of the 53rd week, which I think it does.
TIMEtimezonetimezonesweekweekoftheyear

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?

Disclaimer