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.
Can you help answer these questions from other members on futures io?
Please follow the instructions below to see where the errors are coming from after compiling an indicator. This will allow you to debug the indicator/strategy or remove it from your PC that contains the error. If youre wondering why you receive an error …
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 …
maybe it brings you to a result
and please report here if this helped you !
thanks!
max-td
The following 3 users say Thank You to max-td for this 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.
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.
The following user says Thank You to vegasfoster for this post:
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.
The following user says Thank You to Fat Tails for this post:
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?
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
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
The following user says Thank You to max-td for this post:
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
The following user says Thank You to kandlekid for this post: