Announcement

Collapse
No announcement yet.

How to check the bar state of another symbol or time frame?

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

  • How to check the bar state of another symbol or time frame?

    How to check the bar state of another symbol or time frame? For example, if the primary symbol is "$SPX,D", how to check the bar state of "$SPX,1" using a simple API call like getBarState("$SPX,1")? Thanks.

  • #2
    clearpicks
    Use getBarStateSymbol()
    Alex

    Comment


    • #3
      Alex,

      Thanks. I saw this API somewhere before, but I could not remember the exact name and could not find it in the chm file. So I started this thread to ask.

      - Clearpicks


      Originally posted by Alexis C. Montenegro
      clearpicks
      Use getBarStateSymbol()
      Alex

      Comment


      • #4
        Clearpicks
        You are most welcome.
        As to the eSignalEFS2.chm file you may want to replace it with the updated copy that Chris Kryza posted here
        Alex

        Comment

        Working...
        X