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 NISNOS69, Today, 03:16 PM
    0 responses
    3 views
    0 likes
    Last Post NISNOS69  
    Started by massgainstradingwi, Today, 03:05 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by stafe, 03-10-2025, 12:09 PM
    7 responses
    36 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by IanS00, Today, 01:55 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Marble, Today, 05:00 AM
    2 responses
    20 views
    0 likes
    Last Post Marble
    by Marble
     
    Working...
    X