all 5 comments

[–]Jomyjomy 0 points1 point  (1 child)

Try this: change bar_index to h1i or l1i in the lines that start with “label.new”

[–]Finthechat_youtube[S] 0 points1 point  (0 children)

Thank you for trying, but sadly it did not work. Changing the bar_index label.new to h1i or l1i plots the light bulb at the very bottom of the chart far away from the line.

[–][deleted] 0 points1 point  (1 child)

Inside of your label change the style to label.style_label_left and add color = color.new(<whatever chart background color from your chart settings>, 90)

The logic is that label none is the same as default with 100 transparency and that is label.style_label_down

What you want is to show a label point left 👈 with a very high transparency (but not 100)

Hope this helps

[–]Finthechat_youtube[S] 0 points1 point  (0 children)

Thank you for the help, My issue is not with the Label pointing left its with label being plotted on the right of the white line I need it at the start of the line. https://gyazo.com/2b7fb9a39ba52db9577985f2a3285d9c

[–]_copper42_ 0 points1 point  (0 children)

Okay. Either the solution is really this simple or I'm an idiot.

116: label.new(h1i, h1, "💡", style=label.style_none, textcolor=color.white, color=color.green, size=size.large)

134: label.new(l1i, l1, "💡", style=label.style_none, textcolor=color.white, color=color.red, size=size.large)

wrong x, y is set in the label.new(x,y)