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

Data Series BarType based on Level2

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

    Data Series BarType based on Level2

    Is there a way to make bars based on Level2 data as opposed to price data?

    #2
    Hello habibalex,

    Historical bars are created from historical data. There is not Level 2 historical data.
    If this were possible it would only be possible in real-time.

    However, I'm not aware of a way to get level 2 data from a bar type script in real-time.
    I'm happy to submit a feature request for the development team to consider this for a future version if you would like.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      yes i would request that be made available.

      I am able to download level 1 inside bid ask data, is there a way to combine that for use in a bartype? Also, i'm mostly concerned with real time bars

      Comment


        #4
        Hello habibalex,

        I have submitted your request for consideration. Once I have a tracking ID for this request I will post this in this thread for future reference.

        The level 1 ask and bid are provided from OnDataPoint().

        protected override void OnDataPoint(Bars bars, double open, double high, double low, double close, DateTime time, long volume, bool isBar, double bid, double ask)

        Below is a public link to the help guide.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          I need the bid / ask volume also, not just price

          Comment


            #6
            Hello habibalex,

            I've received tracking ID #SFT-3374 for your request to access level 2 data from a bars type script, and tracking ID #SFT-3375 for your request to provide the ask volume / bid volume in OnDataPoints overload parameters.

            Please note it is up to the NinjaTrader Development to decide if or when any request will be implemented.

            We appreciate your feedback.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              I need the same.. get bid volume and ask volume from OnDataPoints to chart volume delta bars period.

              Comment


                #8
                thinarthrill,

                Thanks! Vote added!
                Josh G.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Barry Milan, Today, 10:35 PM
                1 response
                6 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by WeyldFalcon, 12-10-2020, 06:48 PM
                14 responses
                1,427 views
                0 likes
                Last Post Handclap0241  
                Started by DJ888, Yesterday, 06:09 PM
                2 responses
                9 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                40 views
                0 likes
                Last Post jeronymite  
                Started by bill2023, Today, 08:51 AM
                2 responses
                16 views
                0 likes
                Last Post bill2023  
                Working...
                X