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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    35 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X