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 techgetgame, Yesterday, 11:42 PM
        0 responses
        8 views
        0 likes
        Last Post techgetgame  
        Started by sephichapdson, Yesterday, 11:36 PM
        0 responses
        2 views
        0 likes
        Last Post sephichapdson  
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,613 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Yesterday, 05:56 PM
        0 responses
        10 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        20 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Working...
        X