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 mattbsea, Today, 05:44 PM
    0 responses
    3 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    31 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,282 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    20 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Working...
    X