We export the indicator from our build machine. (Files-Utilities-Export NinjaScript.) We would like to create our own installer since we want to include help files, etc. We are taking the .cs and .dll from the zip and adding them to our custom installer. Our installer is placing these files in the Documents\NinjaTrader 7\bin\Custom folder on the machine.
The problem we are having is that we need to include a reference to a Microsoft .NET library that is not available within NT. When we attempt to use the indicator in the test environment after installing the files as mentioned above, we are getting errors because of the missing reference. If we open up a new test script, right-click, and choose References, we can add the .NET library no problem. But it also seems like we need to reference our indicator this same way. Once we reference these two components, then everything is good.
So the questions are (1) is there a way to programmatically create the reference that is needed in our installer and set this up without making the users do this, and (2) why would a reference to our indicator be required? (3) Is there another way we should be doing this?
Thanks!
Michael

Comment