title: Pine Script: Plotting Shapes with variable offsets
body: <p>I am trying to mark various historical candles using the <code>plotshape()</code> function. <br/>
  It looks like this, <br/>
  <code>plotshape(plot_pivot, &quot;Pivot&quot;,  shape.triangledown, location=location.belowbar, size=size.tiny, color=color.blue, offset=pivot_offset)</code></p>
  <p>Problem is, <br/>
  <code>pivot_offset</code> keeps changing depending upon where the pivot has been found.<br />
  However, as soon as the <code>pivot_offset</code> changes, <em>ALL</em> the previously marked pivots shift places.<br />
  I have realized that the <code>offset</code> parameter of the <code>plotshape</code> function shifts the <em>entire series</em> every time it gets a new value.</p>
  <p>Question,<br />
  Is there a way to work around this problem?<br />
  I don't want all the previously marked pivots to shift, only the most recent one.</p>
  <p>I know I can use labels here, but they have a limitation of max 500 on a chart.<br />
  Hence, I don't want to use labels.<br />
  I also looked at <code>barcolor</code>, but it has the same offset problem.</p>