Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to use two timeseries for one indicator?

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

    How to use two timeseries for one indicator?

    I mean data of two symbols?

    I thought maybe there is something within the following tutorial:

    Level 4 - Demonstrating the use of IndicatorSeries objects to retain historical custom calculations data series

    but this tutorial has not been written yet.

    Any help appreciated!

    #2
    imported post

    This is not supported. In NT6, this muti time frame and instruments will be supported in a strategies for automated trading.

    In essence, you can code an indicator internal to a strategy that will execute orders. You can do things like:

    if (SMA(ES, 5M, 20) > SMA(YM, 15M, 20))
    BuyMarket();

    etc...

    This will out in beta late July.

    Ray

    I will add the request to support this at the indicator level for future consideration.
    RayNinjaTrader Customer Service

    Comment


      #3
      I'm trying to use data from lower/higher time frames in my chart indicator, is there a way to do this? Higher could be constructed manually. Being able to use e.g. SMA's as described would be sufficient. Thanks

      Comment


        #4
        Sorry Rollins. This is currently not doable with a chart indicator. You can do multi-time framed work in strategies though.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Too bad, but thanks Josh

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DanielSanMartin, Yesterday, 02:37 PM
          2 responses
          12 views
          0 likes
          Last Post DanielSanMartin  
          Started by DJ888, 04-16-2024, 06:09 PM
          4 responses
          12 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by terofs, Today, 04:18 PM
          0 responses
          11 views
          0 likes
          Last Post terofs
          by terofs
           
          Started by nandhumca, Today, 03:41 PM
          0 responses
          8 views
          0 likes
          Last Post nandhumca  
          Started by The_Sec, Today, 03:37 PM
          0 responses
          4 views
          0 likes
          Last Post The_Sec
          by The_Sec
           
          Working...
          X