Calculating per bar Volume Point of Control (VPOC) on intraday chart

Hi,

I’m trying to work out how to calculate per bar VPOC (volume point of control) at an intraday timeframe, e.g. 30mins chart.

I would appreciate If anyone has code to share or could guide me on how to do this.

Regards,
Tony.

have a look in this thread:

2 Likes

@empottasch

I need to check all your previous posts…

Your contributions will keep me busy for quite a while! So much to learn! :clap:

1 Like

hehe, thanks beppe. That code is best used with 5 minute data or 15min data. 1 min data also works but getting slower.

as fxshrat pointed out in that thread: the smaller your timeframe, the more accurate the levels are calculated. But when working with tick or seconds data this code would be too slow. You then need to calculate the levels just once at the end of day and store them in persistent variables and calculate real time levels only for the last day. But I found that the levels are actually very accurate when you are either in the 1, 5 or 15min timeframe, the difference mostly just a few ticks. That is good enough for us mortals. We can never compete with the Royals at Wallstreet anyways

3 Likes

Same here,

I’m trying to work out how to calculate HHV of Volume Bar Of "Previous day" in an intraday timeframe, e.g. 5mins chart.

I would appreciate If anyone has code to share or could guide me on how to do this.

Regards,
Nick.