With the latest added features chart.left_visible_bar_time and chart.right_visible_bar_time it is now possible to
place label.new() positions at the equivalent of 'location.top' and 'location.bottom'
The following are examples of functions which enables to find the visible chart highest/lowest bars:
highest_visible_chart() =>
var float highs = na
...