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

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 cre8able, Today, 03:20 PM
          1 response
          9 views
          0 likes
          Last Post cre8able  
          Started by fiddich, Today, 05:25 PM
          0 responses
          3 views
          0 likes
          Last Post fiddich
          by fiddich
           
          Started by gemify, 11-11-2022, 11:52 AM
          6 responses
          804 views
          2 likes
          Last Post ultls
          by ultls
           
          Started by ScottWalsh, Today, 04:52 PM
          0 responses
          4 views
          0 likes
          Last Post ScottWalsh  
          Started by ScottWalsh, Today, 04:29 PM
          0 responses
          7 views
          0 likes
          Last Post ScottWalsh  
          Working...
          X