编辑精选
已更新

[UTILS] Session Input Parser

16 902

More exclusive indicators from everget

Subscribe to Trading Toolkit for $5.00/month to get exclusive indicators by this author. You pay right on TradingView and can use them on your charts straight away.

Explore Trading Toolkit
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.
版本注释
  • Refactored
版本注释
  • Fixed the selected sessions displaying

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。