I've tried a variety of code. This code, for example, gives me a compile error "use of unassigned local variable 'mytag'"
IText mytag;
if (Highs[1][0] >= 900) mytag = DrawText(tag, "up", 0, Highs[0][0], tagBlack);
if (Lows[1][0] <= -900) mytag = DrawText(tag, "dn", 0, Lows[0][0], tagBlack);
mytag.Font = new Font("Arial", 12);
Thanks

Comment