Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Assessing Bid/Ask Volume From OHLC Values

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

    Assessing Bid/Ask Volume From OHLC Values

    Hi there,

    I was wondering whether anyone could point me to some code that would give a reasonable assessment of the bid/ask volume on a bar/candle when the only values we have are the bar's Open, High, Low, Close and its overall Volume?

    I understand that there are approaches to do this in real-time but, I am trying to assess this information over historic bars where "tick-counting" wouldn't be an option. I'm working on the basis that the data feed doesn't provide the bid/ask volume.

    If anyone can help with this, I'd be very grateful indeed.



    #2
    Hello Geester,

    As long as the historical data is supported by the data feed, you can add an ask or bid series of the same bar type and interval and this would provide the historical ask or bid volume for that bar.

    With AddDataSeries() use the MarketDataType overload and specify MarketDataType.Ask or MarketDataType.Bid.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea!

      Thanks for your reply. I'm working from the assumption that historical bid/ask data isn't provided by the data feed so, I need to approximate this from the OHLC/ordinary volume.

      Comment


        #4
        Hello Geester,

        Below is a link to the NinjaTrader 8 help guide on Data by provider which shows the supported connection technologies and the types of data these connections support.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thanks Chelsea!

          Comment

          Latest Posts

          Collapse

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