Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars.IsFirstBarOfSession

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

    Bars.IsFirstBarOfSession

    known that Bars.IsFirstBarOfSession
    It detects if it is the first candle of the session. When starting a strategy in the American session, for example, it would detect this last candle as the first of the session or it would not enter the if because it would not be the first

    #2
    Hello, thanks for writing in. The IsFirstBarOfSession property will trigger at the first bar of session as defined by the session template you have selected in the Data Series window, so if you are running the script OnBarClose on a 1 minute chart using the RTH session template (9:30-5PM), IsFirstBarOfSession will trigger on the close of the 7:31AM bar.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    98 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    143 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    69 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    77 views
    0 likes
    Last Post PaulMohn  
    Working...
    X