The code below finds the hand drawn horizontal lines, and the correct price...but it is not matching on the brush color!!! (black or cyan)
Anyone?
foreach (DrawingTool draw in DrawObjects.ToList())
{
if (draw.IsUserDrawn)
{
if (draw is DrawingTools.HorizontalLine)
{
Print ("Horizontal Line Found " + thisLine.StartAnchor.Price.ToString() + " ..... " + thisLine.Stroke.Brush.ToString() + " ..... " + Brushes.Cyan.ToString() + " ..... " + Brushes.Black.ToString());
if (thisLine.Stroke.Brush == Brushes.Black)

Comment