Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Weekly 12.3.3 Crossover PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jrfitz
Posted : Friday, June 22, 2007 11:20:14 PM
Registered User
Joined: 5/12/2005
Posts: 19
I need assistance in writing a pcf to identify stocks that the weekly SK period crossed up through the SD period 5 days prior to today for a Stoch setting of 12.3.3 Would also want a pcf for the opposite condition where the SK period crossed down through the SD period 5 days prior to today.

Thanks in advance for your assistance.

Jim
Bruce_L
Posted : Tuesday, June 26, 2007 8:52:58 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try the following:

Simple Weekly Stochastic 12,3,3 SK xUp SD (1-Period Ago):

2 * STOC60.1.5 + STOC60.1.10 > 2 * STOC60.1.20 + STOC60.1.25 AND 2 * STOC60.1.10 + STOC60.1.15 <= 2 * STOC60.1.25 + STOC60.1.30

Simple Weekly Stochastic 12,3,3 SK xDown SD (1-Period Ago):

2 * STOC60.1.5 + STOC60.1.10 < 2 * STOC60.1.20 + STOC60.1.25 AND 2 * STOC60.1.10 + STOC60.1.15 >= 2 * STOC60.1.25 + STOC60.1.30

Exponential Weekly Stochastic 12,3,3 SK xUp SD (1-Period Ago):

.500488758553275 * (STOC60.1.5 + .5 * (STOC60.1.10 + .5 * (STOC60.1.15 + .5 * (STOC60.1.20 + .5 * (STOC60.1.25 + .5 * (STOC60.1.30 + .5 * (STOC60.1.35 + .5 * (STOC60.1.40 + .5 * (STOC60.1.45 + .5 * (STOC60.1.50)))))))))) > .250229091575539 * (STOC60.1.5 + .5 * (2 * STOC60.1.10 + .5 * (3 * STOC60.1.15 + .5 * (4 * STOC60.1.20 + .5 * (5 * STOC60.1.25 + .5 * (6 * STOC60.1.30 + .5 * (7 * STOC60.1.35 + .5 * (8 * STOC60.1.40 + .5 * (9 * STOC60.1.45 + .5 * (10 * STOC60.1.50 + .5 * (11 * STOC60.1.55 + .5 * (12 * STOC60.1.60 + .5 * (13 * STOC60.1.65))))))))))))) AND .500488758553275 * (STOC60.1.10 + .5 * (STOC60.1.15 + .5 * (STOC60.1.20 + .5 * (STOC60.1.25 + .5 * (STOC60.1.30 + .5 * (STOC60.1.35 + .5 * (STOC60.1.40 + .5 * (STOC60.1.45 + .5 * (STOC60.1.50 + .5 * (STOC60.1.55)))))))))) <= .250229091575539 * (STOC60.1.10 + .5 * (2 * STOC60.1.15 + .5 * (3 * STOC60.1.20 + .5 * (4 * STOC60.1.25 + .5 * (5 * STOC60.1.30 + .5 * (6 * STOC60.1.35 + .5 * (7 * STOC60.1.40 + .5 * (8 * STOC60.1.45 + .5 * (9 * STOC60.1.50 + .5 * (10 * STOC60.1.55 + .5 * (11 * STOC60.1.60 + .5 * (12 * STOC60.1.65 + .5 * (13 * STOC60.1.70)))))))))))))

Exponential Weekly Stochastic 12,3,3 SK xDown SD (1-Period Ago):

.500488758553275 * (STOC60.1.5 + .5 * (STOC60.1.10 + .5 * (STOC60.1.15 + .5 * (STOC60.1.20 + .5 * (STOC60.1.25 + .5 * (STOC60.1.30 + .5 * (STOC60.1.35 + .5 * (STOC60.1.40 + .5 * (STOC60.1.45 + .5 * (STOC60.1.50)))))))))) < .250229091575539 * (STOC60.1.5 + .5 * (2 * STOC60.1.10 + .5 * (3 * STOC60.1.15 + .5 * (4 * STOC60.1.20 + .5 * (5 * STOC60.1.25 + .5 * (6 * STOC60.1.30 + .5 * (7 * STOC60.1.35 + .5 * (8 * STOC60.1.40 + .5 * (9 * STOC60.1.45 + .5 * (10 * STOC60.1.50 + .5 * (11 * STOC60.1.55 + .5 * (12 * STOC60.1.60 + .5 * (13 * STOC60.1.65))))))))))))) AND .500488758553275 * (STOC60.1.10 + .5 * (STOC60.1.15 + .5 * (STOC60.1.20 + .5 * (STOC60.1.25 + .5 * (STOC60.1.30 + .5 * (STOC60.1.35 + .5 * (STOC60.1.40 + .5 * (STOC60.1.45 + .5 * (STOC60.1.50 + .5 * (STOC60.1.55)))))))))) >= .250229091575539 * (STOC60.1.10 + .5 * (2 * STOC60.1.15 + .5 * (3 * STOC60.1.20 + .5 * (4 * STOC60.1.25 + .5 * (5 * STOC60.1.30 + .5 * (6 * STOC60.1.35 + .5 * (7 * STOC60.1.40 + .5 * (8 * STOC60.1.45 + .5 * (9 * STOC60.1.50 + .5 * (10 * STOC60.1.55 + .5 * (11 * STOC60.1.60 + .5 * (12 * STOC60.1.65 + .5 * (13 * STOC60.1.70)))))))))))))

You may wish to review the following:

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
diceman
Posted : Tuesday, June 26, 2007 9:14:39 AM
Registered User
Joined: 1/28/2005
Posts: 6,049
Bruce

Are there 2 periods ".."

Before the .500488 in the above
equations ?

I guess that does not give an error?


Thanks
diceman


Bruce_L
Posted : Tuesday, June 26, 2007 9:52:37 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
diceman,
There were two periods. I've removed the extra in each formula. Thank you.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
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.