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."
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.
The following 2 users say Thank You to ghoti for this post:
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?
Please create a new thread, as this is an entirely different subject and off-topic for this thread. Then someone can help you.
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. 6) 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.
Workaround - No Tools/Edit Ninjascript w/error message
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.