Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT custom indicator name collision

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

    NT custom indicator name collision

    I just found that when I try to compile a custom indicator, NT cannot compile its own built-in indicators! After considerable puzzlement, I noticed that the error messages all complained about graphics and Rectangle. As it happened, I had just created a custom indicator called Rectangle (an unfortunate choice of name), and the presence of this class broke the compilation of the built-in indicators (my Rectangle indicator was created by the wizard, and not modified). I will rename it, but I feel this is a trap that many people could fall into, and there is no way to know what names could cause this kind of conflict.

    This problem is easy to reproduce: just create (e.g. by the wizard) a custom indicator named Rectangle, then try to compile.

    I think you should take some action to mitigate this problem in the future. Probably custom indicators should have their own namespace to avoid these collisions. At least, put a warning in the manual, with a list of reserved names.

    #2
    Splat, thank you for the suggestion - I've passed it along.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Splat, we thank you for the insightful suggestion for future enhancement of the NinjaTrader platform - we've assigned tracking # 880 to it.

      Thanks again,
      BertrandNinjaTrader Customer Service

      Comment


        #4
        My pleasure!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pibrew, Today, 06:37 AM
        0 responses
        4 views
        0 likes
        Last Post pibrew
        by pibrew
         
        Started by rbeckmann05, Yesterday, 06:48 PM
        1 response
        14 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        11 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        16 views
        0 likes
        Last Post AaronKoRn  
        Working...
        X