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

Order Flow Volumetric Bar question

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

    Order Flow Volumetric Bar question

    One accurate question concerning volumetric bars please. (I work with the link "https://ninjatrader.com/support/helpGuides/nt8/en-us/?order_flow_volumetric_bars2.htm"!)
    From this landing page on the help guide I can not see (sorry if I missed it) how to access a.) the price below the high and b.) the bid ask of the bar before. Is it correct to do

    a.) barsType.Volumes[CurrentBar].GetBidVolumeForPrice(High[0]-1*TickSize // for having the Bids 1 Tick below the high of current bar
    b.) barsType.Volumes[CurrentBar-1].GetBidsVolumeForPrice(High[1])-1*TickSize // for having the Bids 1 Tick below the high of the bar before
    (or barsType.Volumes[CurrentBar-1].GetBidsVolumeForPrice(High[0])-1*TickSize //??)

    Thank you!
    Tony
    Last edited by NinjaTrader_PatrickG; 01-09-2019, 11:24 AM.

    #2
    I moved your recent post to a new thread since it seems to be unrelated to the range market replay thread. If you have further questions about the Market Replay + Range bar historical data inquiry, please post there:

    Hello, why are bids and asks different in volumetric chart with ticks and with minutes. I do not refer to the barshape of course, I mean the bid and ask numbers.


    Whenever you have a new, unrelated question, please always start a new thread in the relevant sub-forum so that threads stay on-topic. I'll have a colleague from the NinjaScript Team follow up with you shortly.

    Comment


      #3
      Hello Tony,

      Thank you for your note.

      What you have written appears to be correct for the description..

      When you have tested this, are you finding the information returned is not matching what is on the chart?

      Attached is an example that demonstrates looping from the high to the low.
      Attached Files
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by habeebft, Today, 07:27 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Started by AveryFlynn, Today, 04:57 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by Max238, Today, 01:28 AM
      4 responses
      37 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by r68cervera, Today, 05:29 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by geddyisodin, Today, 05:20 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X