Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot Properties without Plot = NT8 Freeze

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

    Plot Properties without Plot = NT8 Freeze

    Hi,

    Just a quick bug report...

    When defining a series for a plot in the properties such as...

    Code:
    [Browsable(false)]
    [XmlIgnore]
    public Series<double> DotWarn
    {
    	get { return Values[0]; }
    }
    ...but the indicator doesn't actually define the associated plot in the SetDefaults section, an error is triggered that an element of an array was accessed that's not available. In the process the entire NT setup freezes and renders it unusable until killed through the task manager and restarted.

    #2
    Hello Adfra,

    Thank you for your post.

    Where are you defining the plot if not in the SetDefaults State? Can you provide the full code for review?

    You would need to use AddPlot() in the SetDefaults State: http://ninjatrader.com/support/helpG...us/addplot.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    7 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    12 views
    0 likes
    Last Post burtoninlondon  
    Working...
    X