When I try to input a zip file I get this import error .... (Page 2) - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

When I try to input a zip file I get this import error ....
Started:July 13th, 2010 (01:28 AM) by skyfly Views / Replies:2,940 / 12
Last Reply:July 22nd, 2010 (06:34 AM) Attachments:4

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

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

Old July 21st, 2010, 08:06 AM   #11 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 45,432 since Jun 2009
Thanks: 28,836 given, 79,558 received

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 NinjaTrader - Big Mike's Day Trading Forum


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:

Old July 22nd, 2010, 01:39 AM   #12 (permalink)
Trading for Fun
College Point, NY (Queens)
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG
Favorite Futures: YM
Posts: 63 since Nov 2009
Thanks: 5 given, 20 received


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
The following user says Thank You to kandlekid for this post:

Old July 22nd, 2010, 06:34 AM   #13 (permalink)
Elite Member
Berlin, Europe
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
Fat Tails's Avatar
Posts: 9,525 since Mar 2010
Thanks: 4,213 given, 24,787 received

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 - NinjaTrader 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


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > When I try to input a zip file I get this import error ....

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Zip file please (_Lin_Reg_Rev_Paint_v01.cs) tickvix NinjaTrader 5 March 29th, 2011 10:03 AM
How to change a .cs file into NinjaTrader 7 zip micdup NinjaTrader 15 January 7th, 2011 07:57 PM
zip file downloads ollie NinjaTrader Programming 5 July 30th, 2010 09:11 AM
Import NinjaScript File Warning...arrgh! gannman NinjaTrader 6 June 18th, 2010 02:30 AM
Global NameSpace error when saving file ThatManFromTexas NinjaTrader Programming 16 May 5th, 2010 01:51 PM

All times are GMT -4. The time now is 03:53 PM.

Copyright © 2016 by futures.io. 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.
no new posts

Page generated 2016-10-22 in 0.07 seconds with 20 queries on phoenix via your IP