|
Joe,
I tried plotting both clips, and neither of them come out looking like the IBD Relative Strength line, or the TC2007 indicator. Both IBD and TC have a much closer relationship to price in their rise and fall. It maybe a difference in the way the programs plot. I will keep trying to figure something out.
Thanks anyway,
Don
-------Original Message-------
Date: 9/6/2006 6:18:31 PM
Subject: Re: [amibroker] IBD Relative Strength
Don here are two clips on what I think will be close to what you want. Not
exactly but something to go on if you really want
to replicate the TC2000 script
I first learned of this equation from a white paper by Columbine Capital
Research where I believe they referred to this as a measure of momentum.
I don't think I hit on anything fresh since this equation has been around a
while.
As an aside, I don't think Columbine would plagiarize IBD's work.
Hope this helps
JOE
Clip 1 Note the days back is not exactly what you had in your note.
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,-251)) *
0.2 );
Clip 2 - Note that I added a small number (.001) in the divisor to keep
from dividing by zero. I think TJ's Nz( ) function would do the same but I
wasn't aware
of the function at the time.
// This brings in the Columbine momentum work - coefficients of equation has
been tuned
// (let's say curve fitted to small and mid cap environments )
AX = .05; // 62 day weight
BX = .02; // 125 day weight
CX = .02; // 188 day weight
DX = .01; // 251 day weight
RSQP = RSCalc = (AX*Close/(.001+Ref(C,-62))+
BX*Ref(C,-63)/(.001+Ref(C,-125))+ CX *Ref(C,-126)/(.001+Ref(C,-188)) + DX *
Ref(C,-189)/(.001+Ref(C,-251)))*100;
----- Original Message -----
Sent: Wednesday, September 06, 2006 6:55 PM
Subject: [amibroker] IBD Relative Strength
>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
>
> Now I am not a programmer, so I am not sure if the C above stands for
> Close or not. But I get the graph I want when I apply this formula, so
> that is good enough for me.
>
> 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?
>
> Any help would be appreciated.
>
>
>
>
>
>
> 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:
>
>
> Yahoo! Groups Links
>
>
>
> (Yahoo! ID required)
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
--------------------------------------------------------------------~->
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:
Yahoo! Groups Links
<*> To visit your group on the web, go to:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
|