Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

programming errors must be resolved before compliling?

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

    programming errors must be resolved before compliling?

    I tried to import a file but I got an error about having custom ninjascript files on my pc that have errors.

    So I open up an existing inbuilt indicator and compile so that I can see the problems, and then right click and click 'references'

    Do I need to delete some all of these files or something?
    Attached Files

    #2
    subterfuge, that error occurs when you have two indicators that have the same name listed in the code (not the filename).

    In the error listing, please go to the file listed (lbrwithso...) and change the name of the indicator. The name of the indicator in the code is specified in line 24 of the ADXR indicator ("public class ADXR : Indicator"). It may be in a different location in your script, but it will look the same and you will need to change it from LBR310nt7attempt2 to something else.

    In the screenshot, I've highlighted the name as specified in the code.
    Attached Files
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X