Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volume = Buying minus Selling

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

    Volume = Buying minus Selling

    Hi guys,

    Is it possible to display volume based on the net positive or negative? Right now the DOM allows bidirectional but I want a sum of those two.

    Example

    Price: 3704.25
    Buy Volume = 1000
    Sell Volume = 9995

    Net volume = +5
    I just want the net Volume to be displayed. it can be displayed on a Chart or DOM

    #2
    Hello adeelch, thanks for your post.

    The Buy Volume - Sell Volume can be calculated using the BuySellVolume indicator. I attached an example here.

    Please let me know if you have any questions on this material.
    Attached Files

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hello adeelch, thanks for your post.

      The Buy Volume - Sell Volume can be calculated using the BuySellVolume indicator. I attached an example here.

      Please let me know if you have any questions on this material.
      Hi Chris,

      Thank you for this.
      I am trying to get the buy sell vol listed per trick as a number. is there a way? kind of like the DOM, listed as a ladder.

      Comment


        #4
        Hello adeelch thanks for your reply.

        This would be less straight forward than an indicator, but you do have the option to develop custom SuperDOM columns:

        https://ninjatrader.com/support/help...dom_column.htm

        There are a few existing examples of SuperDOM columns existing in the platform already, these can be studied through the NinjaScript Editor. A good reference example would be the Volume column.

        Please let me know if I can provide any more information on this material.

        Comment


          #5
          Originally posted by NinjaTrader_ChrisL View Post
          Hello adeelch thanks for your reply.

          This would be less straight forward than an indicator, but you do have the option to develop custom SuperDOM columns:

          https://ninjatrader.com/support/help...dom_column.htm

          There are a few existing examples of SuperDOM columns existing in the platform already, these can be studied through the NinjaScript Editor. A good reference example would be the Volume column.

          Please let me know if I can provide any more information on this material.
          Hi Chris,

          Is there, or can you provide an example of building such a custom colum in the SuperDom with this simple calculation for each line: Current_ASK - Previous_ASK

          Comment


            #6
            Hi Andrei, thanks for your reply.

            I do not have an exact example of this. The existing examples will need to be studied to create a new column that will do this. Each column that renders data on each row requires a custom OnRender method to display the data properly. See the Volume column as an example.

            Best regards,
            -ChrisL

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            580 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            335 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            102 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            554 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            552 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X