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.
    Paul H.NinjaTrader Customer Service

    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.
      Paul H.NinjaTrader Customer Service

      Comment


        #4
        Hello vladko,

        The feature request to enable MultiSeries use for AddChartIndicator() has been assigned to SFT-1576.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        4 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X