NexusFi: Find Your Edge


Home Menu

 





Programming errors while importing Ninja script


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one mathew1659 with 2 posts (0 thanks)
    2. looks_two emini_Holy_Grail with 2 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 max-td with 1 posts (0 thanks)
    1. trending_up 8,985 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 8 posts
    2. attach_file 1 attachments




 
Search this Thread

Programming errors while importing Ninja script

  #1 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126

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

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #2 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,612 since Aug 2009
Thanks Given: 11,341
Thanks Received: 2,747

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
Thanked by:
  #3 (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,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662


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 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
  #4 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126

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
  #5 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425

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
  #6 (permalink)
mathew1659
Omaha, ne
 
Posts: 2 since May 2010
Thanks Given: 0
Thanks Received: 0

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:	359
Size:	24.9 KB
ID:	13731  
Reply With Quote
  #7 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

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
  #8 (permalink)
mathew1659
Omaha, ne
 
Posts: 2 since May 2010
Thanks Given: 0
Thanks Received: 0



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
  #9 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629

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




Last Updated on May 20, 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