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 |

PCF Problem Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
georgecdemas
Posted : Friday, March 8, 2013 9:33:42 PM
Registered User
Joined: 3/24/2005
Posts: 72

I would like to create a formula that finds all monthly securities whose high for the current monthly period  is less than the low of the previous 21 day period.

The formula I have entered below does not work. It brings up zero stocks. WHY? Can you tell me what is wrong?

MAXH21 < MINL21.21

diceman
Posted : Saturday, March 9, 2013 9:26:03 AM
Registered User
Joined: 1/28/2005
Posts: 6,049

Try this

 

MAXH21<MAXH21.21

 

Yours tested against the low.

 

 

 

 

Thanks

 

 

diceman
Posted : Saturday, March 9, 2013 12:31:45 PM
Registered User
Joined: 1/28/2005
Posts: 6,049

Whoops I just saw you wanted the low from your post.

I don&rsquo;t think your PCF ever returns true.

I would guess because the lookback is the same
length as the lookback period.

 

 

 

 

Thanks

Bruce_L
Posted : Monday, March 11, 2013 8:23:57 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The ranges do not overlap, but it is still a relatively unlikely scenario. There must have been a gap down between 21-bars ago and 20-bars ago where the high was not only lower than the prior low, but lower than the 21-prior lows. Then the high needs to stay below that low threshold for the next 21-bars.

That said, it currently returns true for me for 16 symbols in the All Items in System WatchList in TC2000 version 7 (when I include things like Pink Sheets and Bulletin Board stocks in TC2000 version 12.3, I get 107 symbols): ACH, ARAY, CHA, DBA, DOIL, EEHB, GSGO, INXX, PSMI, RBCN, RDS.A, RDS.B, SJL, SLT, SWM & XIDE.



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