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 JonesJoker, 04-22-2024, 12:23 PM
    6 responses
    32 views
    0 likes
    Last Post JonesJoker  
    Started by GussJ, 03-04-2020, 03:11 PM
    12 responses
    3,239 views
    0 likes
    Last Post Leafcutter  
    Started by AveryFlynn, Today, 04:57 AM
    0 responses
    5 views
    0 likes
    Last Post AveryFlynn  
    Started by RubenCazorla, 08-30-2022, 06:36 AM
    3 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Started by f.saeidi, Yesterday, 12:14 PM
    9 responses
    25 views
    0 likes
    Last Post f.saeidi  
    Working...
    X