Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing another data series from within a custom bar type

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

    Accessing another data series from within a custom bar type

    Could someone explain how to access another data series from a custom bar type?

    I'm trying to calculate something on 1 Minute data from within a custom bar type

    #2
    Hello NinjaCustomer,

    BarType scripts do not have the ability to use Series objects.

    You can do a BarsRequest if you need data out of sync from any instrument or other BarType.

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

    Comment


      #3
      I'm trying to calculate the ATR of a 1 minute chart from within a bar type..

      is there any way this could be possible? even if I do the atr calculations myself?

      Comment


        #4
        Hello NinjaCustomer,

        It would be possible by doing a BarsRequest and writing the logic of the ATR into the Addon script using the data from the BarsRequest.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        321 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        203 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        190 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        283 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        238 views
        0 likes
        Last Post CarlTrading  
        Working...
        X