Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddVolumetric

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

    AddVolumetric

    Hello

    I have an indicator with Volumetric Bars as a second data serie.

    Is it possible to match with BarPeriodType and BarPeriodTypeValue of the Primary data serie?

    How can I do that?

    Thanks

    #2
    Hello Impeesa,

    Unfortunately, this would not be supported with AddVolumetric().

    While a null value can be supplied for the Instrument to default to the primary instrument, the BarsPeriod Type and Value cannot be set to null.

    Further, it is not supported to use information of the primary data series such as the BarsPeriod until the State is State.DataLoaded (as this will break the optimizer if in State.Configure).

    Unfortunately, the baseBarsPeriodType and baseBarsPeriodValue must be hard coded values in the script.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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