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 RosySmit, Today, 01:35 AM
    0 responses
    6 views
    0 likes
    Last Post RosySmit  
    Started by gmacjapan, Today, 01:27 AM
    0 responses
    4 views
    0 likes
    Last Post gmacjapan  
    Started by WHICKED, 06-27-2023, 12:07 PM
    95 responses
    1,148 views
    1 like
    Last Post diegocml  
    Started by gmacjapan, Yesterday, 11:47 PM
    0 responses
    7 views
    0 likes
    Last Post gmacjapan  
    Started by gregorious13, Yesterday, 11:43 PM
    0 responses
    5 views
    0 likes
    Last Post gregorious13  
    Working...
    X