PureBytes Links
Trading Reference Links
|
Its only 3.5 gig - disk is very cheap - haven't you heard? I've got every
msg since 1/1/2003
d
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Ken Close
Sent: Wednesday, August 16, 2006 12:03 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Put Ranking Position in Title
d: thanks. I save "some" emails, not all. What you think is important at
one time does not match what you (I) think is important later, and by then
it has been deleted. oh, well. Your outlook file must be humongous.
Ken
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of dingo
Sent: Wednesday, August 16, 2006 11:39 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Put Ranking Position in Title
My Outlook collection of emails is what I find most effective. I thought you
had a similar collection.
Here's one by Herman:
// Explore
Buy=Sell=Short=Cover=0;
Filter = 1;
AddColumn(C,"C",1.2);
global Top5TickerList, Tickercount ;
function GetScore( Ticker, Barnum )
{
return C; // substitute your own scoring formula.
}
function getPositionScores( WatchList, BarNum, NumTickers )
{
TickerList= GetCategorySymbols( categoryWatchlist, WatchList);
CurrentTicker = Name();
TickerScoreList = "";
global Top5Index, Top5Scores;
for( n=0; (Ticker=StrExtract( TickerList, n)) != ""; n++)
{
SetForeign(Ticker);
TickerScores[n] = LastValue(ValueWhen(BarIndex() == BarNum,
GetScore( Ticker, BarNum )));
TickerIndex[n] = n;
_TRACE(Ticker + ":" + NumToStr(TickerScores[n], 3.2));
}
TickerCount= n;
for(i = n; i>=0; i--)
{
for (j = 1; j <= i; j++)
{
if (TickerScores[j-1] > TickerScores[j])
{
temp = TickerScores[j-1]; TickerScores[j-1] =
TickerScores[j]; TickerScores[j] = temp;
temp = TickerIndex[j-1]; TickerIndex[j-1] = TickerIndex[j];
TickerIndex[j] = temp;
}
}
}
Top5TickerList = "";
i=0;
for(m=TickerCount; m>TickerCount-NumTickers; m--)
{
Top5Index[(BarCount--)-6] = TickerIndex[m];
T5[i++] = TickerIndex[m];
Top5TickerList = Top5TickerList +
StrExtract(Tickerlist,T5[i-1])+",";
}
SetForeign( "QQQ" );
return T5 ;
}
_TRACE("# DBGVIEWCLEAR");
_TRACE("# BarCount" + NumToStr( BarCount-1, 1.0));
getPositionScores( 0, BarCount-1, 5 );
Title = Top5TickerList+" " + NumToStr(TickerCount,1.0);
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Ken Close
Sent: Wednesday, August 16, 2006 11:28 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Put Ranking Position in Title
d
I have several times, several ways. The single thing I seem to find (at
least in the library) is a single formula what uses Relative Strength and
Guppy like averages along with PositionScore to develop a "Ranking". It is
this I have experimented with to try variations on the approach but have not
gotten anything I either think is useful or can understand. That is why I
was hoping for some direct dialog or some specific other message sources.
I guess I am looking for a direct listing from 1 to n, where n is the total
number of issues in the watchlist being analyzed, and the numbers are rank
positions of some indicator or formula. I think I mentioned in my message
that when I tried xxx = PositionScore with PositionScore = some variable, I
got the same value in two different columns, rather than integers from 1 to
n in the positionscore column.
You have searched quite effectively for others in the past. Is it the
purebytes site that works for you or .....???????
Ken
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of dingo
Sent: Wednesday, August 16, 2006 11:17 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Put Ranking Position in Title
search on sector ranking in the AFL library on Amibroker as well as email
msgs.
d
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Ken Close
Sent: Wednesday, August 16, 2006 11:14 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Put Ranking Position in Title
So, no responses on this (oringal question below) and I am issuing another
request for comments and suggestions.
Is the Osaka plugin (big gulp) the only way to do rankings within native AB?
or is there another way?? Pointers to past messages (if you have them) or
suggestions would be most appreciated.
Thanks,
Ken
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Ken Close
Sent: Sunday, August 13, 2006 10:48 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Put Ranking Position in Title
All: I have been experimenting with using PositionScore[x] to try and
capture a ranking number that could be put in a Title statement.
Dan Clark shared some gifs of some plots of various Industry averages and
the Title statement showed the Industry name and its rank. I thought this
was very useful and wanted to see if I could come up with something similar.
I can not get off of first base (maybe better is striking out at the plate).
PositionScore is used on the left side of the equal sign, although there is
an example ranking code in the Library which uses PositionScore[z] on both
the left and right side of the = sign. I tried variations on this approach
and did not get anything that looked like a ranking (position) code.
I put in a ranking equation, say, PositionScore = ROC(12);
I then tried a AddColumn for PositionScore[Barcount-1] as well as another
AddColumn for ROC(12), and did an explore on a WL. Both columns displayed
the same values of the ROC, while I expected the PositionScore[z] column to
have integers from 1 to the number of items in the watchlist.
Is what I am describing possible? and if yes, what approach will work?
Any comments or pointers to past messages from anyone?
Thanks,
Ken
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 8/15/2006
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.10/419 - Release Date: 8/15/2006
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.0/420 - Release Date: 8/16/2006
|