Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddVolumetric() for Custom bar types

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

    AddVolumetric() for Custom bar types

    Hi I am having problems adding custom bar types to AddVolumetric() using the registered enum value, which normally works for AddDataSeries().

    I get the registered enum value by opening a chart and look the the Data Series. Under type, I count the order number of the custom bar type that appears in the dropdown box.

    Say this is 16.

    I then added this:

    HTML Code:
                else if (State == State.Configure)
                {
                    AddVolumetric("ES 06-23", (BarsPeriodType)16, 100, VolumetricDeltaType.BidAsk, 1);
                }​
    But I got this error:
    Error on calling 'OnStateChange' method: '16' cannot be used as base bars period type for 'Volumetric'.

    I would appreciate any advise on how to add a custom bar to AddVolumetric().

    #2
    Hi Rainmakersg, unfortunately, it is not possible to use a custom bar type as the base bar type for the volumetric bars.

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hi Rainmakersg, unfortunately, it is not possible to use a custom bar type as the base bar type for the volumetric bars.
      Hi Chris,

      Thanks for your reply. This is such a shame, as the custom bar type is what sets Ninjatrader apart from the competition. Orderflow Volumetric bar has also a lot of potential and if the custom bar can be used with volumetric bars, it would be great.

      Can I put in a request for this feature to be added?

      Comment


        #4
        Hi, I will submit a feature request for this item and update this thread with a tracking ID once I receive it.

        Comment


          #5
          Hi, I added a new feature request with tracking ID# SFT-5839. If the feature is ever included in future updates it will show up in the release notes here:



          Kind regards,
          -ChrisL​

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          597 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          555 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X