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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    80 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    46 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