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 merc410, Today, 03:41 AM
            4 responses
            27 views
            0 likes
            Last Post merc410
            by merc410
             
            Started by Graci117, Yesterday, 11:40 PM
            2 responses
            15 views
            0 likes
            Last Post Graci117  
            Started by Taddypole, Today, 02:25 PM
            0 responses
            1 view
            0 likes
            Last Post Taddypole  
            Started by ETFVoyageur, 04-30-2024, 02:04 PM
            9 responses
            56 views
            0 likes
            Last Post ETFVoyageur  
            Started by Felix Reichert, 04-26-2024, 02:12 PM
            8 responses
            48 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X