title: How to get value at a point of line extended - TradingView Pine script
body: <p>Im using the code below to draw a line:</p>
  <pre><code>//@version=4
  
  simplesma = sma(close, 14)
  
  var line3 = line.new(bar_index[0], high[0], bar_index, low, extend = extend.right)
  line.set_xy1(line3, bar_index[5], simplesma[5])
  line.set_xy2(line3, bar_index[3], simplesma[3])
  </code></pre>
  <p>That line has been drawn using 2 points in the history.</p>
  <p>And then I use this code to draw a plot</p>
  <pre><code>price_point = line.get_price(line3,bar_index)
  plot(price_point, title='Price', color=#ffcc00, transp=30)
  </code></pre>
  <p>Im trying to display the value on a label but the following code does not work:</p>
  <pre><code>var label3 = label.new(bar_index, high, text = &quot;Value: &quot;+ tostring(price_point, &quot;#.########&quot;), style = label.style_label_lower_left, color=#ffcc00, textcolor=#ff0000)
  label.set_xy(label3,bar_index, price_point)
  
  </code></pre>
  <p>Can you please help me to show it on label ?</p>