title: How do I code t get VWAP value of/ ON candle close(9.40AM -9.45AM) in pine script?
body: <p>After so much of going through TradingView documentation, I find I need to pass some argument like <code>vwap(X)</code> where X is nothing but HOW many bar back (from current time ) to 10.45. Any Guide or help would appreciated </p>
  
  <p>Update 1
  My code so far is </p>
  
  <pre><code>//@version=4
  study("testing",overlay = true)
  Time_CurrentTimeClose = time_close
  
  Time_closeCandleAt945 = 1581394500000
  
  DiffTime =(Time_CurrentTimeClose - Time_closeCandleAt945 )/60000
  //NoOfcandleBack = 1
  NoOfcandleBack=(DiffTime/5)
  label.new(bar_index, high, style=label.style_none,
            text=tostring(vwap[NoOfcandleBack]))
  </code></pre>