I'm currently running into two problems developing custom strategies & indicators:
- An indicator with a custom TypeConverter (for UI customizations) works as expected without error. However, once I use this indicator in a strategy and the strategy adds this indicator to the chart and I open the "Indictors" menu I receive: `Unhandled exception: Object reference not set to an instance of an object.` (And the properties panel remains empty for this indicator, but I should be seeing the colors for the added plots.)
I can confirm that this only happens with a custom TypeConverter for an indicator and only in the described scenario. Otherwise everything functions as expected. I further can confirm that this error is not tied to this specific indicator or its TypeConverter but in general to custom TypeConverters for indicators once these're added to the chart through a strategy. - When I check/uncheck (custom) properties of an indicator, and reload the script (rightclick on chart -> Reload NinjaScript), this checkbox does nothing anymore, i.e. the value during the reload gets "locked in" somehow, until I remove and re-add the indicator. I know I can "reload" the indicator by simply checking/unchecking and then applying or even if I recompile the code it's enough to toggle the visibility. My main concern about this is that the usability is error prone to non-developers. I have multiple clients which encountered this error (or similar ones) tied to said reload function.
Human#102
Comment