Editors' picks
OPEN-SOURCE SCRIPT

[UTILS] Session Input Parser

Updated
An utility function to parse session inputs. Extracts hours, minutes and weekdays (if defined) and returns a tuple as the result.

_parseSession(sessionString) => (hourStart, minuteStart, hourEnd, minuteEnd, weekdaysArray)

Examples presented on the chart.
Release Notes
  • Refactored
Release Notes
  • Fixed the selected sessions displaying
Breadth IndicatorsfunctionparsersessionsessiondividerUTILutility

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?


Freelance -> Telegram: @alex_everget

A list of FREE indicators:
bit.ly/2S7EPuN

A list of PAID indicators:
bit.ly/33MA81f

Earn $15:
tradingview.com/pricing/?share_your_love=everget
Also on:

Disclaimer