I believe this all started when I ran into a naming conflict with an indicator and strategy. I was working on a strategy when then began work on an indicator using the same name. I was unaware this could cause a problem and when i compiled the code, a crash occurred requiring me to uninstall and reinstall Ninja Trader. There are basically two different messages I'm getting:
1, Unable to create instance of 'NinjaTrader.Indicator.ADL'. Most likely there is no default constructor defined, or the default constructor does not work correctly: Exception has been thrown by the target of an invocation.
2. Error on calling 'OnBarUpdate' method for indicator 'VolumeUpDownSeven' on bar 10: The type initializer for 'NinjaTrader.Indicator.Indicator' threw an exception.
I don't understand. After the rebuilds,it works fine (for awhile). Then it all falls apart again.
Any ideas what could be causing this?
thanks,
taddypole...
Comment