I am using the following code to try to place a text button 3 rows below the current bar:
drawTextRelative(0, BelowBar3, " Buy Limit", Color.white, Color.black, Text.BUTTON | Text.CENTER, "Arial", 12, "BU"+nID);
If the Text.BUTTON is changed to Text.PRESET, the text is drawn 3 rows beneath the current bar like it is supposed to.
But as a button it is being placed down near the $0 on the yValue. Thanks, I am not sure what I am doing wrong.
drawTextRelative(0, BelowBar3, " Buy Limit", Color.white, Color.black, Text.BUTTON | Text.CENTER, "Arial", 12, "BU"+nID);
If the Text.BUTTON is changed to Text.PRESET, the text is drawn 3 rows beneath the current bar like it is supposed to.
But as a button it is being placed down near the $0 on the yValue. Thanks, I am not sure what I am doing wrong.
Comment