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 sjsj2732, Today, 04:31 AM
    0 responses
    20 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    280 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    279 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    130 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    90 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X