When I try to input a zip file I get this import error .... - futures io
futures io futures trading



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 max-td with 2 posts (4 thanks)
    3. looks_3 Fat Tails with 2 posts (1 thanks)
    4. looks_4 kandlekid 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 4,512 views
    2. thumb_up 11 thanks given
    3. group 4 followers
    1. forum 12 posts
    2. attach_file 4 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

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

(login for full post details)
  #1 (permalink)
Texas
 
 
Posts: 113 since Jun 2010

I have down loades a couple of zip files to my computer from this site. To use with NJ of course. When I go to "file" then to "utilites" then to "Import Nijascript" I get this message

" 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."

Now the two zip files I have, I have uploaded. I am assuming neither of these have "errors" in them. But once again I'm getting that above message when I try to import them in. Could someone with experience try this maybe on their computer and see if it works for them? I really do not know what to do now.

Any help is greatly appreciated.

Attached Files
Register to download File Type: zip ZigZagUTC_TL_BarCount_Fibs.zip (8.5 KB, 33 views)
Register to download File Type: zip 11rangetradechart.zip (3.3 KB, 15 views)
Reply With Quote

Can you help answer these questions
from other members on futures io?
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
Indicators for pair trading MES and M2K
Platforms and Indicators
SimplerOptions
Trading Reviews and Vendors
Neurological explanations for trading Success
Psychology and Money Management
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
 
 
(login for full post details)
  #3 (permalink)
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received


hi skyfly,

have a look here + try all those steps :





maybe it brings you to a result
and please report here if this helped you !
thanks!



max-td
Reply With Quote
The following 3 users say Thank You to max-td for this post:
 
(login for full post details)
  #4 (permalink)
Texas
 
 
Posts: 113 since Jun 2010

Well I really do not know what I'm doing with all of this importing business. I suppose these would be helpful if I understood them. I think I'm just going to call up NJ and get someone to help me. I really can not explain very well what is happening. And I do not know enough to be helped by anyone trying lol.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

The problem isn't with what you are importing, the problem is that you already have an indicator, strategy, or script that has errors. If anything else on your setup has errors, then you can't make any other changes until those are resolved first. Edit any indicator, doesn't matter which one, and press F5, at the bottom of the screen it will tell you which indicator, strategy, or script has the error. Fix it, or delete it if you aren't using it, and you should be able to import the new indicators.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
(login for full post details)
  #6 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,731 received

Just go to OwnDocuments -> NínjaTrader (7) -> trace, and open the trace file of today with the text editor. Read the tracefile and it will tell you, which was the offensive indicator.

Start Ninjatrader, then edit the offensive indicator and delete it. Problem should be solved now.


skyfly View Post
Well I really do not know what I'm doing with all of this importing business. I suppose these would be helpful if I understood them. I think I'm just going to call up NJ and get someone to help me. I really can not explain very well what is happening. And I do not know enough to be helped by anyone trying lol.


Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
(login for full post details)
  #7 (permalink)
Texas
 
 
Posts: 113 since Jun 2010

Ok I just went to "downloads" for Ninja Trader 7. I downloaded the very first script the "AaMa" https://futures.io/free_downloads/ninjatrader-7/indicators/. 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
 
(login for full post details)
  #8 (permalink)
Texas
 
 
Posts: 113 since Jun 2010

and I have tried just deleting the script from my computer. But I can not seem to freaking get rid of it. I deleted it, yet everytime it is still their.l

Reply With Quote
 
(login for full post details)
  #9 (permalink)
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 924 received

do the following + make a screenshot of the ERROR-messages on the bottom-area + post it here please !

Go to : tools - Edit NinjaScript - indicator
- now open any indicator you like
- now press compile (button or F5)

- now you should get some errors on the bottom of the script.

please make a screenshot + post it .
dont type whats written there - we WANT a screenshot of it !

Also you can do Fat Tails sugestion :

Just go to OwnDocuments -> NínjaTrader (7) -> trace, and open the trace file of today with the text editor.
Post us a screenshot of the last 15 lines of the tracefile.
or copy the lines + post them


thats the next step for finding whats up here in your NT.
without doing this you can get no help - sorry.

max-td
Reply With Quote
The following user says Thank You to max-td for this post:
 
(login for full post details)
  #10 (permalink)
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,099 given, 1,392 received


Just to let you know,

If the rest of your indicators are clean, no errors, this works.

So please, do what Max says, post it here and I will help you.


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?



max-td View Post
do the following + make a screenshot of the ERROR-messages on the bottom-area + post it here please !

Go to : tools - Edit NinjaScript - indicator
- now open any indicator you like
- now press compile (button or F5)

- now you should get some errors on the bottom of the script.

please make a screenshot + post it .
dont type whats written there - we WANT a screenshot of it !

Also you can do Fat Tails sugestion :

Just go to OwnDocuments -> NínjaTrader (7) -> trace, and open the trace file of today with the text editor.
Post us a screenshot of the last 15 lines of the tracefile.
or copy the lines + post them


thats the next step for finding whats up here in your NT.
without doing this you can get no help - sorry.


R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Attached Thumbnails
Click image for larger version

Name:	Works.PNG
Views:	69
Size:	8.0 KB
ID:	17271   Click image for larger version

Name:	YM 09-10 (2048 Volume)  7_21_2010_0100.jpg
Views:	82
Size:	85.4 KB
ID:	17272  
Visit my futures io Trade Journal Reply With Quote
The following 2 users say Thank You to ZTR for this post:
 
(login for full post details)
  #11 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,785 since Jun 2009
Thanks: 32,314 given, 97,581 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

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
(login for full post details)
  #12 (permalink)
College Point, NY (Queens)
 
 
Posts: 63 since Nov 2009
Thanks: 5 given, 20 received

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
The following user says Thank You to kandlekid for this post:
 
(login for full post details)
  #13 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,855 since Mar 2010
Thanks: 4,238 given, 26,731 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 Trading Community Platforms and Indicators NinjaTrader > When I try to input a zip file I get this import error ....


Last Updated on July 22, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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