PureBytes Links
Trading Reference Links
|
Sorry Yuki, I misunderstood when you said "either side" you meant buy or
sell, not either side of the signal
Try just rpelacing the ref(V,) with V to get the volume on the day of the
signal
AverageVol = cum( buy * V) / cum(Buy);
Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia
-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx]
Sent: Monday, 29 December 2003 10:26 AM
To: Graham
Subject: Re: [amibroker] exploring for stats
Hi Graham,
Monday, December 29, 2003, 9:58:14 AM, you wrote:
G> Maybe try this as a simple answer
G> DayBefore = cum( buy * ref(V,-1) ) / cum(Buy);
G> DayAfter = cum( buy * ref(V,1) ) / cum(Buy);
G> With any luck this would work
Simple? ^^_^^ Okay, Yuki does not understand. I don't think (I might be
wrong) I'm interested in the day before or the day after. I want the
average volume for all the days when there were buys.
Based on your hints, I tried:
AddColumn(Cum(Buy * V) / Cum(Buy), "buys", format = 1.2);
This doesn't seem to be picking up all the longs with the simple filter =
buy statement.
Yuki
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
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
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
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|