Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript Import Error

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

  • NinjaTrader_Bertrand
    replied
    The ATM templates are stored in your database, you can back it up with this link here - http://www.ninjatrader-support.com/H...upArchive.html

    I would exclude the NinjaScript files from it in your special case.

    Leave a comment:


  • ATI user
    replied
    ok...thanks

    where are the ATM templates stored so I can save them instead of re-creating 10 templates

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Hi ATI user, best would be to do a complete, fresh setup of NinjaTrader - uninstall it and make sure you delete the MyDocuments > NinjaTrader 6.5 folder.

    Leave a comment:


  • ATI user
    replied
    Josh

    I got the same error...i.e. duplicate method names

    I removed all custom indicators and strategies from my importing computer and still get the message.

    The only thing I did differently with this import was that I was connected to Zenfire when I did:

    step 1: Remove NinjaScript Assembly
    step 2: Import NinjsScript

    I had a chart running with a custom template without any custom indicators/strategies loaded. I was wondering if that made a difference with respect to the Remove...i.e. maybe did not remove everything from the old assembly.

    I deleted all workspaces and restarted NT and still get the message on import.

    What do you recommend I try next?

    Thanks.

    Leave a comment:


  • Learning1
    replied
    That worked

    This must have been the issue. After clearing out a couple of former similar strategies, the new ones imported fine.

    Thanks Josh

    Leave a comment:


  • NinjaTrader_JoshP
    replied
    I think you might have yourself a whole mess of overlapping method names. It might be best for you to just clear out all custom strategies/indicators you have on your second comp and just transfer a clean set over from your first comp.

    Leave a comment:


  • Learning1
    started a topic NinjaScript Import Error

    NinjaScript Import Error

    Hi There,

    I was trying to import a strategy from one computer to another. on the first computer, the strategy was exported as a protected DLL. When I try to import it on the second computer, I get the following error:

    "Import failed. The existing NinjaScript file 'c:\Documents and Settings\Administrator\My Documents\Administrator\Ninjatrader 6\bin\Custom\Strategy4' contains duplicate method names found in the imported NinjaScript Archive File.

    Question ... What is this error referring to and what is my best way around it? There are alos indicators contained in the strategy that already exist on the second computer. Am I best not to re-export / import these indicators?

    Thanks for the help,

    Learning1

Latest Posts

Collapse

Topics Statistics Last Post
Started by manitshah915, 12-12-2024, 09:39 AM
2 responses
50 views
0 likes
Last Post Herry
by Herry
 
Started by ntsomeone, Today, 07:47 AM
0 responses
7 views
0 likes
Last Post ntsomeone  
Started by RJBen, 01-24-2025, 02:39 PM
2 responses
12 views
0 likes
Last Post RJBen
by RJBen
 
Started by ilaniko, Today, 06:22 AM
0 responses
9 views
0 likes
Last Post ilaniko
by ilaniko
 
Started by GeorgeW, 01-12-2025, 11:59 AM
4 responses
46 views
0 likes
Last Post GeorgeW
by GeorgeW
 
Working...
X