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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    68 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    151 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X