I get several error messages when I try to compile a new customer indicator. I removed all the customer indicators from the Indicator folder. I ran repair. But still get errors.
The namespace already contains…
Already defines a member called with the same parameter…
Ambiguity between indicators…
I’m not a coder so not authoritative and there are far more qualified people who can comment than I. However, given that Ninja has regrettably pretty much killed off this Forum you might struggle to reach any.
I believe this can be the result of two indicators using the same (named) methods in their scripts. So, each indicator using the same names will compile and run without issues stand-alone, but if/when you install both concurrently they don’t play nicely together.
Thank you for your reply. I removed all custom indicators from the folder. And did a reinstall. But NT would not allow me to install a new version. And I got the same error messages.
Maybe try to install an older version and see if it works.
Did you remove your own indicators with the Ninja script editor? If not, they are still there. Delete it from a folder is not the way to work, because when installing a new version, NT8 will compile all the indicators he can find. If he finds your own indicators he will block and generate the errors you have.
You probably have some sort of inconsistency in your code base. Uninstalling and reinstalling NT isn’t going to help as long as you keep your NT user profile folder the same (ie; Documents/Ninja Trader 8).
If you have nothing in NT that you need to save, uninstall NT from Add/Remove programs, then rename (don’t remove yet) Documents/Ninja Trader 8 folder to something else and start from scratch.
Otherwise, what you can do is, bring up NinjaScript Editor, run a compile and see which scripts are generating the errors. You can right click on those scripts and exclude them from compile or fix whatever issue exists that causes the errors.