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

Re: [amibroker] exploring for stats



PureBytes Links

Trading Reference Links

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/