| 
 PureBytes Links 
Trading Reference Links 
 | 
Yuki, 
Calculate Buy and Short counts individually first, like you're doing 
now. You can add it to the same composite's O and C fields. Then run 
another scan on that newly created composite (by selecting as Current 
Stock), check its O and C values, and if both are > 0, then add the 
total count (or true) to yet another composite. That composite should 
then have what you need...
Jitu
--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> Hi Chuck,
> 
> One more question on this if you don't mind:
> 
> I can make a composite for total signals per day, and I can also 
make
> a composite for just buys and another for just shorts.  But I would
> also like to make a composite for days ONLY when there are both buys
> AND shorts (days when signals in both directions are given, on
> different issues of course).  But I can't seem to figure out how to
> do this. 'Buy AND Short' returns zero, because it is processing
> ticker by ticker I guess, and that simply does not happen.  So how 
do
> I arrive and a count and statistics for those days when I get 
signals
> in both directions (excluding all days when the signals are either
> all long or all short)?
> 
> 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 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/ 
 
 |