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 Ousher, Yesterday, 11:12 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by You4Life, Yesterday, 08:20 PM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by focus333, Yesterday, 05:56 PM
          3 responses
          16 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by itsthefriz, Yesterday, 04:19 PM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Started by johnMoss, Yesterday, 04:06 PM
          0 responses
          8 views
          0 likes
          Last Post johnMoss  
          Working...
          X