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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        55 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        35 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        103 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        182 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        171 views
        0 likes
        Last Post CarlTrading  
        Working...
        X