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

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 RideMe, 04-07-2024, 04:54 PM
        5 responses
        28 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by f.saeidi, Today, 08:13 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by DavidHP, Today, 07:56 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by kujista, Today, 06:23 AM
        3 responses
        10 views
        0 likes
        Last Post kujista
        by kujista
         
        Started by Mindset, Yesterday, 02:04 AM
        2 responses
        18 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Working...
        X