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 "time_filters" Collection of filters that related with time like sessions and datetime ranges. All existing session functions I found in the documentation e.g. not na(time(timeframe.period, sessionTimes)) are not suitable for strategies, since the execution of the entries and the exits are delayed by one bar. Thus I created this library to overcome this...
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