PureBytes Links
Trading Reference Links
|
<SPAN
class=333241615-10112003>Charles,
<SPAN
class=333241615-10112003>addtocomposite(1,"~compn","I")
<SPAN
class=333241615-10112003>
will
create the composite ~compn if you SCAN the watchlist. It will do as you desire
and increment a count in the "I" field. You then need to explore that ticker or
use it with an indicator to see the value. Alternatively you could simply
explore your watchlist with c>0 and look at the bottom of the exploration to
see the number of stocks that have met the criteria...
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: firstview2000
[mailto:firstview2000_1999@xxxxxxxxx]Sent: Monday, November 10, 2003
1:16 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Counting stock number of Watch list in AADear
Experts,I tried to count the stock number in a watch list in AA-explore
window using the following AFL.AddToComposite( 1, "~CompN", "I",
atcFlagResetValues | atcFlagEnableInExplore);Buy = 0;Filter =
1;AddColumn(OpenInt, "Count",1.0);But the Count field always
displays 0.Can you tell me what's wrong with it
???Thanks,CharlesSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|