Library "TimeFilter" provides utilities for dates and times inSession(session, timezone, period) Parameters: session (simple string) timezone (simple string) period (simple string) Returns: bool inSession Whether the current time is within the defined time session inDateRange(startDate, endDate)...
Library "Holiday" - Full Control over Holidays and Daylight Savings Time (DLS) The Holiday Library is an essential tool for traders and analysts who engage in backtesting and live trading . This comprehensive library enables the incorporation of crucial calendar elements - specifically Daylight Savings Time (DLS) adjustments and public holidays - into...
Library "chrono_utils" 📝 Description Collection of objects and common functions that are related to datetime windows session days and time ranges. The main purpose of this library is to handle time-related functionality and make it easy to reason about a future bar checking if it will be part of a predefined session and/or inside a datetime window. All...
Library "SessionAndTimeFct_public" is_in_session(sessionTime, sessionTimeZone) : Check if actual bar is in specific session with specific time zone Parameters: sessionTime sessionTimeZone is_session_start(sessionTime, sessionTimeZone) : Check if actual bar the first bar of a specific session Parameters: sessionTime ...