Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/2/2008 Posts: 16
|
Hello,
I would like help creating two different PCFs based on WEEKLY charts for Stochastics(12,3,5):
1) %K is crossing up through %D below the 40 line.
3) Both %K and %D are below the 40 line.
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If the Stochastic is Simple:
QUOTE (Au197) %K is crossing up through %D below the 40 line.
Please try the following:
(STOC60 + STOC60.1.5 + STOC60.1.10) / 3 < 40 AND 4 * STOC60 + 3 * STOC60.1.5 + 2 * STOC60.1.10 > 3 * STOC60.1.15 + 3 * STOC60.1.20 + 2 * STOC60.1.25 + STOC60.1.30 AND 4 * STOC60.1.5 + 3 * STOC60.1.10 + 2 * STOC60.1.15 <= 3 * STOC60.1.20 + 3 * STOC60.1.25 + 2 * STOC60.1.30 + STOC60.1.35
QUOTE (Au197) Both %K and %D are below the 40 line.
Please try the following:
(STOC60 + STOC60.1.5 + STOC60.1.10) / 3 < 40 AND (STOC60 + 2 * STOC60.1.5 + 3 * STOC60.1.10 + 3 * STOC60.1.15 + 3 * STOC60.1.20 + 2 * STOC60.1.25 + STOC60.1.30) / 15 < 40
If the Stochastic is Exponential:
QUOTE (Au197) %K is crossing up through %D below the 40 line.
Please try the following:
.500488758553275 * (STOC60 + .5 * (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)))))))))) < 40 AND .500488758553275 * (STOC60 + .5 * (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)))))))))) > .333559032545198 * (STOC60 + 2 / 3 * (STOC60.1.5 + 2 / 3 * (STOC60.1.10 + 2 / 3 * (STOC60.1.15 + 2 / 3 * (STOC60.1.20 + 2 / 3 * (STOC60.1.25 + 2 / 3 * (STOC60.1.30 + 2 / 3 * (STOC60.1.35 + 2 / 3 * (STOC60.1.40 + 2 / 3 * (STOC60.1.45 + 2 / 3 * (STOC60.1.50 + 2 / 3 * (STOC60.1.55 + 2 / 3 * (STOC60.1.60 + 2 / 3 * (STOC60.1.65 + 2 / 3 * (STOC60.1.70 + 2 / 3 * (STOC60.1.75 + 2 / 3 * (STOC60.1.80 + 2 / 3 * (STOC60.1.85)))))))))))))))))) AND .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)))))))))) <= .333559032545198 * (STOC60.1.5 + 2 / 3 * (STOC60.1.10 + 2 / 3 * (STOC60.1.15 + 2 / 3 * (STOC60.1.20 + 2 / 3 * (STOC60.1.25 + 2 / 3 * (STOC60.1.30 + 2 / 3 * (STOC60.1.35 + 2 / 3 * (STOC60.1.40 + 2 / 3 * (STOC60.1.45 + 2 / 3 * (STOC60.1.50 + 2 / 3 * (STOC60.1.55 + 2 / 3 * (STOC60.1.60 + 2 / 3 * (STOC60.1.65 + 2 / 3 * (STOC60.1.70 + 2 / 3 * (STOC60.1.75 + 2 / 3 * (STOC60.1.80 + 2 / 3 * (STOC60.1.85 + 2 / 3 * (STOC60.1.90))))))))))))))))))
QUOTE (Au197) Both %K and %D are below the 40 line.
Please try the following:
.500488758553275 * (STOC60 + .5 * (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)))))))))) < 40 AND .667118065090396 * (STOC60 + 2 / 3 * (STOC60.1.5 + 2 / 3 * (STOC60.1.10 + 2 / 3 * (STOC60.1.15 + 2 / 3 * (STOC60.1.20 + 2 / 3 * (STOC60.1.25 + 2 / 3 * (STOC60.1.30 + 2 / 3 * (STOC60.1.35 + 2 / 3 * (STOC60.1.40 + 2 / 3 * (STOC60.1.45 + 2 / 3 * (STOC60.1.50 + 2 / 3 * (STOC60.1.55 + 2 / 3 * (STOC60.1.60 + 2 / 3 * (STOC60.1.65 + 2 / 3 * (STOC60.1.70 + 2 / 3 * (STOC60.1.75 + 2 / 3 * (STOC60.1.80 + 2 / 3 * (STOC60.1.85)))))))))))))))))) - .500488758553275 * (STOC60 + .5 * (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)))))))))) < 40
You may wish to review the following:
Understanding Stochastics
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Cascades of Moving Averages
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/2/2008 Posts: 16
|
Assuming a simple Stochastic, what would the formulas be if using Stochastic(9,3,3)?
Au197
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (Bruce_L) If the Stochastic is Simple:
[QUOTE=Au197]%K is crossing up through %D below the 40 line.
Please try the following:
(STOC45 + STOC45.1.5 + STOC45.1.10) / 3 < 40 AND 2 * STOC45 + STOC45.1.5 > 2 * STOC45.1.15 + STOC45.1.20 AND 2 * STOC45.1.5 + STOC45.1.10 <= 2 * STOC45.1.20 + STOC45.1.25
QUOTE (Au197) Both %K and %D are below the 40 line.
Please try the following:
(STOC45 + STOC45.1.5 + STOC45.1.10) / 3 < 40 AND (STOC45 + 2 * STOC45.1.5 + 3 * STOC45.1.10 + 2 * STOC45.1.15 + STOC45.1.20) / 9 < 40
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |