Programming errors while importing Ninja script - futures io
futures io futures trading



Programming errors while importing Ninja script


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one emini_Holy_Grail with 2 posts (0 thanks)
    2. looks_two mathew1659 with 2 posts (0 thanks)
    3. looks_3 sam028 with 1 posts (0 thanks)
    4. looks_4 eDanny with 1 posts (0 thanks)
    1. trending_up 7,755 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 8 posts
    2. attach_file 1 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
 

Programming errors while importing Ninja script

(login for full post details)
  #1 (permalink)
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
 
Posts: 598 since Nov 2009
Thanks: 176 given, 120 received

When I try to either import a NinjaScript zip file, got this message,

"You have custom NinjaScript files on your PC that have programming errors. These errors must be resolved before you can import / export a NinjaScript Archive File"

I got this error after downloading a Ninja script but even after deleting this zip, I still get this errors and I know other indicators are good and they imported fine.
Now, I am trying to download another indicator, but this gives same error.
I dont want to reinstall NT as already done once to solve this problem and I expect NT should be able to resolve without having to reinstall everytime.

Any help is appreciated

Moderator Notice
Moderator Notice


Started this thread Reply With Quote

Journal Challenge February 2021 results:
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(173 thanks from 31 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(120 thanks from 33 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(35 thanks from 17 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
 
 
(login for full post details)
  #2 (permalink)
New Orleans, La (Mardi Gras City)
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
 
DavidHP's Avatar
 
Posts: 1,348 since Aug 2009
Thanks: 9,463 given, 2,360 received

Post an image of the error

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
The following user says Thank You to DavidHP for this post:
 
(login for full post details)
  #3 (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,764 since Jun 2009
Thanks: 32,302 given, 97,534 received


Go to Tools - Edit - Indicator, pick anything.

Open it.

Click F5 to compile.

Post a screen shot of the errors at the bottom of the window.

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
 
(login for full post details)
  #4 (permalink)
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
 
Posts: 598 since Nov 2009
Thanks: 176 given, 120 received

It said that "the Ninja indicator already had definition for Divergence" so I remove the Divergence indicator and re imported, and it worked. sorry guys, dont have the pic now as I saw this msg after re imported but thks to Mike and David.
But I had similar errors before with diff msg, so next time will attach screen shot

Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
East Rochester, NY
 
Experience: Intermediate
Platform: NT
 
eDanny's Avatar
 
Posts: 329 since Jul 2009
Thanks: 17 given, 423 received

This was because the custom assembly you were trying to import needed, and included the same indicator you had to delete. Be aware that if you stop using the custom indicator and remove the assembly, the indicator you had to delete will still be gone.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
Omaha, ne
 
 
Posts: 2 since May 2010
Thanks: 0 given, 0 received

I try importing a td sequential indicator and nt shows an error " you have custom ninjascript programming errors. these errors must be resolved before you can import a ninjascript archive file.
I have reinstalled nt 2 times and it still gives me this error. I went to edit/indicator and picked a couple random indicators, hit compile and the error in the attached picture shows up each time.. I have nt 7 installed and do not have these errors with that version, have other programming errors from what i have read might have to do with changing the programming script. I just want one version that works, 6.5 or 7. Would Love any help. Thanks

Attached Thumbnails
Click image for larger version

Name:	NT 6.5 errors.png
Views:	221
Size:	24.9 KB
ID:	13731  
Reply With Quote
 
(login for full post details)
  #7 (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

what helps as a first step would be to post the indicator that you imported !
so someone can have a look at it.

max-td
Reply With Quote
 
(login for full post details)
  #8 (permalink)
Omaha, ne
 
 
Posts: 2 since May 2010
Thanks: 0 given, 0 received



second post down, td sequential indicator posted by cbratton
this is the indicator i would like to import, havent had the chance because i keep getting the error shown in my last post.
Thanks for your help in advance

Reply With Quote
 
(login for full post details)
  #9 (permalink)
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,665 since Jun 2009
Thanks: 3,786 given, 4,494 received

Remove test.cs, which might be in your strategy folder.
This one has the error, and if at least one indicator/strategy have an error, nothing will compile.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Programming errors while importing Ninja script


Last Updated on May 20, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

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

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

New Challenge (TBD)

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