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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        156 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        141 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X