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

NT7 & Historical Bid/Ask data

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

    NT7 & Historical Bid/Ask data

    Hi,

    I understand that with NT7 historical Bid/Ask data will be stored.

    How will this data be accessed within an indicator?

    Will there need to be distinctions made within and indicator between Live and historical data or will NT7 look after this seamlessly?

    Thanks

    #2
    Its just another series.

    You would add another series in Initialize() like:

    Add("ES 09-09", PeriodType.Minute, 1, MarketDataType.Ask);

    and then you would access this series just like you do multi-series strategiees in NT6.5.
    RayNinjaTrader Customer Service

    Comment


      #3
      Ray,

      Thankyou for the answer. I may not have phrased my question clearly.

      Will what you suggest allow for the historical recreation of say a Time & Sales stream or to populate a Footprint style Bid/Ask chart historically?

      Thanks

      Comment


        #4
        Originally posted by rt-trader View Post
        Ray,

        Thankyou for the answer. I may not have phrased my question clearly.

        Will what you suggest allow for the historical recreation of say a Time & Sales stream or to populate a Footprint style Bid/Ask chart historically?

        Thanks
        The following:

        Add("ES 09-09", PeriodType.Tick, 1, MarketDataType.Ask);

        would provide of course a 1 tick series of ask prices. This will not be a "market replay". I am personally not familiar with foot print style bid/ask chart so I can't answer yay or nay. There will not be a direct correlation of what the bid/ask price was on each tick if that is what you are looking for. You would have to self calculate this.
        RayNinjaTrader Customer Service

        Comment


          #5
          OK,

          Thanks Ray..

          Comment


            #6
            Self caculating bid and ask prices for ticks

            Footprint® style chart is a volume and delta ladder as shown on the Market Delta website.

            Would certainly appreciate if NT could post some sample code showing how to self calculate the bid and ask prices for each tick as referred to in previous post, thanks.

            Comment


              #7
              Ricam, sorry not sure I follow - Ray posted the sample Add() needed to add an ask series bars object to your custom strategy / indicator.

              You can then access and work with this series just as used from strategies in 6.5 (context via BarsInProgress or directly via BarsArray).
              BertrandNinjaTrader Customer Service

              Comment


                #8
                It is a problem with sequencing described here



                and here



                In fact that thread is about the same thing.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by arvidvanstaey, Today, 02:19 PM
                4 responses
                11 views
                0 likes
                Last Post arvidvanstaey  
                Started by samish18, 04-17-2024, 08:57 AM
                16 responses
                60 views
                0 likes
                Last Post samish18  
                Started by jordanq2, Today, 03:10 PM
                2 responses
                9 views
                0 likes
                Last Post jordanq2  
                Started by traderqz, Today, 12:06 AM
                10 responses
                18 views
                0 likes
                Last Post traderqz  
                Started by algospoke, 04-17-2024, 06:40 PM
                5 responses
                47 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Working...
                X