Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

priordayohlc() and getsessionbar()

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

    priordayohlc() and getsessionbar()

    does priordayohlc() work based on 24-hr clock or sessions?

    For example, if I were trading ES contract from Singapore, the ES contract runs from 4:30 am to 4:14am. would priordayohlc calculate variable based on the trading session or on a 24hr clock basis?

    How does this differ from GetSessionBar()?

    Also, some markets break for lunch like Tokyo and HongKong and it is common to refer to these markets as having a morning session and afternoon session. Does NT recognise these sessions if i were to use GetSessionBar()?

    #2
    Kay, it would run based on the session times entered in your Chart properties, same as GetSessionBar(), which would built a virtual bar for the session defined - http://www.ninjatrader-support.com/H...essionBar.html

    The session break would not be recognized if you enter for example the morning session begin and evening end (to get the full day's data) in the properties.

    NT7 will simplify this through a dedicated session manager.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    569 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 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
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X