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

bid/ask ratio or orderbook ratio

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

    bid/ask ratio or orderbook ratio

    Hi,

    I'm looking for an indicator or two.

    Is there any indicator that shows how many resting ontracts and counts(ticks) are on order book (bid and ask side) ?

    Also the above data in cumulative setting so it can be shown on a given period such as a 5 minute bar.

    I searched the whole forum and there was a trace of similar indicator called "cumulative bid/ask in 2007 but the actual indicator was removed from the thread.

    Thanks.

    #2
    kalalex, have you looked into those here from the sharing section as a potential starting point?

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Bertrand,

      I found something here similar according to the description of the indicator but couldn't import..
      Here's the error message and let me know if you could find out what's wrong.
      Thanks.
      Attached Files

      Comment


        #4
        Hi kalalex,

        The type for Volume changed from int to long from version 6.5 to 7, and this is likely why you get the message that it cannot be converted. Code breaking changes for version 7 are available here:


        Unfortunately I'm not aware of the exact changes you will need to make to this indicator in order to compile, but anytime you use Volume in NT7 will need to be variable type long.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          So there's no such indicator to show total bids/asks in the orderbook in a form of histogram bars for NT7?

          Comment


            #6
            Unfortunately none that we would be currently aware of, for your own coding works this reference sample below would be a good start into matters : http://www.ninjatrader.com/support/f...ead.php?t=5965

            You could also check into this addon here from Finalg - http://fin-alg.com/index.php/products/52
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Fixed link

              Final, Financial Algorithms, programming services for hedge funds and retail traders, NinjaTrader and others

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by rdtdale, Today, 01:02 PM
              0 responses
              1 view
              0 likes
              Last Post rdtdale
              by rdtdale
               
              Started by alifarahani, Today, 09:40 AM
              3 responses
              15 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by RookieTrader, Today, 09:37 AM
              4 responses
              18 views
              0 likes
              Last Post RookieTrader  
              Started by PaulMohn, Today, 12:36 PM
              0 responses
              5 views
              0 likes
              Last Post PaulMohn  
              Started by love2code2trade, 04-17-2024, 01:45 PM
              4 responses
              40 views
              0 likes
              Last Post love2code2trade  
              Working...
              X