Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

can't import NinjaScript

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

    can't import NinjaScript

    while trying to import a Ninja ascript and a indicator, it says custom script in my PC has programming errors.
    I have cleaned up and has no other scripts except the one that i need to import. it did work in another PC, so I know it is not the script
    also tried repaireed DB, but rebooted pc. still same erroor

    #2
    Hello kumaresh11,

    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 and you should be able to import new NinjaScript files again.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 04-23-2024, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    193 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,235 views
    0 likes
    Last Post xiinteractive  
    Working...
    X