IDrawObject drawing_object = DrawObjects[lineTag];
if (drawing_object !=null && drawing_object.DrawType == DrawType.Line) {
....
}
If the line is drawn on the chart on which the Strategy is running, everything is fine. However I am tying to lookup a line drawn on another time frame chart of same instrument using global tags (starting with @) and can't seem to locate the line.
Also, lines with Global tags don't seem to show up on my other charts of same instrument either.
Is looking up global lines from another chart of same instrument expected to work?
Comment