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

c>avg10> C>65avg happening anytime last five days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
reiford2
Posted : Sunday, May 15, 2011 2:17:37 PM
Registered User
Joined: 4/3/2011
Posts: 8
Can you help with a formula for this?
wwrightjuly4
Posted : Sunday, May 15, 2011 5:30:02 PM
Gold Customer Gold Customer

Joined: 4/10/2006
Posts: 954
How about this, close was less than avg10 and avg65  6 days ago, but is above those 1 day ago.

((c.6 < avgc10.6) and (c.6 < avgc65.6))
and ((c > avgc10.1) and (c > avgc65.1))
Bruce_L
Posted : Monday, May 16, 2011 8:45:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you mean Price has been above both the 10-Period and 65-Period Moving Averages at least once during the most recent 5-Bars then:

(C > AVGC10 AND C > AVGC65) OR (C1 > AVGC10.1 AND C1 > AVGC65.1) OR (C2 > AVGC10.2 AND C2 > AVGC65.2) OR (C3 > AVGC10.3 AND C3 > AVGC65.3) OR (C4 > AVGC10.4 AND C4 > AVGC65.4)

Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of 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.