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.

    NinjaTrader is a leading futures broker & trading platform provider with deep discount commissions as low as $.09 per Micro contract. Start your FREE demo powered by live data.


    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 Tim-c, Today, 03:54 AM
        0 responses
        1 view
        0 likes
        Last Post Tim-c
        by Tim-c
         
        Started by FrancisMorro, Today, 03:24 AM
        0 responses
        2 views
        0 likes
        Last Post FrancisMorro  
        Started by Segwin, 05-07-2018, 02:15 PM
        10 responses
        1,770 views
        0 likes
        Last Post Leafcutter  
        Started by Rapine Heihei, 04-23-2024, 07:51 PM
        2 responses
        31 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by Shansen, 08-30-2019, 10:18 PM
        24 responses
        945 views
        0 likes
        Last Post spwizard  
        Working...
        X