Get volume data for particular time of the DAY

Hi I am newbie to AFL, have below query:

I need to fetch volume data of particular date and time, is it possible.

I tried using TimeFrameGetPrice( “V”, in1Minute, );

But this is very hard coded approach need some flexible approach.

Appreciate if some one can help me on this

what is your chart interval? 5min, 15min, daily etc?

I want it to be anything chosen by using Param

It’s still difficult to tell you an approach.

try searching the timenum() function. And ValueWhen as a starting point.
Obviously your smallest time interval given by the data makes a difference.

getv= ValueWhen(TimeNum()>=080000 AND TimeNum()<090000,V);