I am trying to place CENTERED text above price bars. There is no (documented) Text.CENTER flag available for drawTextRelative, and neither Text.RIGHT or Text.LEFT do what I want. Is there a trick I can use to center over the bar? If not, would the developers of version 7.2 consider adding a Text.CENTER flag to drawTextRelative? How can I submit a request for this?
I have also found that drawTextRelative seems to ignore the font parameter when I supply one. This is my code:
drawTextRelative(SellBar, SellPrice, "ð", Color.red, null, Text.ONTOP | Text.TOP, "Wingdings 3", 12, "FSell" + BarCntr );
ð in "Wingdings 3" is a fancy down arrow.
Am I doing this correctly?
Thanks for any help.
I have also found that drawTextRelative seems to ignore the font parameter when I supply one. This is my code:
drawTextRelative(SellBar, SellPrice, "ð", Color.red, null, Text.ONTOP | Text.TOP, "Wingdings 3", 12, "FSell" + BarCntr );
ð in "Wingdings 3" is a fancy down arrow.
Am I doing this correctly?
Thanks for any help.
Comment