Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

current 2 weeks highest high vs previous 2 weeks Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
maher_79
Posted : Monday, January 23, 2012 10:10:56 PM
Registered User
Joined: 8/16/2009
Posts: 42
I'm building a strategy and defining an uptrend as:Uptrend exists if the highest high of the last 2 weeks is higher than the highest high of the previous 2 weeks, and the lowest low of the last 2 weeks is the higher than the lowest low of the previous 2 weeks.How can i write that in a PCF? thanks a bunch!
maher_79
Posted : Monday, January 23, 2012 10:18:28 PM
Registered User
Joined: 8/16/2009
Posts: 42
Here is my attempt at it.....

MAXH10 > MAXH10.11 and MINL10 > MINL10.11

Can anone confirm if that's correct?
Bruce_L
Posted : Tuesday, January 24, 2012 9:08:05 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The offset starts at 0, so you would want:

MAXH10 > MAXH10.10 AND MINL10 > MINL10.10

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
maher_79
Posted : Tuesday, January 24, 2012 9:51:56 PM
Registered User
Joined: 8/16/2009
Posts: 42
Cool  - thanks Bruce - I getting better :)
Bruce_L
Posted : Wednesday, January 25, 2012 8:17:45 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

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