everget

[UTILS] Session Input Parser

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

Want to use this script on a chart?
A list of Free indicators:
https://bit.ly/2S7EPuN

A list of Paid indicators:
https://bit.ly/33MA81f

Earn $30:
https://www.tradingview.com/gopro/?share_your_love=everget

Toss a coin to your witcher:
https://www.paypal.me/alexeverget

Kommentarer

500 coins
+1 Svara
everget LonesomeTheBlue
@LonesomeTheBlue, thanks, Lonesome
Svara
500 coins
+1 Svara
everget PineCoders
Svara
good job
+1 Svara
everget bappykhalidhasan0
Svara
This publication is now featured in our Editors' Picks: https://www.tradingview.com/scripts/editors-picks/ .
In the name of all TradingViewers, thank you for your valuable contribution to the community, and congrats!
+1 Svara
everget PineCoders
@PineCoders, no problemo
Svara