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 |

Formula Assistance Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
pdrozin
Posted : Wednesday, March 5, 2014 2:11:16 PM
Gold Customer Gold Customer

Joined: 3/16/2012
Posts: 57

I was wondering if you could assist me with the creation of a formula....

I would like to scan for stocks where (4) days ago (4 bars ago including the present day)  the stock was at a high in comparison to the most recent (3) days of trading, as well as the (3) previous days prior to making the high. 

If you can help me with this, I can add other criteria on my own to elaborate the scan further.

Thanks,

Peter

Bruce_L
Posted : Wednesday, March 5, 2014 2:19:38 PM


Worden Trainer

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

Please try the following Condition Formula:

MAXH3 < H3 AND H3 > MAXH3.4

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



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ndominique6
Posted : Wednesday, March 5, 2014 2:25:49 PM
Registered User
Joined: 3/18/2011
Posts: 12

Is there a good formula to scan for real tight consolidation on the daily

 

ndominique6
Posted : Wednesday, March 5, 2014 2:35:44 PM
Registered User
Joined: 3/18/2011
Posts: 12

would you be able to help with this, the formula for real tight consolidation on the daily, basically the candles got real small and tight, Thanks.

 

Nick

 

pdrozin
Posted : Wednesday, March 5, 2014 2:48:55 PM
Gold Customer Gold Customer

Joined: 3/16/2012
Posts: 57

Can you confirm what MAXH3.4 means? Is that Max high for the last 3 days including the present session, and 4 more days prior?

StockGuy
Posted : Wednesday, March 5, 2014 2:50:09 PM

Administration

Joined: 9/30/2004
Posts: 9,187

MAXH3 is the max high of the latest 3 bars as of 4 bars ago.

pdrozin
Posted : Wednesday, March 5, 2014 2:59:28 PM
Gold Customer Gold Customer

Joined: 3/16/2012
Posts: 57

Thank you!

ndominique6
Posted : Wednesday, March 5, 2014 3:03:02 PM
Registered User
Joined: 3/18/2011
Posts: 12

Is anybody able to help?

 

pdrozin
Posted : Wednesday, March 5, 2014 3:19:11 PM
Gold Customer Gold Customer

Joined: 3/16/2012
Posts: 57

Nick, do a seperate post and they will answer you specifically.

Bruce_L
Posted : Wednesday, March 5, 2014 3:50:24 PM


Worden Trainer

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

ndominique6,
One possible way to define a tight consolidation would be to check for the highest high over an arbitrary period to be less than a certain percentage above the lowest low over an arbitrary period.

For example, if you wanted to check for the total range over the most recent 10 bars being less than 1%, it would be:

MAXH10 < 1.01 * MINL10

If you want to eliminate completely flat stocks, you could check for the high and low to not be the same:

MAXH10 < 1.01 * MINL10 AND MAXH10 <> MINL10



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