It's ridulous that I can't make some Indicator/other edits.
Below is what I do every day to try preventing this. I'm not going to ask what else I can do because there's nothing. I will ask though... Why are you not fixing your code 8 years later?
- Close NT8 after trading everyday
- run a script that executes the following...
del /f /q C:\Users\scott\AppData\Local\Temp\*.*
del /f /q "D:\Documents\NinjaTrader 8\cache\*.*"
rmdir /s /q "D:\Documents\NinjaTrader 8\db\cache"

Comment