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

[amibroker] Re: Summing values at each bar for the past 200 days



PureBytes Links

Trading Reference Links

duh !

I was going down the path of datenum and cum and valuewhen.  Didn't 
even pause to see the forest.

Thanks Fred.

HB

--- In amibroker@xxxxxxxxxxxxxxx, "Fred" <fctonetti@xxxx> wrote:
> SumCV200 = Sum(C * V, 200);
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "hmab1" <hossamb@xxxx> wrote:
> > 
> > Hello,
> > 
> > At each bar, I would like to sum the value of the close*volume 
for 
> > the past 200 days.  I.e. let's say you have 600 bars of date. At 
> bar 
> > 300, I would like to determine the sum of the close*volume for 
bars 
> > 200 thru 300.
> > 
> > Is this possible in AFL ?
> > 
> > Thanks,
> > HB


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/