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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        135 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        292 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        238 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        332 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        171 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X