• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    https://ninjatrader.com/support/help...arsrequest.htm
    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 tvaughan4, 12-13-2019, 10:46 PM
        2 responses
        17 views
        0 likes
        Last Post tvaughan4  
        Started by digibob, 12-13-2019, 10:01 PM
        3 responses
        12 views
        0 likes
        Last Post digibob
        by digibob
         
        Started by ldissinger, Yesterday, 12:55 PM
        1 response
        19 views
        0 likes
        Last Post ldissinger  
        Started by pstrusi, Yesterday, 09:06 AM
        1 response
        28 views
        0 likes
        Last Post marcus2300  
        Started by vpzdcv, Yesterday, 02:31 AM
        0 responses
        14 views
        0 likes
        Last Post vpzdcv
        by vpzdcv
         
        Working...
        X