Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Non-existent indicator interferes with compilation

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

    Non-existent indicator interferes with compilation

    When I try to compile an indicator the error "Ninjatrade indicator already contains a definition for BollingerBandWidth" occurs. However there is one and only one file in ..bin/custom/indicator named BollingerBandWidth.cs. The indicator is named "BollingerBandWidth". Also a search on contained text shows this one and only this one file solely contains the text "public class BollingerBandWidth : Indicator"

    So it looks like ninjatrader is looking at some other directory to find indicators or is keeping old code around. I think to use ninjatrader script I need to know what other directories ninjatrader reads to find indicators so I can clear them out to avoid confusion.

    I have seen other problems where there some "phantom" compilation components that interfere with compilation or which are used instead when indicators are updated. Could you please provide the names of the dlls to which indicators are complied so I may delete them before each compliation. Is there a command to clear the old code out of ninjatrader memory if the dll is loaded into memory?

    Thanks.
    Last edited by bjmoose; 03-08-2015, 11:10 AM.

    #2
    Hello bjmoose,

    Thank you for your post.

    There are no "other" directories or assemblies in use. This error quite literally refers to duplicated class name or a missing indicator. I would ask you to write in to platformsupport[at]ninjatrader[dot]com so we may schedule a remote session to resolve these compile errors.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    331 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    549 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    550 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X