• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to access historical bars from replay connection

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

    How to access historical bars from replay connection

    Hello Support Forum,

    NT7 question (customers are mostly staying on 7 until 8 is officially released).

    I'm trying to get an indicator to use data from previous sessions.

    It works fine on any connection except the replay. I can see the bars on my chart, but the indicator can't seem to see them.

    Any ideas how to get around this? I've tried using Data.Bars.GetBars(). That is able to get me the information from previous sessions, but my indicator doesn't pass through the session changes prior to where I started the replay playback so I get nothing until the replay passes through a session change. This really defeats the usefulness of replay.

    Thanks
    daqu40
    NinjaTrader Ecosystem Vendor - QTradez

    #2
    Hello daqu40,

    Thank you for writing in.

    As a test, try plotting the PriorDayOHLC indicator on your chart in Market Replay. Is the PriorDayOHLC indicator unable to plot the prior session open, high, low, and close values?

    These values would be pulled from a previous session.

    Can you provide a sample script showing the behavior that you're seeing where it cannot access data from previous sessions?
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Thanks Zach,

      PriorDayOHLC works just fine.

      Let me know how to email you my script.
      daqu40
      NinjaTrader Ecosystem Vendor - QTradez

      Comment


        #4
        Hello daqu40,

        You can email us at platformsupport [at] ninjatrader [dot] com with your script attached.

        Please reference both my name and a link to this thread in the body of the email.
        Zachary G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by manugarc, Today, 01:15 PM
        0 responses
        7 views
        0 likes
        Last Post manugarc  
        Started by JMont1, Today, 11:42 AM
        0 responses
        5 views
        0 likes
        Last Post JMont1
        by JMont1
         
        Started by Steve L, Yesterday, 10:04 PM
        0 responses
        4 views
        0 likes
        Last Post Steve L
        by Steve L
         
        Started by marianfed, Yesterday, 09:47 PM
        0 responses
        5 views
        0 likes
        Last Post marianfed  
        Started by hir04068, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post hir04068  
        Working...
        X