In tick replay mode I am experiencing odd behavior from drawTextRelative(). After it draws the statements below it starts shifting it to the left on the chart. One bar at a time. This doesn't seem to happen in real time. And most of the time it doesn't happen in playback. I even rebooted the machine. Has anyone else run across this special feature? I'd like to know how to turn it off.
Thanks.
Thanks.
PHP Code:
function drawFill(pPrice, pClr)
{
drawTextRelative(0, pPrice, "ยข", pClr, null, Text.VCENTER | Text.RIGHT | Text.ONTOP,
"Wingdings 3", _TXTSZ, ++iTg);
drawTextRelative(0, txtHt*2.6, "[", pClr, null, Text.CENTER | Text.RELATIVETOBOTTOM,
"Wingdings", _TXTSZ, ++iTg);
drawTextRelative(0, txtHt*1.75,
(currentPosition == _LONG ? "LONG" : currentPosition == _SHORT ? "SHORT" : "FLAT"),
(currentPosition == _LONG ? _CLRBULL : currentPosition == _SHORT ? _CLRBEAR : _CLRNEUT),
null, Text.CENTER | Text.RELATIVETOBOTTOM | Text.ONTOP, "Tahoma", _TXTSZ-2, ++iTg);
drawTextRelative(0, txtHt*0.05, pPrice, pClr, null,
Text.CENTER | Text.RELATIVETOBOTTOM, "Tahoma", _TXTSZ-2, ++iTg);
return;
}
Comment