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 rocketman7, Today, 02:12 AM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by briansaul, Today, 05:31 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PaulMohn, Today, 03:49 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by frslvr, 04-11-2024, 07:26 AM
    6 responses
    106 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    6 responses
    26 views
    0 likes
    Last Post trilliantrader  
    Working...
    X