Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I have Ninja 7; license from Mirus and there is no Tools/Edit Ninjascript available. Ninja support tells me it is a stripped down version.
When I copy the cs file to the indicator directory and attempt to import a zip file it gives the error message "You have custom NinjaScript files on you PC that have programming errors. These errors must be resolved before you can import a NinjaScript Archive File."
Importing a zip file is fine.
Is there any other way to force a compile?
Can you help answer these questions from other members on NexusFi?
I had the same problem. Ask Ninja for a Sim Key. Use it to access the Ninja Script Editor and debug your script. Then switch back to your other Key. They say you need to restart Ninja when changing keys, but I haven't found that necessary.
I have a .csv file that I want to Import to NT 7, but its not an indicator or strategy; its VIX dataseries from CBOE. Will this procedure work for .csv files and if so, can I somehow upload as historical data?
Ok; us newbies to NT (but not trading) try out everything like brokers, indicators, modifications, lame coding efforts, etc. And then, of course, some form of corruption infects our otherwise good working NT, even if the strippeddown "free" version from AMP Trading, i.e., no internal NT Script Editor. Oh wow is me!! Hark. to get back to functionality there are workarounds - the short and the long of course. For the short, try this. Think if you could only find the offending indicator or component thereof and delete it, then at least you are back to fullfunctionality for importing zip's without error messages. So how do you do it?
1. Creat several empty folders on on your desktop - with sequentional names of course, e.g., NewFolder1, New Folder2, etc.
2. Open two Windows Explorer (I like the old name "File Manager" better). The first shall be your location of your My Documents Folder where Ninja Trader 7 is located, in Win 7 -- to c:\... whatever it takes for you to get there...\My Documents\Ninja Trader 7\bin\Custom\Indicator.
3. Sort by name all of the Indicators. Please note that many of them havea first letter/character of the @ symbol. Sort them so that all of the ampersands are at the top.
4. Open the second Windows Explorer to the empty New Folder1 on the Desktop.
5. Put the two open WE views side by side. Copy all of the indicators that do not have an @ to the empty New Folder1. Make sure you got it right, count them. Then delete just thos indicators from the homebase for them in the other open WE. So that all you have left in the homebase is the indicators with the @ for the first letter/symbol.
6. Open NT Control Panel\Options\Import Ninja Script, and see what happens - it Works Again!!!!
By now you have figured out that the OFFENDING indicator is one of the non @ items, and it is hiding from you in New Folder1. So the obvious thing to do, using your own skillful logic and mastery of concentration is come up with a strategy of putting a few back at a time from New Folder1 to the Home base, and keep trying the import until you find the evil one, or two, or more. You ask why have more than one New Folder - cause you will need some dumping places for your testing strategy - for bad ones and good ones - in different folders of course.
As long as it took to say all of this - it is the "short" path to renewed functionality, not to mention identification of "bad" indicators.
The long way is to download the FREE Microsoft Visual C# 2010 Express, learn how to use it, learn how to code NT Indicator Scripts, and go about your business. I infer without seeing it, that the NT Script Editor is a knock off of that free program suite from Microsoft or one of its predecessors, or a variant of same. I trust that those more knowledgeable than I will comment on same if it is important.
Good luck - I Love Indicators more than ______...._______..........! Best Larry
(1) With the regular NinjaTrader version no problem: Just edit an indicator and compile. The error log below shows you all offensive indicators. Remove those from My Documents / NinjaTrader 7/ bin / Custom/ Indicator.
(2) With the stripped down version, if you cannot edit indicators, then it is more subtle. The log and trace file will not show an error message, if the import failed. Now Sherlock Holmes would think about how those corrupted files arrived in that directory. Maybe you had copied them there. In that case you should
- sort the indicator files in your directory by date, and you will find the candidates that may have caused the offensive behavior
- make it a habit to test all files which you download and copy into your indicator directories
(3) You can also download the free simulation edition of NinjaTrader, which allows you to edit all indicators. Use it to check that directory. Possible that you need to install on a separate machine, I do not know whether the two versions can be installed in parallel.