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

Moving Averages Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
doug1746
Posted : Thursday, September 6, 2007 2:49:18 PM
Registered User
Joined: 2/4/2006
Posts: 46
How do I create a PCF for a 3 day MA up over an 8 day MA and a 8 MA up over a 13 day MA and so on and so forth...thanks.
Bruce_L
Posted : Thursday, September 6, 2007 3:01:26 PM


Worden Trainer

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

Simple:

AVGC3 > AVGC8 AND AVGC8 > AVGC13

Exponential:

XAVGC3 > XAVGC8 AND XAVGC8 > XAVGC13

You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
Handy PCF example formulas to help you learn the syntax of PCFs!
PCF Formula Descriptions

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
StockGuy
Posted : Thursday, September 6, 2007 3:05:41 PM

Administration

Joined: 9/30/2004
Posts: 9,187
I answered your original post here:

Moving Averages

Bruce intepreted your question a little differently. I interpreted it as actual crossovers, Bruce gave you the formulas for find where AVG A is above AVG B and AVG B is above AVG C.
doug1746
Posted : Thursday, September 6, 2007 4:31:48 PM
Registered User
Joined: 2/4/2006
Posts: 46
In further thinking (I know, always trouble)....I want that time when ALL the MA's I pick are sitting at the same price point...for example, the 3, 8, and 13 are all sitting right on top of each other and price. I almost think this would be a convergence point, maybe not. Hoep I explained this right.

Thanks for your help.
Bruce_L
Posted : Friday, September 7, 2007 8:31:56 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
doug1746,
One option might be sort by the Percent Difference between the Highest and Lowest of the three Moving Averages:

Simple:

100 * ((AVGC3 + AVGC8 + ABS(AVGC3 - AVGC8) + 2 * (AVGC13) + ABS(AVGC3 + AVGC8 + ABS(AVGC3 - AVGC8) - 2 * (AVGC13))) / 4) / ((AVGC3 + AVGC8 - ABS(AVGC3 - AVGC8) + 2 * (AVGC13) - ABS(AVGC3 + AVGC8 - ABS(AVGC3 - AVGC8) - 2 * (AVGC13))) / 4) - 100

Exponential:

100 * ((XAVGC3 + XAVGC8 + ABS(XAVGC3 - XAVGC8) + 2 * (XAVGC13) + ABS(XAVGC3 + XAVGC8 + ABS(XAVGC3 - XAVGC8) - 2 * (XAVGC13))) / 4) / ((XAVGC3 + XAVGC8 - ABS(XAVGC3 - XAVGC8) + 2 * (XAVGC13) - ABS(XAVGC3 + XAVGC8 - ABS(XAVGC3 - XAVGC8) - 2 * (XAVGC13))) / 4) - 100

You can add a < or <= and a value to the end if you want to set a specific threshold. You may wish to review the following:

Create your own stock rankings using WatchLists and Sort conditions
Min Max PCFs

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