BR
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); }
Replies
brvlaizup_ieuolymn
15 Apr 2018, 19:28
RE:
Panagiotis Charalampous said:
Hi yearn2012,
You need to change the object name each time. See below an example
ChartObjects.DrawLine(index.ToString(), index - 1, 0, index - 1, 131, Colors.Red, 2, LineStyle.Solid);Best Regards,
Panagiotis
Thanks,Panagiotis !
@brvlaizup_ieuolymn
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