title: Last traded Price - "Last Price Line" as a fixed variable
body: <p>In Tradingview, I want to get the last traded price of a stock in Pine Script as a fixed Variable. In Built &quot;close&quot; would not suffice as this changes for each bar. As an example in the tradingview charts we have &quot;Last Price Line&quot; which is a constant line of the last traded price as shown in the Image</p>
  <p><a href="https://www.tradingview.com/x/5KVDU8h7/" rel="nofollow noreferrer">https://www.tradingview.com/x/5KVDU8h7/</a></p>