You have two options; you can move the files to the current settings directory or you can remove the references to the missing files.
If you are able to locate the files mentioned in the references, move these files to:
Documents\NinjaTrader 7\bin\Custom
Then compile any script once more and check for any remaining errors.
If you want to remove the references:
- In Control Center menu bar go to Tools > Edit NinjaScript > Indicator
- In the indicator dialog select any indicator and click on the ‘Ok’ button.
This will open the NinjaScript editor for you :
- Right click in the code section of the NinjaScript editor.
- In the context menu click on ‘References’.
- In the Reference dialog, if a reference to the noted DLL files exists already then select the DLL’s which are giving errors one by one and click on the ‘Remove’ button.
After removing, add any missing references to files that are existing:
- In the Reference dialog, Click on the ‘Add’ button.
- Select all the missing DLL’s one by one and then click ‘Ok’. (located in the Documents\NinjaTrader 7\bin\Custom\ folder or in the NinjaTrader installation folder, typically C:\Program Files (x86)\NinjaTrader 7\bin64)
- For items that have 3 versions of the file (two of which will have x86 or x64 in the filename) select the 3rd version of the file that does not say
- Compile the indicator now by pressing F5.
- The issues should now be resolved and NinjaTrader should be again in properly compiled state
Please also see the section “How to add a reference” from our help guide
If you would like assistance, please send an email to platformsupport [at] ninjatrader [dot] com. In the email, please include a link to this forum thread and we can schedule a call to assist during our normal support hours.
Comment