Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, 05-01-2024, 05:22 AM
    6 responses
    42 views
    0 likes
    Last Post ageeholdings  
    Started by tony_28217, Today, 07:04 PM
    0 responses
    11 views
    0 likes
    Last Post tony_28217  
    Started by flybuzz, Today, 10:33 AM
    1 response
    9 views
    0 likes
    Last Post flybuzz
    by flybuzz
     
    Started by spencerp92, 10-10-2023, 09:56 AM
    4 responses
    309 views
    0 likes
    Last Post flybuzz
    by flybuzz
     
    Started by samish18, Yesterday, 10:13 AM
    1 response
    26 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Working...
    X