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

Can you explain Volume and Volume Bid&Ask ?

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

    Can you explain Volume and Volume Bid&Ask ?

    My goal is to plot Bid/Ask volume (for historical bars) when I load chart (without MarketReplay).

    Code:
    AddDataSeries(Instrument.FullName, BarsPeriod.BarsPeriodType, BarsPeriod.Value, MarketDataType.Bid);
    AddDataSeries(Instrument.FullName, BarsPeriod.BarsPeriodType, BarsPeriod.Value, MarketDataType.Ask);

    in OnBarUpdate:

    Code:
    myPlot_1[0] = Volume[0];
    myPlot_2[0] = Volumes[1][0];
    myPlot_2[0] = Volumes[2][0];
    for example, on ES, i see such values :

    plot_1 --> i.e. 156
    plot_2 --> i.e. 2514
    plot_3 --> i.e. 2193

    (and across all bars, the numbers are like that)

    My question is, how Bid and Ask volumes are more than main volume?
    How they work and where I can get familiar of what does bid/ask volumes represent (as opposed of primary volume?)
    i need some more knowledge in this subject.

    Last edited by ttodua; 08-25-2019, 07:26 AM.

    #2
    Hello TazoTodua,

    The ask and bid historical data would be what is downloaded from the data provider or brokerage connection you are connected to.
    (Viewable in the Tools -> Historical Data window)

    I would recommend talking with the data provider or broker about these values, however from my understanding the ask and bid data may include non-qualifying trades depending on the provider.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      like in your free-2 week trial data, if you plot i.e.
      1 minute @ES (last price),
      1 minute @ES (bid)
      1 minute @ES (ask)

      you will see like this:
      Click image for larger version

Name:	yc4MYy3.png
Views:	135
Size:	30.6 KB
ID:	1074026
      Last edited by ttodua; 10-11-2019, 02:40 AM.

      Comment


        #4
        Hello TazoTodua,

        If you are referring to a CQG/Continuum 14-day demo, I would recommend contacting CQG to ask about their data.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by terofs, Yesterday, 04:18 PM
        1 response
        21 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by CommonWhale, Today, 09:55 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by Gerik, Today, 09:40 AM
        2 responses
        7 views
        0 likes
        Last Post Gerik
        by Gerik
         
        Started by RookieTrader, Today, 09:37 AM
        2 responses
        13 views
        0 likes
        Last Post RookieTrader  
        Started by alifarahani, Today, 09:40 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X