title: Drawing Lines and Tags - limited datapoints
body: <p>Consider this simple Pine Script</p>
  
  <pre><code>//@version=4
  study("My Script", overlay=true)
  line.new(x1=bar_index[1], y1=low[1], x2=bar_index, y2=high)
  label.new(bar_index, high)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/QAQHa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QAQHa.png" alt="enter image description here"></a></p>
  
  <p>It seems that the number of bars taken into consideration is about 50.<br>
  Is there a way to make this work for all the bars?  </p>