while trying to translate for NT8
Add(new Plot(Color.Blue, PlotStyle.Line, "MyPlot"));
AddPlot(new NinjaTrader.Gui.Stroke(System.Windows.Media.Brushe s.Blue), PlotStyle.Line, "MyPlot");
like is done over there,
AreaBrush = System.Windows.Media.Brushes.DodgerBlue; ... areaBrushDx = areaBrush.ToDxBrush(RenderTarget);
SharpDX.Direct2D1.SolidColorBrush customDXBrush = new SharpDX.Direct2D1.SolidColorBrush(RenderTarget, SharpDX.Color.DodgerBlue);
so at this point I would expect the following code to be working and be more efficient
AddPlot(new NinjaTrader.Gui.Stroke(System.Windows.Media.Brushe s.Blue), PlotStyle.Line, "MyPlot");
Thank you

Comment