I was getting an issue where NinjaTrader locks up when I try to add an indicator to a chart. This implied to me that somewhere, in some script, there is an error in SetDefaults, which was causing an unhandled exception, but I couldn't see one.
So I started removing scripts, hoping to track down the offending script.
Somehow when I run a compile now, I get this error:
"The name 'indicator' does not exist in the current context".
The error appears on scripts that I did not write. These scripts came from NinjaTrader, so it seems that something has been corrupted. Do you have any suggestions?

Comment