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 trilliantrader, Yesterday, 03:01 PM
    3 responses
    29 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    4 responses
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Brevo, Today, 01:45 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    74 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by suroot, 04-10-2017, 02:18 AM
    5 responses
    3,022 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X