I am using DrawLine function in order to add lines to my chart. As the time passing and ticks changed(OnBarClose= false), i'm adding new lines and overwrite the older ones (by calling DrawLine with the same tag but different "X" values) with longer lines at the same y values. my problem is that when i have to update around 20 lines per bar it takes too long(like 7 minutes for update every second frame time chart, for the past 60 days).
Is there any better effective way to overwrite lines with the same values, but to longer ones?
Thank you!
Lior.
Comment