I am having difficulty displaying text in a specific location. I am using drawTextRelative and everything is correct except the location along the y-axis.
Please refer to the attached chart and to my efs code. I am using a 12 tick range bar chart on 6C. I am displaying lines at the location to indicate where a new bar would be formed. These lines are correct. I am trying to display the price value of that line. The price is also correct. I'd like the location to be just below the upper line.
Also, the price for the lower line should be 9638 and it is not shown anywhere on the chart. I'd like that to be just above the lower line.
EFS code:
drawTextRelative(+2, (low(0) + .0009), (low(0) + .0013), Color.black, null, Text.PRESET | Text.BOLD | Text.ONTOP, "Arial", 15, 200);
drawTextRelative(+2, (high(0) - .0009), (high(0) - .0013), Color.black, null, Text.PRESET | Text.BOLD | Text.ONTOP, "Arial", 15, 201);
Thanks for the help.
Please refer to the attached chart and to my efs code. I am using a 12 tick range bar chart on 6C. I am displaying lines at the location to indicate where a new bar would be formed. These lines are correct. I am trying to display the price value of that line. The price is also correct. I'd like the location to be just below the upper line.
Also, the price for the lower line should be 9638 and it is not shown anywhere on the chart. I'd like that to be just above the lower line.
EFS code:
drawTextRelative(+2, (low(0) + .0009), (low(0) + .0013), Color.black, null, Text.PRESET | Text.BOLD | Text.ONTOP, "Arial", 15, 200);
drawTextRelative(+2, (high(0) - .0009), (high(0) - .0013), Color.black, null, Text.PRESET | Text.BOLD | Text.ONTOP, "Arial", 15, 201);
Thanks for the help.
Comment