Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add Volumetric to Strategy

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

    Add Volumetric to Strategy

    When I try to use Volumetric as a secondary series I get an error.
    I am trying to add it using the following in state.configure.

    AddVolumetric(BarsArray[0].Instrument.FullName,BarsArray[0].BarsPeriod.BaseBarsPeriodType,1, VolumetricDeltaType.BidAsk, 1);

    Click image for larger version

Name:	image.png
Views:	85
Size:	2.4 KB
ID:	1305697





    #2
    Hello ttrader23,

    The error you are getting means an object was null. I see you are trying to use variables for the AddVolumetric which is not supported, you need to type in the values as shown in the help guide sample:

    AddVolumetric("ES 03-18", BarsPeriodType.Minute, 1, VolumetricDeltaType.BidAsk, 1);


    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X