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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X