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 TraderJA, Today, 12:06 AM
        0 responses
        3 views
        0 likes
        Last Post TraderJA  
        Started by SnailHorn, Yesterday, 10:49 PM
        0 responses
        7 views
        0 likes
        Last Post SnailHorn  
        Started by naanku, Yesterday, 07:25 PM
        0 responses
        8 views
        0 likes
        Last Post naanku
        by naanku
         
        Started by milfocs, Yesterday, 07:23 PM
        0 responses
        6 views
        0 likes
        Last Post milfocs
        by milfocs
         
        Started by PaulMohn, Yesterday, 06:59 PM
        0 responses
        8 views
        0 likes
        Last Post PaulMohn  
        Working...
        X