Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Import Error - The NinjaScriptArchive File may contain duplicate method names...

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

    Import Error - The NinjaScriptArchive File may contain duplicate method names...

    I have attached a screenshot of the full error message.

    I've uninstalled & reinstalled NinjaTrader, I've deleted every other 3rd party indicator & I've tried compiling files in the NinjaScript Editor but none of this has worked.
    Any suggestions on where to go from here?

    Thanks.

    #2
    Hello preqc,

    The error indicates you have a NinjaScript file present in NinjaTrader that uses the same method names as the NinjaScript file you try to import. Do you have any other indicators or strategies installed that are similar? Unfortunately I cannot tell what other indicator or strategy contains the duplicate method names. If you have an older version of this NinjaScript already installed, please uninstall the old version first and then check if you can import it. You can delete indicators and strategies at Control Center-->New-->NinjaScript Editor.

    If the issue remains, I suggest to proceed as follows.
    • Shut down NinjaTrader.
    • Navigate to the Documents folder in Windows.
    • Right click the "NinjaTrader 8" folder and select Rename. Name it "NinjaTrader 8 Old". This folder contains all settings and data.
    • Uninstall NinjaTrader via Windows start menu-->Settings-->Apps.
    • Reinstall NinjaTrader from the link below.
      https://ninjatrader.com/PlatformDirect
    You will have a fresh new installation without any of your settings and data. I assume you can now import the NinjaScript file successful. If so, please shut down NinjaTrader and you can manually restore settings and data between the newly created "NinjaTrader 8" folder and "NinjaTrader 8 Old" folder. I have included some file locations below.

    Workspaces
    Documents-->NinjaTrader 8-->workspaces

    Database
    Documents-->NinjaTrader 8-->db-->NinjaTrader.sdf

    Chart templates
    Documents-->NinjaTrader 8-->templates-->Chart

    Market Analyzer templates
    Documents-->NinjaTrader 8-->templates-->Market Analyzer

    Other templates
    Documents-->NinjaTrader 8-->templates-->Strategy, Indicator, etc

    Historical data
    Documents-->NinjaTrader 8-->db-->day/minute/tick folders
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PaulMohn, Today, 05:00 AM
    0 responses
    8 views
    0 likes
    Last Post PaulMohn  
    Started by ZenCortexAuCost, Today, 04:24 AM
    0 responses
    6 views
    0 likes
    Last Post ZenCortexAuCost  
    Started by ZenCortexAuCost, Today, 04:22 AM
    0 responses
    3 views
    0 likes
    Last Post ZenCortexAuCost  
    Started by SantoshXX, Today, 03:09 AM
    0 responses
    16 views
    0 likes
    Last Post SantoshXX  
    Started by DanielTynera, Today, 01:14 AM
    0 responses
    5 views
    0 likes
    Last Post DanielTynera  
    Working...
    X