NinjaScript > Editor > Compile Error Codes >


Print this Topic Previous pageReturn to chapter overviewNext page

The following CS0234 error code information is provided within the context of NinjaScript. The examples provided are only a subset of potential problems that this error code may reflect. In any case, the examples below provide a reference of coding flaw possibilities.


Error Code Explanation

This error can occur when an imported DLL (could be a 3rd party indicator) you are referencing no longer exists/has been removed.


To resolve this the DLL must be re-imported.


To re-import a 3rd party dll:

1.Open the NinjaScript Editor via Tools > Edit NinjaScript and selecting any indicator or strategy
2.Right mouse click in the NinjaScript Editor and select the menu name "References"
3.In the "References" dialog window press the button "Add"
4.Select the 3rd party DLL


Error Descriptions
The type or namespace name '<name>' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name '<name>' does not exist in the namespace 'NinjaTrader.Indicator' (are you missing an assembly reference?)