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

Stochastic crossover Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
billmckirdy
Posted : Thursday, June 21, 2007 1:01:18 PM
Registered User
Joined: 12/8/2004
Posts: 2
Am having trouble making a pcf to filter out the crossover the 20 line for stochastic 23,10,10. Can you help?
Bruce_L
Posted : Thursday, June 21, 2007 1:27:54 PM


Worden Trainer

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

Simple Stochastic SK xUp 20:

STOC23.10 > 20 AND STOC23.10.1 <= 20

Simple Stochastic SK xDown 20:

STOC23.10 < 20 AND STOC23.10.1 >= 20

Simple Stochastic SK crossing 20 (either direction):

SGN(STOC23.10 - 20) <> SGN(STOC23.10.1 - 20)

Simple Stochastic SD xUp 20:

AVG(STOC23.10,10) > 20 AND AVG(STOC23.10.1,10) <= 20

Simple Stochastic SD xDown 20:

AVG(STOC23.10,10) < 20 AND AVG(STOC23.10.1,10) >= 20

Simple Stochastic SD crossing 20 (either direction):

SGN(AVG(STOC23.10,10) - 20) <> SGN(AVG(STOC23.10.1,10) - 20)

Exponential Stochastic SK xUp 20:

XAVG(STOC23,10) > 20 AND XAVG(STOC23.1.1,10) <= 20

Exponential Stochastic SK xDown 20:

XAVG(STOC23,10) < 20 AND XAVG(STOC23.1.1,10) >= 20

Exponential Stochastic SK crossing 20 (either direction):

SGN(XAVG(STOC23,10) - 20) <> SGN(XAVG(STOC23.1.1,10) - 20)

Exponential Stochastic SD xUp 20:

.181980276277401 * (XAVG(STOC23,10) + 9 / 11 * (XAVG(STOC23.1.1,10) + 9 / 11 * (XAVG(STOC23.1.2,10) + 9 / 11 * (XAVG(STOC23.1.3,10) + 9 / 11 * (XAVG(STOC23.1.4,10) + 9 / 11 * (XAVG(STOC23.1.5,10) + 9 / 11 * (XAVG(STOC23.1.6,10) + 9 / 11 * (XAVG(STOC23.1.7,10) + 9 / 11 * (XAVG(STOC23.1.8,10) + 9 / 11 * (XAVG(STOC23.1.9,10) + 9 / 11 * (XAVG(STOC23.1.10,10) + 9 / 11 * (XAVG(STOC23.1.11,10) + 9 / 11 * (XAVG(STOC23.1.12,10) + 9 / 11 * (XAVG(STOC23.1.13,10) + 9 / 11 * (XAVG(STOC23.1.14,10) + 9 / 11 * (XAVG(STOC23.1.15,10) + 9 / 11 * (XAVG(STOC23.1.16,10) + 9 / 11 * (XAVG(STOC23.1.17,10) + 9 / 11 * (XAVG(STOC23.1.18,10) + 9 / 11 * (XAVG(STOC23.1.19,10) + 9 / 11 * (XAVG(STOC23.1.20,10) + 9 / 11 * (XAVG(STOC23.1.21,10) + 9 / 11 * (XAVG(STOC23.1.22,10) + 9 / 11 * (XAVG(STOC23.1.23,10) + 9 / 11 * (XAVG(STOC23.1.24,10) + 9 / 11 * (XAVG(STOC23.1.25,10) + 9 / 11 * (XAVG(STOC23.1.26,10) + 9 / 11 * (XAVG(STOC23.1.27,10) + 9 / 11 * (XAVG(STOC23.1.28,10) + 9 / 11 * (XAVG(STOC23.1.29,10) + 9 / 11 * (XAVG(STOC23.1.30,10) + 9 / 11 * (XAVG(STOC23.1.31,10) + 9 / 11 * (XAVG(STOC23.1.32,10) + 9 / 11 * (XAVG(STOC23.1.33,10) + 9 / 11 * (XAVG(STOC23.1.34,10)))))))))))))))))))))))))))))))))))) > 20 AND .181980276277401 * (XAVG(STOC23.1.1,10) + 9 / 11 * (XAVG(STOC23.1.2,10) + 9 / 11 * (XAVG(STOC23.1.3,10) + 9 / 11 * (XAVG(STOC23.1.4,10) + 9 / 11 * (XAVG(STOC23.1.5,10) + 9 / 11 * (XAVG(STOC23.1.6,10) + 9 / 11 * (XAVG(STOC23.1.7,10) + 9 / 11 * (XAVG(STOC23.1.8,10) + 9 / 11 * (XAVG(STOC23.1.9,10) + 9 / 11 * (XAVG(STOC23.1.10,10) + 9 / 11 * (XAVG(STOC23.1.11,10) + 9 / 11 * (XAVG(STOC23.1.12,10) + 9 / 11 * (XAVG(STOC23.1.13,10) + 9 / 11 * (XAVG(STOC23.1.14,10) + 9 / 11 * (XAVG(STOC23.1.15,10) + 9 / 11 * (XAVG(STOC23.1.16,10) + 9 / 11 * (XAVG(STOC23.1.17,10) + 9 / 11 * (XAVG(STOC23.1.18,10) + 9 / 11 * (XAVG(STOC23.1.19,10) + 9 / 11 * (XAVG(STOC23.1.20,10) + 9 / 11 * (XAVG(STOC23.1.21,10) + 9 / 11 * (XAVG(STOC23.1.22,10) + 9 / 11 * (XAVG(STOC23.1.23,10) + 9 / 11 * (XAVG(STOC23.1.24,10) + 9 / 11 * (XAVG(STOC23.1.25,10) + 9 / 11 * (XAVG(STOC23.1.26,10) + 9 / 11 * (XAVG(STOC23.1.27,10) + 9 / 11 * (XAVG(STOC23.1.28,10) + 9 / 11 * (XAVG(STOC23.1.29,10) + 9 / 11 * (XAVG(STOC23.1.30,10) + 9 / 11 * (XAVG(STOC23.1.31,10) + 9 / 11 * (XAVG(STOC23.1.32,10) + 9 / 11 * (XAVG(STOC23.1.33,10) + 9 / 11 * (XAVG(STOC23.1.34,10) + 9 / 11 * (XAVG(STOC23.1.35,10)))))))))))))))))))))))))))))))))))) <= 20

Exponential Stochastic SD xDown 20:

.181980276277401 * (XAVG(STOC23,10) + 9 / 11 * (XAVG(STOC23.1.1,10) + 9 / 11 * (XAVG(STOC23.1.2,10) + 9 / 11 * (XAVG(STOC23.1.3,10) + 9 / 11 * (XAVG(STOC23.1.4,10) + 9 / 11 * (XAVG(STOC23.1.5,10) + 9 / 11 * (XAVG(STOC23.1.6,10) + 9 / 11 * (XAVG(STOC23.1.7,10) + 9 / 11 * (XAVG(STOC23.1.8,10) + 9 / 11 * (XAVG(STOC23.1.9,10) + 9 / 11 * (XAVG(STOC23.1.10,10) + 9 / 11 * (XAVG(STOC23.1.11,10) + 9 / 11 * (XAVG(STOC23.1.12,10) + 9 / 11 * (XAVG(STOC23.1.13,10) + 9 / 11 * (XAVG(STOC23.1.14,10) + 9 / 11 * (XAVG(STOC23.1.15,10) + 9 / 11 * (XAVG(STOC23.1.16,10) + 9 / 11 * (XAVG(STOC23.1.17,10) + 9 / 11 * (XAVG(STOC23.1.18,10) + 9 / 11 * (XAVG(STOC23.1.19,10) + 9 / 11 * (XAVG(STOC23.1.20,10) + 9 / 11 * (XAVG(STOC23.1.21,10) + 9 / 11 * (XAVG(STOC23.1.22,10) + 9 / 11 * (XAVG(STOC23.1.23,10) + 9 / 11 * (XAVG(STOC23.1.24,10) + 9 / 11 * (XAVG(STOC23.1.25,10) + 9 / 11 * (XAVG(STOC23.1.26,10) + 9 / 11 * (XAVG(STOC23.1.27,10) + 9 / 11 * (XAVG(STOC23.1.28,10) + 9 / 11 * (XAVG(STOC23.1.29,10) + 9 / 11 * (XAVG(STOC23.1.30,10) + 9 / 11 * (XAVG(STOC23.1.31,10) + 9 / 11 * (XAVG(STOC23.1.32,10) + 9 / 11 * (XAVG(STOC23.1.33,10) + 9 / 11 * (XAVG(STOC23.1.34,10)))))))))))))))))))))))))))))))))))) < 20 AND .181980276277401 * (XAVG(STOC23.1.1,10) + 9 / 11 * (XAVG(STOC23.1.2,10) + 9 / 11 * (XAVG(STOC23.1.3,10) + 9 / 11 * (XAVG(STOC23.1.4,10) + 9 / 11 * (XAVG(STOC23.1.5,10) + 9 / 11 * (XAVG(STOC23.1.6,10) + 9 / 11 * (XAVG(STOC23.1.7,10) + 9 / 11 * (XAVG(STOC23.1.8,10) + 9 / 11 * (XAVG(STOC23.1.9,10) + 9 / 11 * (XAVG(STOC23.1.10,10) + 9 / 11 * (XAVG(STOC23.1.11,10) + 9 / 11 * (XAVG(STOC23.1.12,10) + 9 / 11 * (XAVG(STOC23.1.13,10) + 9 / 11 * (XAVG(STOC23.1.14,10) + 9 / 11 * (XAVG(STOC23.1.15,10) + 9 / 11 * (XAVG(STOC23.1.16,10) + 9 / 11 * (XAVG(STOC23.1.17,10) + 9 / 11 * (XAVG(STOC23.1.18,10) + 9 / 11 * (XAVG(STOC23.1.19,10) + 9 / 11 * (XAVG(STOC23.1.20,10) + 9 / 11 * (XAVG(STOC23.1.21,10) + 9 / 11 * (XAVG(STOC23.1.22,10) + 9 / 11 * (XAVG(STOC23.1.23,10) + 9 / 11 * (XAVG(STOC23.1.24,10) + 9 / 11 * (XAVG(STOC23.1.25,10) + 9 / 11 * (XAVG(STOC23.1.26,10) + 9 / 11 * (XAVG(STOC23.1.27,10) + 9 / 11 * (XAVG(STOC23.1.28,10) + 9 / 11 * (XAVG(STOC23.1.29,10) + 9 / 11 * (XAVG(STOC23.1.30,10) + 9 / 11 * (XAVG(STOC23.1.31,10) + 9 / 11 * (XAVG(STOC23.1.32,10) + 9 / 11 * (XAVG(STOC23.1.33,10) + 9 / 11 * (XAVG(STOC23.1.34,10) + 9 / 11 * (XAVG(STOC23.1.35,10)))))))))))))))))))))))))))))))))))) >= 20

Exponential Stochastic SD crossing 20 (either direction):

SGN(.181980276277401 * (XAVG(STOC23,10) + 9 / 11 * (XAVG(STOC23.1.1,10) + 9 / 11 * (XAVG(STOC23.1.2,10) + 9 / 11 * (XAVG(STOC23.1.3,10) + 9 / 11 * (XAVG(STOC23.1.4,10) + 9 / 11 * (XAVG(STOC23.1.5,10) + 9 / 11 * (XAVG(STOC23.1.6,10) + 9 / 11 * (XAVG(STOC23.1.7,10) + 9 / 11 * (XAVG(STOC23.1.8,10) + 9 / 11 * (XAVG(STOC23.1.9,10) + 9 / 11 * (XAVG(STOC23.1.10,10) + 9 / 11 * (XAVG(STOC23.1.11,10) + 9 / 11 * (XAVG(STOC23.1.12,10) + 9 / 11 * (XAVG(STOC23.1.13,10) + 9 / 11 * (XAVG(STOC23.1.14,10) + 9 / 11 * (XAVG(STOC23.1.15,10) + 9 / 11 * (XAVG(STOC23.1.16,10) + 9 / 11 * (XAVG(STOC23.1.17,10) + 9 / 11 * (XAVG(STOC23.1.18,10) + 9 / 11 * (XAVG(STOC23.1.19,10) + 9 / 11 * (XAVG(STOC23.1.20,10) + 9 / 11 * (XAVG(STOC23.1.21,10) + 9 / 11 * (XAVG(STOC23.1.22,10) + 9 / 11 * (XAVG(STOC23.1.23,10) + 9 / 11 * (XAVG(STOC23.1.24,10) + 9 / 11 * (XAVG(STOC23.1.25,10) + 9 / 11 * (XAVG(STOC23.1.26,10) + 9 / 11 * (XAVG(STOC23.1.27,10) + 9 / 11 * (XAVG(STOC23.1.28,10) + 9 / 11 * (XAVG(STOC23.1.29,10) + 9 / 11 * (XAVG(STOC23.1.30,10) + 9 / 11 * (XAVG(STOC23.1.31,10) + 9 / 11 * (XAVG(STOC23.1.32,10) + 9 / 11 * (XAVG(STOC23.1.33,10) + 9 / 11 * (XAVG(STOC23.1.34,10)))))))))))))))))))))))))))))))))))) - 20) <> SGN(.181980276277401 * (XAVG(STOC23.1.1,10) + 9 / 11 * (XAVG(STOC23.1.2,10) + 9 / 11 * (XAVG(STOC23.1.3,10) + 9 / 11 * (XAVG(STOC23.1.4,10) + 9 / 11 * (XAVG(STOC23.1.5,10) + 9 / 11 * (XAVG(STOC23.1.6,10) + 9 / 11 * (XAVG(STOC23.1.7,10) + 9 / 11 * (XAVG(STOC23.1.8,10) + 9 / 11 * (XAVG(STOC23.1.9,10) + 9 / 11 * (XAVG(STOC23.1.10,10) + 9 / 11 * (XAVG(STOC23.1.11,10) + 9 / 11 * (XAVG(STOC23.1.12,10) + 9 / 11 * (XAVG(STOC23.1.13,10) + 9 / 11 * (XAVG(STOC23.1.14,10) + 9 / 11 * (XAVG(STOC23.1.15,10) + 9 / 11 * (XAVG(STOC23.1.16,10) + 9 / 11 * (XAVG(STOC23.1.17,10) + 9 / 11 * (XAVG(STOC23.1.18,10) + 9 / 11 * (XAVG(STOC23.1.19,10) + 9 / 11 * (XAVG(STOC23.1.20,10) + 9 / 11 * (XAVG(STOC23.1.21,10) + 9 / 11 * (XAVG(STOC23.1.22,10) + 9 / 11 * (XAVG(STOC23.1.23,10) + 9 / 11 * (XAVG(STOC23.1.24,10) + 9 / 11 * (XAVG(STOC23.1.25,10) + 9 / 11 * (XAVG(STOC23.1.26,10) + 9 / 11 * (XAVG(STOC23.1.27,10) + 9 / 11 * (XAVG(STOC23.1.28,10) + 9 / 11 * (XAVG(STOC23.1.29,10) + 9 / 11 * (XAVG(STOC23.1.30,10) + 9 / 11 * (XAVG(STOC23.1.31,10) + 9 / 11 * (XAVG(STOC23.1.32,10) + 9 / 11 * (XAVG(STOC23.1.33,10) + 9 / 11 * (XAVG(STOC23.1.34,10) + 9 / 11 * (XAVG(STOC23.1.35,10)))))))))))))))))))))))))))))))))))) - 20)

You may wish to review the following:

Understanding MACD
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
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.