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

pcf: 5dy MAX TSV14 ma8 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rtdip
Posted : Sunday, October 24, 2010 6:35:29 PM
Gold Customer Gold Customer

Joined: 11/25/2004
Posts: 79
Location: Illinois
I'm trying to come up with a pcf : (a 5dy high of TSV14 8dy sma) TSV14 8dy sma > 4dy MAX TSV14 8dy sma 1day ago.

So far I have :  AVG(TSV14,8) > MAX  ............ 

Any suggestions?
Bruce_L
Posted : Monday, October 25, 2010 12:25:56 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If the TSV is Simple:

AVG(TSV14,8) > AVG(TSV14.1,8) AND AVG(TSV14,8) > AVG(TSV14.2,8) AND AVG(TSV14,8) > AVG(TSV14.3,8) AND AVG(TSV14,8) > AVG(TSV14.4,8)

If the TSV is Exponential:

XAVG(TSV8,14) > XAVG(TSV8.1,14) AND XAVG(TSV8,14) > XAVG(TSV8.2,14) AND XAVG(TSV8,14) > XAVG(TSV8.3,14) AND XAVG(TSV8,14) > XAVG(TSV8.4,14)

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rtdip
Posted : Monday, October 25, 2010 3:48:28 PM
Gold Customer Gold Customer

Joined: 11/25/2004
Posts: 79
Location: Illinois
Thanks Bruce - that should do the trick.

Can I assume that there is no MIN or MAX expression since this involves a ma of a ma?
Bruce_L
Posted : Monday, October 25, 2010 4:00:39 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Yes. We can't use the Min or Max functions because they only work on individual Indicators and not formulas or other functions. We could have duplicated the functionality using the technique outlined in Min Max PCFs, but that would have been overkill.

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