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

Re: [amibroker] Re: PositionScore Ideas



PureBytes Links

Trading Reference Links


Hi Phsst,
 
Thanks for that suggestion, as I'd never stumbled across it before.  QP has a great explaination in help which I've posted below in addition to my translation into AFL which just offers the raw relstr numbers which is good enough.  If anyone wants to beautify the code with the ranking from 0 to 99, by all means tear it up.
 
Value-added as always Phsst : ).  Kind Regards, Gary
 

QRSRAW = ( (C / Ref(C,-62)) * 0.4 ) + ( (Ref(C,-63) / Ref(C,-125)) * 0.2 ) + ( (Ref(C,-126) / Ref(C,-188)) * 0.2 ) + ( (Ref(C,-189) / Ref(C,-<FONT face="Times New Roman"
 color=#ff00ff>251)) * 0.2 );
 

Quotes Plus Relative Strength Indicator
The Quotes Plus Relative Strength indicator is calculated for each issue each day, and becomes part of the data you download to your PC. The indicator ranks each issue in the database against every other issue in the database, based on its performance for the last 12 months.
Every issue is ranked from 0 to 99 so that its rank is equal to the percentage of issues that it has outperformed over the previous 12 month period. A rating of 92, for example, means that the issue has outperformed 92% of all of the issues in the database.
The formula is :
( Current Close / Close from 62 trading days ago ) * .4
+ ( Close from 63 trading days ago / Close from 125 trading days ago ) * .2
+ ( Close from 126 trading days ago / Close from 188 trading days ago ) * .2
+ ( Close from 189 trading days ago / Close from 251 trading days ago ) * .2
This value is sorted for all of the issues, and the top 1% of issues get a value of 99. The other issues are ranked similarly, down to the bottom 1%, which get a value of 0. 
 
 
Phsst <phsst@xxxxxxxxx> wrote:
QRS is updated daily and goes as far back as 6/1/1995 in the QP2 database.Just a suggestion... set aside whatever preconcieved notions you mayhave about this and take the time to research it and do a little duediligence. You might be glad you did. --- In amibroker@xxxxxxxxxxxxxxx, "Al Venosa" <advenosa@xxxx> wrote:> Thanks, Phsst. I'm a QP2 user also. But all those QP2 GetExtraDatavariables are not updated daily, so I don't think they would be usefulfor a short-term trading system like I was talking about. UsingPositionScore over a modest time period, you'd get the same 4 stocksall the time, wouldn't you, or at least until they get updated.Perhaps QRS gets updated weekly, so maybe that wouldn't be as bad, butI think I'd like something that is more reflective of the trade systemduration, in other words, something that
 I can update daily at EOD. > > >   ----- Original Message ----- >   From: Phsst >   To: amibroker@xxxxxxxxxxxxxxx >   Sent: Saturday, December 13, 2003 12:26 PM>   Subject: [amibroker] Re: PositionScore Ideas> > >   Al,> >   My favorite is the QP2 QRS value (GetExtraData("QRS"). The QP2 QRS>   value is supposed to be a 'knockoff' of the IBD RS ranking score.> >   I almost always get a significant boost using this ranking figure as>   as the positionscore.> >   If you do not have QP2, but have any ideas about how to do your own RS>   Rank calculation, I'd be happy to run some comparisons for you (or>   anyone else) to measure your calculated RS Rank against QP2's QRSrank.> >  
 Cheers,> >   Phsst>   --- In amibroker@xxxxxxxxxxxxxxx, "Al Venosa" <advenosa@xxxx> wrote:>   > Hi, all:>   > >   > I've been experimenting with variuos short term trading systems>   lately (average trade durations of about 2.5 days), and I was looking>   for ideas on how best to rank a watchlist to get the best candidates>   for portfolio trading a basket of 4 stocks. I was wondering if anyone>   would care to share any ideas on how you use the PositionScore>   function to rank your candidate list (using regular mode, not>   rotational mode). I've tried combinations of turnover and volatility,>   but I'd like to try other ideas. I'm not asking anyone to give away>   any secrets, and, yes, I am aware of TJ's example in the help
 file>   (PositionScore = 100 -RSI());), but I was just looking for more ideas.>   I'm not even sure if this question is too vague or not. If it is, I'm>   sure you'll tell me. TIA.>   > >   > Al Venosa>   > advenosa@xxxx>   > >   > >   > --->   > Outgoing mail is certified Virus Free.>   > Checked by AVG anti-virus system (http://www.grisoft.com).>   > Version: 6.0.543 / Virus Database: 337 - Release Date: 11/21/2003> > >         Yahoo! Groups Sponsor >        >        > > >   Send BUG REPORTS to bugs@xxxx>   Send SUGGESTIONS
 to suggest@xxxx>   ----------------------------------------->   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. > > >   --->   Outgoing mail is certified Virus Free.>   Checked by AVG anti-virus system (http://www.grisoft.com).>   Version: 6.0.543 / Virus Database: 337 - Release Date: 11/21/2003



Yahoo! Groups Sponsor





ADVERTISEMENT

Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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. 
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing






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.