Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

When selecting indicator: InvalidOperationException

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

    When selecting indicator: InvalidOperationException

    In case anyone gets this, delete the following from your #region Properties :
    ResourceType = typeof(Custom.Resource)

    I was getting a bunch of exceptions in System.ComponentModel.DataAnnotations when selecting indicators in the Indicators Dialog Box; For some reason the indicators that come w/ NT8 have that code but don't get exceptions. I only noticed because it was taking like 5 - 10 seconds to select indicators once I pressed a mouse button.

    #2
    Hello,

    Thank you for the post.

    Yes, this can certainly cause performance impacts in the case you have the ResourceType specified and the resource is not found. There is a small note about ignoring these resources in the following page: http://ninjatrader.com/support/helpG...b=ResourceType

    These resources are used for localization and can be ignored in custom items.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    587 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    341 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    555 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X