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 |

FIRST new high or low Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
retire06
Posted : Friday, January 26, 2018 6:10:00 PM
Registered User
Joined: 12/18/2004
Posts: 89

Hello,

Can someone kindly help with a PCF that finds stocks that have closed at a first new high in, for example last 10 bars?   This eliminates those that have been making new highs for a while..

using version 17

Thanks in advance.. 

Bruce_L
Posted : Monday, January 29, 2018 10:11:31 AM


Worden Trainer

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

Please try the following. I am using a period of 252 to represent about a year a daily time frame and using it as the period of the new high (251 is the 252 minus the current bar).

H > MAXH251.1 AND TrueInRow(H1 <= MAXH251.2, 9) = 9



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
retire06
Posted : Saturday, February 3, 2018 4:35:15 PM
Registered User
Joined: 12/18/2004
Posts: 89

I will use and post if any further questions..

Thanks Bruce!

retire06
Posted : Thursday, February 8, 2018 9:21:55 AM
Registered User
Joined: 12/18/2004
Posts: 89

Bruce,

I tried reversing this for new Lows and it doesn't seem to work (doesn't display spikes where it should in declining markets: AG, for example).. What am I doing wrong?

L < MINL251.1 AND TrueInRow(L1 <= MINL251.2, 9) = 9

Thanks

Bruce_L
Posted : Thursday, February 8, 2018 9:31:57 AM


Worden Trainer

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

You just didn't reverse the sign in the part after the AND. Everything else looks correct.

L < MINL251.1 AND TrueInRow(L1 >= MINL251.2, 9) = 9



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
retire06
Posted : Thursday, February 8, 2018 11:36:15 AM
Registered User
Joined: 12/18/2004
Posts: 89

New glasses needed!... Thanks

Bruce_L
Posted : Thursday, February 8, 2018 11:53:40 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.