2. Is it possible to assign drawings to different data series? I wanna make it bc I trade MES on ES chart and my drawings don't save properly. When I launch NT8 next day all of them in the wrong place. The only thing that helps it's when I manually change data series (MES -> ES) in properties window. I tried like this:
foreach (var obj in chartWindow.ActiveChartControl.ChartObjects)
{
var draw = obj as DrawingTool;
if (draw != null)
{
if (draw.IsVisible && draw.IsUserDrawn)
{
draw.AttachedTo.Instrument.FullName = "ES 12-20";
break;
}
}

Comment