PureBytes Links
Trading Reference Links
|
Hi Dimitris,
Thanks for putting this together.
Should I be only concerned with the process and not the
results?
Because I got a completely different result list using freshly
downloaded End of Day Nasdaq100 data from Yahoo. (see attached, with my
results on the left and yours on the right).
thanks
-john
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Dimitris
Tsokakis
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Monday, September 08, 2003 2:59
AM
Subject: [amibroker] One-step top10
exploration
In AA window paste the
// top10 explorationfunction select( listnum
){ list = GetCategorySymbols( categoryGroup, listnum
); Rank = 0; for( i = 0; ( sym = StrExtract( list, i ) ) !=
""; i++ ) { C1 = Foreign( sym, "C" );
f=LastValue(RSIa(C1,14)); Rank[BarCount-1-i] =
f[i]; } return Rank ; }No=254;// replace 254 with
your Group NoR=
Select(No);H0=Select(No);L1=LastValue(Cum(1));N=101;// the population
of the databaseTOP=10;// the topX
calibrationfor(K=1;K<=TOP;K++){H1=LastValue(HHV(H0,n));BAR1=LastValue((ValueWhen(H0==H1,Cum(1)-1)));H0[BAR1]=-10;}Filter=H0==-10;AddColumn(L1-Cum(1),"ORD",1.0);AddColumn(R,"RSI");
Explore now current stock [any stock, the result will be the
same...] for all quotations.The result list will give you the ordinal No
of the top10 stocks and their LastValue(RSI()).
This is an one-step procedure, thanks to
GetCategorySymbols() function.
Dimitris TsokakisSend
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.
Attachment:
top10.GIF
Attachment:
Description: "Description: GIF image"
|