The API functions drawTextRelative() and removeText() are buggy in eSignal build 1086.
I did not test all the scenarios and combination of all flags, just a few which I used in my scripts. Generally speaking, when draw texts with drawTextRelative( ......., Text.RELATIVETOLEFT, ......),
if the function is called when getBarState() == BARSTATE_ALLBARS, the text is not displayed on charts, while in other cases such as the last bar is already on chart, then the texts do be shown on charts, but THEY CAN NOT BE REMOVED BY removeText() and clearText().
I think these bugs are introduced while eSignal was trying to fix the existing text flashing bug. But shouldn't some basic testing be done to make sure the code modification does not introduce more bugs especially the functions closely related to the code being modified?
BTW, the text flashing bug still appears in some scenarios.
- Clearpicks
I did not test all the scenarios and combination of all flags, just a few which I used in my scripts. Generally speaking, when draw texts with drawTextRelative( ......., Text.RELATIVETOLEFT, ......),
if the function is called when getBarState() == BARSTATE_ALLBARS, the text is not displayed on charts, while in other cases such as the last bar is already on chart, then the texts do be shown on charts, but THEY CAN NOT BE REMOVED BY removeText() and clearText().
I think these bugs are introduced while eSignal was trying to fix the existing text flashing bug. But shouldn't some basic testing be done to make sure the code modification does not introduce more bugs especially the functions closely related to the code being modified?
BTW, the text flashing bug still appears in some scenarios.
- Clearpicks
Comment