The Drawline works is argument
09 Apr 2018, 10:34
The DrawLine function only draws the last value,the old line being Drawed is lost.
public override void Calculate(int index)
{
CulBarInfo(index, MarketSeries, BarInfos);
//Print(BarInfos.Count);
ChartObjects.DrawLine("kk", index - 1, 0, index - 1, 131, Colors.Red, 2, LineStyle.Solid);
ChartObjects.DrawText("ddf", index.ToString(), StaticPosition.BottomCenter);
}


PanagiotisCharalampous
10 Apr 2018, 11:05
Hi yearn2012,
You need to change the object name each time. See below an example
Best Regards,
Panagiotis
@PanagiotisCharalampous