I've heard rumors that the following is one way to clean compiled code. Please advise if you support this approach or recommend a more appropriate alternative.
- Navigate to the Documents\NinjaTrader 8 folder.
- Delete the cache folder and any other temporary files that may be there (like log, trace, etc.). This will not delete your strategies or indicators but will remove any cached data that might be causing issues.
- Navigate to Documents\NinjaTrader 8\bin\Custom.
- Locate the NinjaTrader.Custom.dll file.
- Delete this file. This is the compiled assembly for all custom NinjaScript files.
- Open NinjaTrader again. When it starts, it will detect the absence of the compiled assembly and will recompile all the NinjaScript files.
- Go back to the NinjaScript Editor.
- Open any script and compile it again by clicking the Compile button or pressing F5.

Comment