Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Additional Series in Custom BarType

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

    Additional Series in Custom BarType

    Hello,

    i would like to know if there is a way to add an additional public data value to each bar in a bartype.

    Background is that i have created a custom bar type which is based on volume delta and i would like to save and request the current bars delta via the bartype e.g. Bars.getClose() etc...

    I tried to accomplish this by using an indicator but the AddBar Method called in the bartype doesn't match the IsFirstTickOfBar called within the indicator.

    Thank you and best regards,
    Mike

    #2
    Hello mk77ch,

    If you are asking if it is possible to add another data series other than the Open, High, Low, Close, Medium, Typical, and Weighted, this would not be possible but I would be happy to submit a feature request on your behalf if you would like.

    Below is a publicly available link to the help guide on series that are available.



    If you are asking if you can add a data series to a bar type, synchronized series are not part of bar types, but it would be possible to do a BarsRequest and use this data how you would like.

    Below is a publicly available link to the help guide on BarsRequest.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      hi chelsea,

      thank you for your answer.
      could you shine some light on how this could be accomplished using a bars request?
      would this be possible to access in an indicator?

      thank you,
      mike

      Comment


        #4
        Hello Mike,

        The BarsRequest allows for unsynchronized data to be called in a script (instead of loading a series with AddDataSeries()).

        As an example, if your script needed to call 100 days of 1 minute ^TICK index data for calculations, a BarsRequest would allow for this data to be called out of sync and processed in a bar type or any other type of addon.

        Below is a link to an example of a bars request.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        81 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        46 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X