protected override void Initialize()
{
CalculateOnBarClose = true;
Overlay = true;
DateTime Now = System.DateTime.Now;
SpanThreshold = SpanThreshold.AddMilliseconds(-100000);
UpTriangleTime=UpTriangleTime.AddMilliseconds(-100009);
DownTriangleTime=DownTriangleTime.AddMilliseconds( 7);
lastdowncarattime=lastdowncarattime.AddMillisecond s(5);
lastupcarattime=lastupcarattime.AddMilliseconds(-100009);
pricebelowbluetime=pricebelowbluetime.AddMilliseco nds(-100009);
priceabovebluetime=priceabovebluetime.AddMilliseco nds(5);
lastupdottime=lastupcarattime.AddMilliseconds(-100009);
lastdowndottime=lastdowncarattime.AddMilliseconds( 777);
yelbelowbluetime=yelbelowbluetime.AddMilliseconds(-100009);
yelabovebluetime=yelabovebluetime.AddMilliseconds( 1);
}
but the indicator repaints on every bar, is there code in the wrong place?
Comment