Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by itrader46, Today, 10:22 AM
    0 responses
    6 views
    0 likes
    Last Post itrader46  
    Started by NM_eFe, Today, 10:13 AM
    0 responses
    2 views
    0 likes
    Last Post NM_eFe
    by NM_eFe
     
    Started by hdge4u, Yesterday, 12:23 PM
    1 response
    10 views
    0 likes
    Last Post hdge4u
    by hdge4u
     
    Started by 1001111, Today, 09:45 AM
    0 responses
    10 views
    0 likes
    Last Post 1001111
    by 1001111
     
    Started by DTSSTS, 01-28-2024, 12:07 PM
    11 responses
    558 views
    0 likes
    Last Post bmo111
    by bmo111
     
    Working...
    X