Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ask Imbalance Calculation doubt

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

    Ask Imbalance Calculation doubt

    Hi, I was reading this document: https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?order_flow_volumetri c_bars.htm
    And especially for the calculation of imbalances:
    Order Flow Volumetric Imbalance charting
    For the calculation of the Bid there is an example: Dividing the buy volume into the sell volume we get a ratio of 989 / 518 = 1.9092...

    My question is, is the same formula used to calculate the ASK?
    Is there a parameter to define etc?

    Thanks.
    .​

    #2
    Hello icebergdelphi,

    Thank you for your post.

    It is the same calculation. The imbalance is a ratio between the buy and sell volume.

    If the ratio is higher on the buy side, it is a buy imbalance. If the ratio is higher on the sell side, it is a sell imbalance.

    Please let us know if you have any further questions.

    Comment


      #3
      Originally posted by NinjaTrader_Gaby View Post
      Hello icebergdelphi,

      Thank you for your post.

      It is the same calculation. The imbalance is a ratio between the buy and sell volume.

      If the ratio is higher on the buy side, it is a buy imbalance. If the ratio is higher on the sell side, it is a sell imbalance.

      Please let us know if you have any further questions.
      I ask because I am trying to calculate the ask Inbalance, but hummm I do not get the correct result, but If I calculate the BID Inbalance all is Ok (By the way I know how to get the BID and ASk Values ) Example with a raw code:

      var threshold = 1.5
      var minDifference =10;

      BID Inbalance:
      var ratio =( Previous ASK / BID)
      If ratio >= threshold then " BID Inbalance"

      So for ASK imbalance the correct calc is:?

      var ratio =( Previous BID / ASK)
      If ratio >= threshold then " ASK Inbalance"

      Thank you. I will wait for the correct ASK Inbalance formula

      Comment


        #4
        Hello,

        I've asked a colleague for extra clarity on this. Take the 6:31 bar as an example (from screenshot). If you use horizontal instead of diagonals to calculate it is a bit clearer:

        62 / 39 = 1.58~ (Imbalance bid)
        39 / 93 = 0.41~ (Imbalance ask)

        If the value is above 1.5 the imbalance is on the bid side, if the value is below 0.5 the imbalance is on the ask side.

        Unfortunately, our support team cannot provide the internal calculations on what the indicator is doing internally as the code is not open source. However, this is our basic understanding of how it works. ​
        Attached Files

        Comment


          #5
          Originally posted by NinjaTrader_Gaby View Post
          Hello,

          I've asked a colleague for extra clarity on this. Take the 6:31 bar as an example (from screenshot). If you use horizontal instead of diagonals to calculate it is a bit clearer:

          62 / 39 = 1.58~ (Imbalance bid)
          39 / 93 = 0.41~ (Imbalance ask)

          If the value is above 1.5 the imbalance is on the bid side, if the value is below 0.5 the imbalance is on the ask side.

          Unfortunately, our support team cannot provide the internal calculations on what the indicator is doing internally as the code is not open source. However, this is our basic understanding of how it works. ​
          I got it, Thank you, I have the calculations to get the values for BID and ASK, so I am doing some tests, to finish my Tool, thank you again.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          557 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          324 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          545 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          547 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X