Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

volumetric bidask updowntick

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

    volumetric bidask updowntick

    Hello,

    from reading in the helpguide I do not understand how to use volumetric with updowntick instead of bidask.

    * when using it from primary dataseries on the chart is it the same in onbarupdate with " NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe barsType = BarsArray[0].BarsSeries.BarsType as
    NinjaTrader.NinjaScript.BarsTypes.VolumetricBarsTy pe;" or something to add for updowntick?

    * when using it as added dataseries is there something to add to "AddVolumetric("ES 09-21", BarsPeriodType.Range, 4, VolumetricDeltaType.BidAsk, 1);" in state.configure?

    * when using it for calculations in the code is it same as working with bidask with "GetAsk" is for uptick or is the syntax different from "barsType.Volumes[CurrentBars[0]].GetAskVolumeForPrice(Highs[0][0])"

    Thank you!
    Tony


    #2
    Hi Tony, thanks for posting.

    1. If your volumetric bars are set up as UpDownTick then referencing BarsArray[0] will also be the same.

    2. Change the VolumetricDeltaType.UpDownTick in the constructor. AddVolumetric("ES 09-21", BarsPeriodType.Range, 4, VolumetricDeltaType.UpDownTick, 1);

    3. It is the same syntax for getting the bid or ask volume. You will still use GetAsk/BidVolumeForPrice to access the individual volume cells in the bar.

    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    576 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X