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() question about prior session

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

    PriorDayOHLC() question about prior session

    I want to get the true OHLC of a stock, DJI index, etc. for the prior day.

    In this:

    Returns prior session open value
    PriorDayOHLC().PriorOpen[int barsAgo]


    What exactly is the "prior session"? Is this looking at data on my machine or going to a historical server? I have eSignal and ZenFire feeds.

    Thank you,

    SuzyG

    #2
    imported post

    Looking at data on your machine. It will return the last sessions value as defined by your chart's session begin/end time.

    Ray
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      If my machine didn't have the data from yesterday for some reason, what is the best way to get this?

      Comment


        #4
        imported post

        Do you mean Saturday or Friday? If you mean Friday, connect to your provider, go to Tools > Historical Data > Reload.

        Ray
        RayNinjaTrader Customer Service

        Comment


          #5
          imported post

          I was confusing this with something else. Thank you.


          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          26 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, Yesterday, 09:53 PM
          2 responses
          49 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          192 views
          0 likes
          Last Post Hasadafa  
          Started by GussJ, 03-04-2020, 03:11 PM
          11 responses
          3,234 views
          0 likes
          Last Post xiinteractive  
          Working...
          X