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 trilliantrader, Today, 08:16 AM
        0 responses
        3 views
        0 likes
        Last Post trilliantrader  
        Started by AttiM, 02-14-2024, 05:20 PM
        9 responses
        174 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by funk10101, Today, 08:14 AM
        0 responses
        2 views
        0 likes
        Last Post funk10101  
        Started by adeelshahzad, Today, 03:54 AM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by RookieTrader, Today, 07:41 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X