Joe,
Thanks for the info. Looking ay the Quotes Plus web page it appears that they make some efforts to mimic IBD's system.  I am curious about your feedback on QP vs Worden's TelChart. Since you have used both your ideas and feed back would be valuable to me. I presently use TC2007 and Yahoo for my data feed.
 
Thanks for any info,
 
Don Lindberg
 
-------Original Message-------
 
Date: 9/7/2006 6:12:34 AM
Subject: Re: [amibroker] IBD Relative Strength
 

Don - Quotes Plus has a relative strength metric and here's how it's calculated; by ranking the issue against all of the other issues in the database, numbering some 8208 as of last night.   I think it was Randy that pointed out you won't get to the IBD ranking unless you compare an issue to all the others in your universe on in this case the IBD universe.  The formulas/TC2005 scripts given in my note and previous notes won't do it.   As an ex user of TC2000 I don't think that package develops any ranking either. 

I have a surrogate of IBD's RS in my QP database and it's an area that I've been interested in.  I've not been able to work up a profitable strategy from it.   IBD's RS may have worked in the past when time moved more slowly, OR in a rising trend, it will work like a charm to select out the top performers.  

Here's a definition, an attached plot for your comparison, and the AFL used to plot it in an indicator window with a QP3 database.  

Plot(Close,"Close",colorBlue,styleThick);

QRS = GetExtraData("QRS");

Plot(QRS,"RelStrength - QuotesPlus",colorOrange,styleLine|styleOwnScale);

Hope this helps

JOE

>>>>>>>>>>>>>>>>>.. QP Definition <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Relative Strength( DayNum )

Returns the relative strength for the selected date. The Quotes Plus Relative Strength is calculated by comparing the performance of each issue for the past 4 quarters to the performance of every other issue in the database over the same time. The most recent quarter is given twice the weight of the previous 3 quarters.

The relative strength value ranges from 0 to 99. A value of 99 means that the issue has performed better than 99% of the other issues in the database. DayNum must be <= 0.

----- Original Message -----
Sent: Thursday, September 07, 2006 12:34 AM
Subject: RE: [amibroker] IBD Relative Strength

 Fred,
Thanks for the code. It is awful close to the IBD charts in the paper, just a bit more choppier than IBD's version.  I am playing around with applying different moving averages to see if I can pull it closer to O'Niel's version. I'm getting closer. Thanks for your help.
 
Don
 
 
-------Original Message-------
 
Date: 9/6/2006 9:23:11 PM
Subject: RE: [amibroker] IBD Relative Strength
 

Dear Don,

I included an exponential moving average of the ROC to identify trend changes.  I agree with Randy’s post that being able to rank all stocks against each other in a 1-99 ranking system would be great.  My sense is that it can be done but I’m not familiar enough with AFL to do it.

 

Regards,

 

Fred

 

//IBD Weighted ROC

//Ideally would like to compare an ROC of a stock vs all other stocks and rank them 1-99.

 

Per           = Param("Per",63,5,250,1);

IBDroc = ((C-Ref(C,-63)/Ref(C,-63))*0.4 + (C-Ref(C,-126)/Ref(C,-126))*0.2 + (C-Ref(C,-189)/Ref(C,-189))*0.2 + (C-Ref(C,-252)/Ref(C,-252))*0.2)*100;

IBDrocMA      = EMA(IBDroc,Per);

Plot(IBDroc,"IBD Weighted ROC",colorBlue,styleLine);

Plot(IBDrocMA,"EMA of IBDroc",colorBlue,styleDashed);

 


From: [email protected] [mailto:[email protected]] On Behalf Of Randy Harmelink
Sent: Wednesday, September 06, 2006 6:03 PM
To: [email protected]
Subject: Re: [amibroker] IBD Relative Strength

 

On 9/6/06, Don Lindberg <[EMAIL PROTECTED]net> wrote:
> I am trying to create an indicator that will mimic the Relative
> Strength Line from the IBD newspaper charts. Using the default RS in
> AmiBroker does not give same graph.  I also use Worden's Tel-Chart,
> and I am able to get the indicator in TC to work correctly with the
> folowing formula:
> ((((C - C63) / C63) * .4) + (((C - C126) / C126) * .2) + (((C -
> C189) / C189) * .2) + (((C - C252) / C252) * .2))*100

I believe the calculation would be:

((((C - C63) / C63) * .4) + (((C63 - C126) / C126) * .2) + (((C126 - C189) / C189) * .2) + (((C189 - C252) / C252) * .2))*100

....but all that will give you is an weighted quarterly ROC with the most recent quarter double-weighted.

> Now my question is, can anyone adapt this indicator code for use in
> AmiBroker, so I can have an IBD Relative Strength Line in my AB charts
> as well?

The calculation above would only compute the weighted ROC for a single stock.  In order to create the IBD relative strength line, you now need to rank the weighted ROC of that stock against the weighted ROC of all other stocks, then group the rankings from 1 to 99.

 
 
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to