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

Comments


bottom of page