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 kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    15 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    135 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X