Announcement

Collapse
No announcement yet.

Getting the current time interval

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting the current time interval

    Is there a way to get the current time interval for intraday intervals ?

    I saw in the efs Glossary, functions to get if its a daily interval or weekly, but what I'm trying to retrieve is the intraday interval (eg: 5 min, 15 min, etc). Knowing that its just intraday doesnt help, I need to know from within a script if its 5 min or 30min.

    Is there a way to do this ?

    isDaily()
    isDWM()
    isInSession()
    isIntraday()
    isLastBarOnChart()
    isMonthly()
    isNull() 858
    inv() 719
    isPlayBackMode()
    isRawTick()
    isReplayMode()
    isTick()
    isWeekly()

  • #2
    Re: Getting the current time interval

    danclark
    You can do that using the getInterval() function
    Alex


    Originally posted by dancclark
    Is there a way to get the current time interval for intraday intervals ?

    I saw in the efs Glossary, functions to get if its a daily interval or weekly, but what I'm trying to retrieve is the intraday interval (eg: 5 min, 15 min, etc). Knowing that its just intraday doesnt help, I need to know from within a script if its 5 min or 30min.

    Is there a way to do this ?

    isDaily()
    isDWM()
    isInSession()
    isIntraday()
    isLastBarOnChart()
    isMonthly()
    isNull() 858
    inv() 719
    isPlayBackMode()
    isRawTick()
    isReplayMode()
    isTick()
    isWeekly()

    Comment

    Working...
    X