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's Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Quiktdr
Posted : Wednesday, January 24, 2018 9:21:22 AM
Registered User
Joined: 10/7/2004
Posts: 794

Is this the best way to write a PCF where stock is not up 3 days in a row or not open more then 2% for last 3 days    MaxH3<1.02

Negative day or narrow range day < 2% 

Bruce_L
Posted : Wednesday, January 24, 2018 9:39:55 AM


Worden Trainer

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

MAXH3 < 1.02 would be checking for the highest price over the most recent three bars being less that $1.02.

Not up for at least three bars in a row would be:

TrueInRow(C <= C1, 3) = 3

Having a bar with a range of less than or equal to 2% for at least three bars in a row would be:

TrueInRow(H <= 1.02 * L, 3) = 3

Having a bar with a true range of less than or equal to 2% for at least three bars in a row would be:

TrueInRow(ATR1 <= .02 * LEAST(L, C1), 3) = 3

High of current bar is less than or equal to 2% above the previous close for at least 3 bars in a row

TrueInRow(H <= 1.02 * C1, 3) = 3



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Quiktdr
Posted : Wednesday, January 24, 2018 9:55:51 AM
Registered User
Joined: 10/7/2004
Posts: 794

Thank you!

Quiktdr
Posted : Wednesday, January 24, 2018 10:06:25 AM
Registered User
Joined: 10/7/2004
Posts: 794

I am getting a Formula error    Error in Formula  Unmatched Parentheses At position 7

Quiktdr
Posted : Wednesday, January 24, 2018 10:08:40 AM
Registered User
Joined: 10/7/2004
Posts: 794

Bruce ,

 

I found my mistake I had to leave TrueInRow  as part of formula

 

TY again

Bruce_L
Posted : Wednesday, January 24, 2018 10:13:16 AM


Worden Trainer

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

You're welcome. I am happy to read you were able to figure it out on your own.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
graniterad
Posted : Wednesday, January 24, 2018 9:57:00 PM
Registered User
Joined: 1/4/2018
Posts: 1

Hi

I'm trying to write a formula to compare EV vs capitalization.  Have gone through a lot of things online and can't find what symbols to use for these.

Basically want EV/Mkt Cap ratio as low as possible--down to 1 or even lower.

Thoughts?

thanks

Greg

Bruce_L
Posted : Thursday, January 25, 2018 9:16:58 AM


Worden Trainer

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

There isn't a way to include fundamentals in formulas, but you could plot Enterprise Value and Capitalization in the same pane and scale on the charts. Then click on Enterprise Value and select Create Condition (or Create Scan Condition) to create a condition for the Enterprise Value being Below Capitalization.



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