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,

      Comment


        #4
        My pleasure!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        79 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        45 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X