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

2 time frames / instruments on panel 1

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

    2 time frames / instruments on panel 1

    Hi,

    I'd like to add to my strategy a second time frame (AddDataSeries(stringinstrumentName,BarsPeriodbarsPeriod,stringtradingHoursName)) overlaid by the first time frame. Both should appear on the first panel.

    Found a Ninjatrader blog that shows exactly what I try to achieve with some within a strategy.

    http://ninjatrader.com/blog/multi-ti...-style-charts/

    Is this possible?

    #2
    Hello enable,

    Thank you for your note.

    It is not possible to programmably add a second series to be displayed or overlayed on a chart. The AddDataSeries method you mention is used to add additional data series to the strategy for calculation, but not display.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      enable,
      What you can do is use the AddDataSeries in your strategy for your Strategy to use and then Add the Data Series to the chart by right clicking on the chart and adding it in. Just select the Box style, panel etc. that you want. This way your strategy will have access to it via the add command in your strategy and you can visually see it because you added it to the chart.

      J~

      Comment


        #4
        Great idea, JerryWar. I'll give it a try.

        Thanks for your support.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by KirkHammett, Today, 03:23 AM
        0 responses
        2 views
        0 likes
        Last Post KirkHammett  
        Started by eleven, Yesterday, 10:06 PM
        0 responses
        35 views
        0 likes
        Last Post eleven
        by eleven
         
        Started by ezrollin, Yesterday, 08:12 PM
        7 responses
        72 views
        0 likes
        Last Post bltdavid  
        Started by kyamato, 11-23-2021, 10:51 PM
        6 responses
        91 views
        0 likes
        Last Post jeronymite  
        Started by fscabrera03, Yesterday, 07:14 PM
        0 responses
        49 views
        0 likes
        Last Post fscabrera03  
        Working...
        X