Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MultiTimeFrame problem

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

    MultiTimeFrame problem

    strategy code. TF - 5 min.

    Code:
    else if (State == State.Configure)
    {
    	AddDataSeries(BarsPeriodType.Minute, 15);
    	AddChartIndicator(EMA(BarsArray[0],21));
    	AddChartIndicator(EMA(BarsArray[1],21));
    }
    both indicators draw the same line

    #2
    Hello vladko,

    Thanks for your post.

    I have been able to replicate. When you look at indicator panel it shows two EMA(21) both on 5 minute bars.

    I will submit a bug report and will update this thread when I have further information.

    Thanks for reporting.

    Comment


      #3
      Hello vladko,

      After further review this behavior is expected.

      A thread on the discussion of this subject can be found here: http://ninjatrader.com/support/forum...ad.php?t=84730

      A "workaround" is offered on this post of that thread: http://ninjatrader.com/support/forum...20&postcount=2

      I will write a feature request to accomodate MTF addchartIndicator() situations and will update this thread when I have further information.

      Comment


        #4
        Hello vladko,

        The feature request to enable MultiSeries use for AddChartIndicator() has been assigned to SFT-1576.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        673 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        379 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        577 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        582 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X