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 judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    21 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X