i want to code indicator in my tradingview pine editor, for that, I need the current price of a stock or any other scrip to my coding keyword to do operations and generate new output on chart,
Advertisement
Answer
Try this
src = input(close, title="Source") price = security(syminfo.tickerid, timeframe.period, src) plot(price)
Here ticker id I used to display the current price on the chart
reference intradaygeeks contact if need more help twitter