For most instruments it works fine. However for a few the character ends up way below or above the bar. Here's a sample function call that places an "B" above the bar:
y = High[barsAgo]+1;
// Tried this but doesn't work any better:
y = High[barsAgo]+TickCount*100;
DrawText("bar1", "B", barsAgo, y, color);
Is there a way to better control the placement of the characters? A better way to calculate the "y" value? By pixel maybe? The character needs to be predictably close to the bar.
Thanks in advance
-Dean
Comment