I'm trying to create a new study in tradingview using Pine Script.
isCurrentMonth = month(timenow) == month(time)
plot(isCurrentMonth ? close : na)
This piece of code could help me display for current month, but I want to display only for current day.
Thanks for any help!