OPEN-SOURCE SCRIPT
Updated Globex, Extended, Daily, Weekly, Monthly, Yearly Range

* Adds Right Side Only Price Line & Labels for Tracking [Close] without Extending Both Sides
* Tracks Current, Previous, and Two Previous Globex Sessions/ Futures: [High, Low, & Open]
* Tracks Current, Previous, and Two Previous Extended Session/ Stocks: [High, Low, & Open]
* Tracks Current, Previous, Two, & Three Previous Day Session/ Equities: [High, Low, & Open]
* Tracks Current, Last, Two, Three, Four, & Five Week Session/ Equities: [High, Low]
* Tracks Current, Last, Two, Three, Four, & Five Month Session/ Equities: [High, Low]
* Tracks Current, Last, Two, Three, Four, & Five Year Session/ Equities: [High, Low]
* Allows Custom [High, Low, Open] Range on Globex, Extended, & Daily Sessions
* Allows Custom [High, Low] Range on Weekly, Monthly, & Yearly Sessions
* Lines & Labels Are Not Visible on Chart Scales
* Reversible Text & Background Color
* Lines Extend Accordingly with Range
* Labels show Price & Percent Change
* Background Colors should match [User] Chart Color to avoid Overlapping Text & Labels
* Lines have [1] Offset Extension
* Labels have [10] Offset Extension
* Globex Session is only visible on Futures & if Current Timeframe is Intraday
* Extended Session is only visible on Stocks & if Current Timeframe is Intraday
* Daily, Weekly, Monthly, & Yearly Sessions are visible on All Symbols & All Timeframes
* Globex, Extended, & Regular use their Default Time Sessions but allow Customization
* For Back Testing Default Sessions, switch over on the Menu to Style and Turn On/Off their Background Color; Any Area on the Chart Without Background Color is Regular Session




* Tracks Current, Previous, and Two Previous Globex Sessions/ Futures: [High, Low, & Open]
* Tracks Current, Previous, and Two Previous Extended Session/ Stocks: [High, Low, & Open]
* Tracks Current, Previous, Two, & Three Previous Day Session/ Equities: [High, Low, & Open]
* Tracks Current, Last, Two, Three, Four, & Five Week Session/ Equities: [High, Low]
* Tracks Current, Last, Two, Three, Four, & Five Month Session/ Equities: [High, Low]
* Tracks Current, Last, Two, Three, Four, & Five Year Session/ Equities: [High, Low]
* Allows Custom [High, Low, Open] Range on Globex, Extended, & Daily Sessions
* Allows Custom [High, Low] Range on Weekly, Monthly, & Yearly Sessions
* Lines & Labels Are Not Visible on Chart Scales
* Reversible Text & Background Color
* Lines Extend Accordingly with Range
* Labels show Price & Percent Change
* Background Colors should match [User] Chart Color to avoid Overlapping Text & Labels
* Lines have [1] Offset Extension
* Labels have [10] Offset Extension
* Globex Session is only visible on Futures & if Current Timeframe is Intraday
* Extended Session is only visible on Stocks & if Current Timeframe is Intraday
* Daily, Weekly, Monthly, & Yearly Sessions are visible on All Symbols & All Timeframes
* Globex, Extended, & Regular use their Default Time Sessions but allow Customization
* For Back Testing Default Sessions, switch over on the Menu to Style and Turn On/Off their Background Color; Any Area on the Chart Without Background Color is Regular Session
Release Notes
Updated slight variation on Global Time Ranges and TooltipsRelease Notes
Updated Globex & Extended TimesRelease Notes
Once again, Globex Times & adjusted Background Color formatsRelease Notes
Most likely Last Globex Time Update, also fixed Extended TimeRelease Notes
Final Globex & Extended Time UpdateOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.