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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    135 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    292 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    238 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    332 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    171 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X