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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    87 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    47 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    104 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X