- Simple user controls contained in an external dll. Added to NinjaTrader folder and added as a reference. All was working months ago.
- Controls are hosted in an indicator similar to DrawingToolTile. DrawingToolTile was used as the template for creating a similar UI to host the user controls.
- Disabling creating the user control makes the problem go away. Simply calling "new MyUserControl" is enough to cause OnBarUpdate to no longer be called. It doesn't need to be added to anything.
- The DLL was still using .net 4.5.2 but with NinjaTrader updating to 4.8, the DLLs have been updated to no effect.
- Created a stripped out UserControl that features just a TextBlock with no logic at all in the code and very simple Xaml.
Additionally
- Other controls are created and put into the floating control. All of these are built in WPF controls like Grid, and Label. Their presence does not impact OnBarUpdate.
- The logs and trace have are identical whether the control is created or not.

Comment