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 Mindset, Today, 06:46 AM
    0 responses
    7 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    11 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    13 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    81 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    46 views
    0 likes
    Last Post PaulMohn  
    Working...
    X