Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

compile error indicator

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

    compile error indicator

    Hello, I try to modify an indicator in NT7 to NT8 and I can't, error in compile:

    "can't find type or namespace "DataSeries" - missing a using directive or reference assembler

    #region Using declarations
    using System;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Xml.Serialization;
    using NinjaTrader.Cbi;
    using NinjaTrader.Gui;
    using NinjaTrader.Gui.Chart;
    using NinjaTrader.Gui.SuperDom;
    using NinjaTrader.Data;
    using NinjaTrader.NinjaScript;
    using NinjaTrader.Core.FloatingPoint;
    using NinjaTrader.NinjaScript.DrawingTools;
    #endregion

    // User defined variables (add any user defined variables below)
    private DataSeries[] value;

    #2
    Hello anmir55,

    Thank you for your inquiry.

    The DataSeries class has been replaced with Series<T> (where T is the data type you would like to use).

    Please take a look at the NinjaTrader 8 help guide at this link for more information about using Series<T>: http://ninjatrader.com/support/helpG...s/?seriest.htm

    I would also suggest reviewing the Code Breaking Changes section of the help guide as well for a high level overview of the NinjaScript changes you can expect between NinjaTrader 7 and NinjaTrader 8: http://ninjatrader.com/support/helpG...ng_changes.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    12 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X