Library "lib_session_gaps" simple lib to calculate the gaps between sessions time_gap() calculates the time gap between this and previous session (in case of irregular end of previous session, considering extended sessions) Returns: the time gap between this and previous session in ms (time - time_close ) bar_gap() calculates the bars missing...
🔵 Introduction "The Forex Trading Sessions" highlight the active periods across different markets where significant trading volume and influence on the forex market are evident. The primary trading sessions globally include the "Asian Session," "London Session," and "New York Session." A "Kill Zone" refers to a segment within a session characterized by high...
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 "SetSessionTimesIndia" This library might be useful to code an indicator or strategy that requires to call Indian trading sessions at NSE and MCX. SetSessionTimes()
Library "DailyLevels" Functions for acquiring daily timeframe data by number of prior days. openD(daysPrior, spec, res) Gets the open for the number of days prior. Parameters: daysPrior : Number of days back to get the open from. spec : session.regular (default), session.extended or other time spec. res : The resolution (default =...
Library "SessionInfo" Utility functions for session specific information like the bar index of the session. inSession(spec) Returns true if the current bar is in the session specification. Parameters: spec : session.regular (default), session.extended or other time spec. Returns: True if the current is in session; otherwise false. ...
Library "LibraryCheckNthBar" TODO: add library description here canwestart(UTC, prd) this function can be used if current bar is in last Nth bar Parameters: UTC : is UTC of the chart prd : is the length of last Nth bar Returns: true if the current bar is in N bar