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

Complete Market Depth

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

    Complete Market Depth

    Hi,

    I'm employing the sample Market Depth indicator that I found on this forum (i.e., SampleLevel2Book) and I noted that the indicator is only recognizing 10 levels of market depth for the E-mini S&P market (ES). However, other applications that I use (ex., Jigsaw) recognize the entire and complete market depth. I would be greatly appreciative if someone could point me in the right direction on obtaining the complete market depth. Attached is the sample indicator.

    Regards
    Attached Files

    #2
    Hello maltese,

    Thank you for writing in.

    10 levels of ask and 10 levels of bid are provided.

    To show this, here is an example:
    Code:
    protected override void OnMarketDepth(MarketDepthEventArgs e)
    {
         if (e.MarketDataType == MarketDataType.Bid)
              Print("Bid depth position: " + e.Position);
         else if (e.MarketDataType == MarketDataType.Ask)
              Print("Ask depth position: " + e.Position);
    }


    With the example code above, you'll see both bid and ask print values 0 - 9, denoting ladder positions of 1 - 10.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ZacharyG View Post
      Hello maltese,

      Thank you for writing in.

      10 levels of ask and 10 levels of bid are provided.

      To show this, here is an example:
      Code:
      protected override void OnMarketDepth(MarketDepthEventArgs e)
      {
           if (e.MarketDataType == MarketDataType.Bid)
                Print("Bid depth position: " + e.Position);
           else if (e.MarketDataType == MarketDataType.Ask)
                Print("Ask depth position: " + e.Position);
      }


      With the example code above, you'll see both bid and ask print values 0 - 9, denoting ladder positions of 1 - 10.
      Hi, thanks for your answer Zachary but I'm seeing approx. 20+ levels on the ask and 40+ levels below the market on the bid when I look at my Jigsaw dome which is feeding off the same NT Continuum data source. Would you know of a way that I could access these additional levels?

      Comment


        #4
        Hello maltese,

        I am unsure of how the Jigsaw Dome works, however, only 10 levels of ask and 10 levels of bid are provided for NinjaTrader. Jigsaw may be storing historical bid and ask levels.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by maltese View Post
          Hi, thanks for your answer Zachary but I'm seeing approx. 20+ levels on the ask and 40+ levels below the market on the bid when I look at my Jigsaw dome which is feeding off the same NT Continuum data source. Would you know of a way that I could access these additional levels?
          Maltese:

          I am a Jigsaw user myself, and it is like Zachary suggested: that is, Jigsaw stores past market depth. Just open the Depth & Sales Setting > Parameters and untick "Show Depth History" to only see the live 10 levels. Depth beyond that doesn't update.

          Comment


            #6
            Originally posted by Psy_4X View Post
            Maltese:

            I am a Jigsaw user myself, and it is like Zachary suggested: that is, Jigsaw stores past market depth. Just open the Depth & Sales Setting > Parameters and untick "Show Depth History" to only see the live 10 levels. Depth beyond that doesn't update.
            I also discovered this as well. Thank you and zachary too.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            4 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            40 views
            0 likes
            Last Post alifarahani  
            Started by Waxavi, Today, 02:10 AM
            1 response
            18 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by Kaledus, Today, 01:29 PM
            5 responses
            15 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X