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 ----- 
From: "Don Lindberg" <[EMAIL PROTECTED]>
To: <[email protected]>
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:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>    (Yahoo! ID required)
>
>    mailto:[EMAIL PROTECTED]
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to