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 dadarara, Today, 03:21 AM
    0 responses
    5 views
    0 likes
    Last Post dadarara  
    Started by rajeshks1988, 01-13-2021, 12:00 PM
    10 responses
    1,260 views
    0 likes
    Last Post konganda  
    Started by M_ichel, 04-22-2025, 02:21 PM
    7 responses
    60 views
    1 like
    Last Post brucerobinson  
    Started by michelz, 02-18-2025, 08:30 AM
    33 responses
    1,060 views
    0 likes
    Last Post MiCe1999  
    Started by volIQ, 04-23-2025, 05:43 PM
    4 responses
    38 views
    0 likes
    Last Post volIQ
    by volIQ
     
    Working...
    X