OPEN-SOURCE SCRIPT
Updated

Future week Calendar; Each day's custom sessions & Labels

6 148
On-Chart Calendar for the week ahead with 4x customizable intraday sessions (each day with it's own unique sessions)

-add your own text labels and optional time/date stamps to each session; for key events of the week.
-toggle on/off each individual session.
-Choose number of weeks of history to show (default is 0: only show upcoming week.
-Works on BTC too (includes Saturday/Sunday sessions).

//Notes//
~timestamps and labels anchor to the start of the session box
~when using with default 'weeks back to show' = 0; Session boxes will disappear as price passes through their right hand side.
~to remove the very long indicator status line (due to so many sessions): Go to chart settings >> status line, and under 'indicator' toggle off 'arguments'

Example usage: Each day's 4x custom sessions showing; only upcoming week; no labels
snapshot

Example usage: Each day's 4x custom sessions showing; Showing 1 week of history too; no labels
snapshot
Release Notes
Added text formatting options:
-Preface custom text with Day name/Time/Date (US or UK format)
-Text position, text color, text size
Release Notes
-refined day of week condition to prevent minor error where excess historical sessions would print on certain timeframes
Release Notes
-Fixed next day's boxes to automatically reposition vertically, once we enter that day (00:00 user timezone), so they're are more correcly anchored/centered to current price
Release Notes
-Option to delete historical Labels; fix alignment of future boxes (2+days ahead) to be smoother
Release Notes
-fixed minor error in deleting previous week's labels function
Release Notes
-correction
Release Notes
-proper fix for 'delete historical labels' condition

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.