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 judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          59 views
          0 likes
          Last Post DynamicTest  
          Started by ScottWalsh, Today, 06:52 PM
          4 responses
          36 views
          0 likes
          Last Post ScottWalsh  
          Started by olisav57, Today, 07:39 PM
          0 responses
          7 views
          0 likes
          Last Post olisav57  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          21 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          10 views
          0 likes
          Last Post cre8able  
          Working...
          X