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 Philippe56140, Today, 02:35 PM
        0 responses
        2 views
        0 likes
        Last Post Philippe56140  
        Started by 00nevest, Today, 02:27 PM
        0 responses
        1 view
        0 likes
        Last Post 00nevest  
        Started by Jonafare, 12-06-2012, 03:48 PM
        5 responses
        3,986 views
        0 likes
        Last Post rene69851  
        Started by Fitspressorest, Today, 01:38 PM
        0 responses
        2 views
        0 likes
        Last Post Fitspressorest  
        Started by Jonker, Today, 01:19 PM
        0 responses
        2 views
        0 likes
        Last Post Jonker
        by Jonker
         
        Working...
        X