• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom NinjaScript file with errors

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

    Custom NinjaScript file with errors

    I can't import a new indicator because this message comes up:

    "You have custom Ninjascript files on your PC that have programming errors"
    This install is from a backup file. Ninja on that computer was working fine when the export backup was done.

    How do I fix this?

    #2
    Hello StevenNelson,

    Thank you for your post.

    Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.

    For NinjaTrader 8:
    • Open NinjaTrader
    • From the Control Center select the New menu--> select NinjaScript Editor
    • Double click on the Indicators folder--> then double click on any of the indicators
    • Once the indicator code is in view right-click in the window and select Compile to compile all NinjaScript objects
    • At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
    • You can exclude the file referenced in the editor by double clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.
    If you are unsure as to what the error is indicating, please post a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678

    Please let us know if we may be of further assistance.
    Shawn B.NinjaTrader Customer Service

    Comment


      #3
      I had no luck with this. I just want to install Ninja fresh on this new computer. I ran the install file and clicked "remove ninja". I then ran it again to install it. But it still remembers the same issues.
      How can I install Ninja completely fresh?

      Comment


        #4
        Hello StevenNelson,

        Thank you for your post.

        Please follow the steps listed below to completely uninstall and reinstall NinjaTrader.
        • If possible, copy your license key from the Control Center > Help > License Key.
        • Close all running applications.
        • Navigate to your Documents folder > Right-click on the 'NinjaTrader 8' folder > Rename > rename the folder to 'NinjaTrader 8 OLD'. DO NOT delete this folder.
        • Uninstall NinjaTrader within Windows Control Panel.
        • Navigate to C:\ > Program File (x86) > Delete the 'NinjaTrader 8' folder if it exists
        • Reboot your PC.
        • Once these steps are completed, download and install NT8 from the link below.
        Please let us know if we may be of further assistance.
        Shawn B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rainbow47, Today, 06:10 AM
        0 responses
        3 views
        0 likes
        Last Post rainbow47  
        Started by stenberg98, Today, 04:53 AM
        2 responses
        7 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by wukefuha, Today, 03:20 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by mbcmbc, Yesterday, 10:12 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by fx.practic, Today, 03:44 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Marco  
        Working...
        X