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 StockTrader88, 03-06-2021, 08:58 AM
        45 responses
        3,991 views
        3 likes
        Last Post johntraderuser2  
        Started by TAJTrades, Today, 09:46 AM
        0 responses
        7 views
        0 likes
        Last Post TAJTrades  
        Started by rhyminkevin, Yesterday, 04:58 PM
        5 responses
        62 views
        0 likes
        Last Post dp8282
        by dp8282
         
        Started by realblubb, Today, 09:28 AM
        0 responses
        8 views
        0 likes
        Last Post realblubb  
        Started by AaronKoRn, Yesterday, 09:49 PM
        1 response
        19 views
        0 likes
        Last Post Rikazkhan007  
        Working...
        X