[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Cumulative Volume Indicator



PureBytes Links

Trading Reference Links

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





Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006 3:41 PM