protected override void OnBarUpdate()
{
foreach (IDrawObject draw in DrawObjects)
{
if (draw.Tag.Contains("Rect") && draw.DrawType is IRectangle)
{
IRectangle Extend = (IRectangle) draw;
Extend.EndBarsAgo = BarsInProgress - 10;
}
}
}
would this not work? Any ideas?
Comment