top of page
Writer's picture

Day high volume pine code for TradingView

Paste the below code in pine editor and save it, apply on chart and you will get a arrow highlighting the day high volume on an Intraday chart, you can hide this on a daily timeframe chart.



//@version=4

study(title="Highest Volume of the Day Signal", shorttitle="HVOD", overlay=true)


// Calculate the highest volume of the day

var float highestVolume = na

var bool isHighestVolume = na


if (change(time("D")))

highestVolume := volume

else if (volume > highestVolume)

highestVolume := volume


isHighestVolume := volume == highestVolume


// Plot a signal on the chart

plotshape(series=isHighestVolume, title="Highest Volume", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)

14 views0 comments

Recent Posts

See All

F&O Scans - Mean reverting and trend following

FNO scans – 1)      Mean reverting intraday- Turtle scan for mean reverting trades at 20 day high/ low https://chartink.com/screener/turt...

Comments


bottom of page