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 dustydbayer, Today, 01:59 AM
          0 responses
          1 view
          0 likes
          Last Post dustydbayer  
          Started by inanazsocial, Today, 01:15 AM
          0 responses
          2 views
          0 likes
          Last Post inanazsocial  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          22 views
          0 likes
          Last Post trilliantrader  
          Started by Davidtowleii, Today, 12:15 AM
          0 responses
          3 views
          0 likes
          Last Post Davidtowleii  
          Started by guillembm, Yesterday, 11:25 AM
          2 responses
          10 views
          0 likes
          Last Post guillembm  
          Working...
          X