Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Failed to remove or add scripts

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

    Failed to remove or add scripts

    I got an error when trying to install a indicator so I tried to removed the last ones I installed. But it will not let me do that either.


    I am getting an error when I try to add or remove a strategy or indicator.
    Error: Remove Failed: You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before removing a NinjaScript assembly.

    #2
    Hello gator-trader,

    The error indicates your current NinjaScript files contain errors, which need to resolved first before you can import new NinjaScript files.

    Please follow the instructions below to see where the errors are coming from after compiling any indicator or strategy. This will allow you to debug the indicator/ strategy or remove it from your PC. If you’re wondering why you receive an error when compiling only one indicator or strategy, it is because NinjaTrader compiles all indicators and strategies. Not just one.

    1) Open NinjaTrader
    2) From the Control Center -> Tools -> Edit NinjaScript -> Indicator
    3) Select an indicator and double click on it.
    4) A new window will appear and you will need to right click and compile the indicator.
    5) At the bottom of the window a new section will appear were you can find the error locations. Double click the error and you will be directed to the location of the error.
    6) From there you have the option to remove the indicator or debug it. You can delete NinjaScript files via Tools-->Edit NinjaScript-->Indicator/Strategy, highlight it and select Delete

    You can find general debug information at the link below.


    In addition, you can try the following workaround as well. Note that you will lose all custom and third party NinjaScript files.

    Create a backup file with 'NinjaScript files' unchecked(!).


    Uninstall NinjaTrader via the Windows Control Panel-->Add/Remove Programs (XP), Programs and Features (Vista).
    Delete the My Documents-->NinjaTrader 6.5 folder. Do not delete the NinjaTrader backup folder(!).

    Clear your browser cache and download and install NinjaTrader 6.5 at the link below.


    Restore your settings.

    You should now be able to import new NinjaScript files.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by r68cervera, Today, 05:29 AM
    0 responses
    3 views
    0 likes
    Last Post r68cervera  
    Started by geddyisodin, Today, 05:20 AM
    0 responses
    4 views
    0 likes
    Last Post geddyisodin  
    Started by JonesJoker, 04-22-2024, 12:23 PM
    6 responses
    35 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
    7 views
    0 likes
    Last Post AveryFlynn  
    Working...
    X