Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

FirstBarOfSession

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

    FirstBarOfSession

    Hello Support,

    I use the FirstBarOfSession variable for Trade count initialization as suggested in an NT Sample. I notice the variable also turns true when passing 00:00 (midnight) local time. What is the cause? Is there setting somewhere that cause this?

    Thanks.

    Regards,
    EdwardK

    #2
    Hello Edwardk,

    Session is associated with the defined session times.

    Version 6.5:
    This is seen when right clicking on chart > properties. Session Begin and Session End defines this.

    If you run a strategy somewhere else (strategies tab, strategy analyzer) you will also see these properties.

    Version 7:
    This is defined with the session template used. This is available on chart through right click > Data Series. Also when you run a strategy elsewhere you have the option of selecting a specific session template. Times used for sessions are defined under the Tools > Session Manager screen.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmoran13, Yesterday, 01:02 PM
    0 responses
    27 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    18 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    95 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    148 views
    2 likes
    Last Post CaptainJack  
    Working...
    X