I've been using 6.5 DrawText for a while and just recently noticed that the documentation both local and online is as follows:
DrawText(string tag, string text, int barsAgo, double y, Color color)
DrawText(string tag, bool autoScale, string text, int barsAgo, double y, int yPixelOffset, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color backColor, int opacity)
Notice in the complex invocaton syntax the presence of int yPixelOffset
I have written numerous indicators using the complex DrawText invocation minus the yPixelOffset value. To this day they work just fine.
But if I try to use this argument, the compiler errors and complains about too many arguments.
So is this a documentation error or am I mucking something up?
-T
Comment