title: Standard Deviation only using daily values to show on every time chart in Pine Script
body: <p>I am trying to make a Standard Deviation overlay using only the daily inputs, and have it overlay that info on any time frame chart.  So, even if I look at an hourly chart, I will still see the daily deviations overlayed on the chart.  I made one that changes with whatever time frame I am looking at.  I started with another public one to make this:</p>
  
  <pre><code>study(title="Standard Deviation",shorttitle="SD",overlay=true)
  length = input(20, minval=1)
  src = input(open, title="Source")
  sd = stdev(src, length)
  piv=open
  
  plotOpen = plot(piv,title="Open",color=black,trackprice=true,linewidth=2)
  plotR05 = plot(piv+(0.5*sd),title="+0.5", color=red,trackprice=true,linewidth=2)
  plotS05 = plot(piv-(0.5*sd),title="-0.5", color=red,trackprice=true,linewidth=2)
  plotR10 = plot(piv+sd,title="1", color=blue,trackprice=true,linewidth=2)
  plotS10 = plot(piv-sd,title="-1", color=blue,trackprice=true,linewidth=2)
  plotR15 = plot(piv+(1.5*sd),title="+1.5", color=green,trackprice=true,linewidth=2)
  plotS15 = plot(piv-(1.5*sd),title="-1.5", color=green,trackprice=true,linewidth=2)
  plotR20 = plot(piv+(2*sd),title="+2", color=orange,trackprice=true,linewidth=2)
  plotS20 = plot(piv-(2*sd),title="-2", color=orange,trackprice=true,linewidth=2)
  </code></pre>