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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    38 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    287 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    288 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    134 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    95 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X