I could finish another indicator today that is plotting lines at highs, lows... and with text at theses lines and rectangles to show sessions. But when I attach the indicator Ninja stucks. In UtyMonitor I see high numbers for Text, Line and Rectangle.
I add dataseries 1 day on a chart with only 30 days loaded and in the code I have
if(CurrentBars[1]<1) // BIP== day
return;
if(CurrentBars[1]>1)
{
Draw.Line(this, "high2", false, 100, Highs[1][1], -100, Highs[1][1], Brushes.Green, DashStyleHelper.Dot, 2);
Draw.Text(this, "high2text", false, "G_H/T2", -1, Highs[1][1]+2*TickSize, 0, Brushes.Green, smallFont, TextAlignment.Left, null, null,1);
...
...
There are 8 lines and text with this logic and for the 30 days rectangles for rth (= 30 rectangles) and 30 x 3 = 90 lines, but no text for these lines and rectangles.
Why does this need so much PC-ressources?
Thank you!
Tony
Comment