Function to make it easy to display text information on the chart.
Catatan Rilis:
fixed the issue of the labels being printed on the wrong order.
Catatan Rilis:
added barstate.islast as a conditional inside the function, this should improve page loading times, thx lucf, amol.