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 StockTrader88, 03-06-2021, 08:58 AM
    45 responses
    3,992 views
    3 likes
    Last Post johntraderuser2  
    Started by TAJTrades, Today, 09:46 AM
    0 responses
    7 views
    0 likes
    Last Post TAJTrades  
    Started by rhyminkevin, Yesterday, 04:58 PM
    5 responses
    62 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Started by realblubb, Today, 09:28 AM
    0 responses
    8 views
    0 likes
    Last Post realblubb  
    Started by AaronKoRn, Yesterday, 09:49 PM
    1 response
    19 views
    0 likes
    Last Post Rikazkhan007  
    Working...
    X