Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last Bar Before the RealTime Data

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

    Last Bar Before the RealTime Data

    Hi,

    Is there a way to know the last bar on chart before the real time data occur?

    Thanks.

    #2
    Hello kezyclaire,

    You can use Count - 2 to know the last bar in the dataset ahead of time in processing as long as tick replay is not being used. That gives you the bar index that you could compare against CurrentBar.

    Comment


      #3
      Hi Jesse,

      Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      15 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      59 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      42 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      47 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      38 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X