Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GetAskVolume()

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

    GetAskVolume()

    I am working on an indicator to track buying and selling intent. I figure a proxy for that intent is orders stacked on the DOM. Here's my question:

    When I use GetBidVolume(), am I getting all of the orders on the left side of the DOM, below current price (in other words all of the orders for traders who want to Buy, or am I just getting the first level Bids, in other words one price level below the last transaction price?
    Thanks
    DaveN

    #2
    Hello Daven,

    Thank you for your post.

    The GetBidVolume() will represent the first level of market depth.

    If you are wanting to get all those other market depth values, you will need to use OnMarketDepth to calculate this all out -
    http://www.ninjatrader.com/support/h...arketdepth.htm

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Have you got a sample of code with this function in it? I am trying to figure out, for instance if I should use a couple of variables, one for bids, and one for asks to compile this data in the OnMarketData section, then plot the bars using this summed data in the OnBarUpdate Section of the code?
      Thanks
      DaveN

      Comment


        #4
        Daven,

        You can take a look at the reference sample on level 2 book -
        http://www.ninjatrader.com/support/f...ead.php?t=5965
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        164 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        319 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        246 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X