I am trying to create a cumulative volume indicator based upon certain times during the day. For example, I would like to know the premarket volume of spy from 8amEST to 092000 EST. This would be cumulative from 8 to 9:20 and then it would go to 0 and start over every day from 0 at 8AM EST. This is what I have so far:
Sumvol = Cum(V); begvol = TimeNum() == 093500; endvol = TimeNum() == 114500; cumvol = IIf(TimeNum() >= begvol AND TimeNum()<= endvol, Sumvol,0); When I plot this I get a blank window. Would anyone like to help me out? Thanks Eric
