NexusFi: Find Your Edge


Home Menu

 





When I try to input a zip file I get this import error ....


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one skyfly with 4 posts (1 thanks)
    2. looks_two Fat Tails with 2 posts (1 thanks)
    3. looks_3 max-td with 2 posts (4 thanks)
    4. looks_4 Big Mike with 1 posts (1 thanks)
      Best Posters
    1. looks_one max-td with 2 thanks per post
    2. looks_two ZTR with 2 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 vegasfoster with 1 thanks per post
    1. trending_up 6,378 views
    2. thumb_up 11 thanks given
    3. group 4 followers
    1. forum 12 posts
    2. attach_file 4 attachments




 
Search this Thread

When I try to input a zip file I get this import error ....

  #11 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599

A new wiki has been created to help people with import errors on NinjaTrader.

See it here, and feel free to improve it.

How-to import indicators in [AUTOLINK]NinjaTrader[/AUTOLINK] - Big Mike's Day Trading Forum

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #12 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20

Skyfly,

I still think the problem is a multiply defined class. In your previous thread "NT indicator script compiling issues / error while importing" I described what I believe is happening . If you unzip a file containing a class name, and then create a file containing that same class name (using the import process you linked in your original post for the thread above), then that class name will appear in the namespace twice, resulting in the error. One of the files has to be removed from the indicators directory. Why don't you move the imported file somewhere safe (say a sub directory of indicators) so it won't be compiled (i.e it's not in the indicators directory), and then try to compile the unzipped indicator (ZigZagUTC_TL_BarCount_Fibs.cs) using the F5 key ? You can always copy the imported file back if this does not work

Reply With Quote
Thanked by:
  #13 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


You will not go any further, if you do not have a look at the tracefile. The tracefile explains the problem and you can solve it.

Own Documents -> NinjaTrader 7 -> trace -> Open the text file with an editor and you will see.


skyfly View Post
Ok I just went to "downloads" for Ninja Trader 7. I downloaded the very first script the "AaMa" Downloads - [AUTOLINK]NinjaTrader[/AUTOLINK] 7 Indicators - Big Mike's Day Trading Forum. Is their any question in anyones mind that this scrip has errors? I wouldn't think their would be, it wouldn't be their if their where. However I downloaded it went to "Utilites" then to " Import Ninja Script" and right away this message came up
" You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive file."

So can anyone explain to me why I get this message, when it's obvious that the script has no errors?


Reply With Quote




Last Updated on July 22, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts