Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

CANSLIM - help with this formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
yweissberg
Posted : Wednesday, June 28, 2006 11:25:32 AM

Registered User
Joined: 12/20/2005
Posts: 35
Hey guys I found a site with a huge amount of PCF'S, and many for CANSLIM.

at (external link removed by moderator)

I just want some helps understanding the reasoning behind these PCF's and some general scripting q's:


((AVGC89 - AVGC89.27) > 0)


so the 89 day moving average minus the 89.27 moving average? What happens if you had decimal points after C(close), does it work on intraday?

PerCent Volume

((V - AVGV63) / (AVGV63 + .001)) * 100

This is more in realtion to script - what is the relevance of adding .001 to the average volume 63 days ago?

Relative Strength Value


(((C / (.001 + C62)) * .04) + ((C63 / (.001 + C125)) * .02) + ((C126 / (.001 + C188)) * .02) + ((C189 / (.001 + C251)) *.02)) * 100


Basically same question as to the pcf above.
Craig_S
Posted : Wednesday, June 28, 2006 11:33:37 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
((AVGC89 - AVGC89.27) > 0)

This will only find stocks where the 89-day simple is higher today than it was 27 days ago

((V - AVGV63) / (AVGV63 + .001)) * 100

This prevents a divide by zero error if there is no volume for the past 63 days. It is not required as stocks with no volume for 63 days are dropped from the database anyway



- Craig
Here to Help!
Bruce_L
Posted : Wednesday, June 28, 2006 11:36:40 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (yweissberg)
((AVGC89 - AVGC89.27) > 0)

so the 89 day moving average minus the 89.27 moving average? What happens if you had decimal points after C(close), does it work on intraday?

AVGC89.27 actually represents the 89-Period Simple Moving Average of the Closing Price 27 Periods Ago, not the 89-Period Simple Moving Average of Price 27% of the way through the Period.

QUOTE (yweissberg)
((V - AVGV63) / (AVGV63 + .001)) * 100

This is more in realtion to script - what is the relevance of adding .001 to the average volume 63 days ago?

It's actually adding it to the current 63-Period Simple Moving Average of Volume. Adding small values to the denominator is normally done to prevent division by zero errors (same answer to your next question). You may wish to review the following:

Handy PCF example formulas to help you learn the syntax of PCFs!
How to create a Personal Criteria Forumula (PCF)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jjl1753
Posted : Thursday, July 6, 2006 2:42:38 PM
Registered User
Joined: 10/20/2005
Posts: 2
Can you please email me the link to (email removed by moderator)
I've tried to find CANSLIM and TeleChart links to no avail.
Thanks
Craig_S
Posted : Thursday, July 6, 2006 3:49:22 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Have you looked at this yet?

CANSLIM

- Craig
Here to Help!
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.