Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last bar of session

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

    Last bar of session

    Hi,
    I have a 30 minutes only RTH chart with end session time at 22:15 italian hour. I' can't access the last bar of the current session (22:15) before the next day create on the chart the first bar of the next session. I know that this is how the program works but are there ways to read current last bar insted to attend the next day (16:00 italian hour) ?

    Thanks

    #2
    Hello Davide999,

    Can you provide more detail on what you are trying to accomplish with the last bar? The last bar is only closed when the next session opens so if you are trying to do an action on the last bar of the session you would generally need to do that on the bar before the last bar so you still have logic processing. That can be accomplished by using the session information and comparing the time of the bar against the session information.

    If the goal is to set up some variable for the next day you could instead do that on the first bar of the session, you would get data from [1] bars ago to get the last bar from the previous session.

    Comment


      #3
      Hi,
      I need to access to the data of the current last bar of current RTH session when at 22:15 closes.
      I resolved putting a secondary data series with ETH and RTH session, so when i have the last bar of RTH, i can access it because the market "is not closed" thanks to the first open bar of ETH session.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      576 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      553 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X