Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Gold Customer
Joined: 2/5/2005 Posts: 16
|
Hi,
I was trying to create formula which came up with an error.Would you please help me.Criteria are as below.
Low today<previous 10 day low. Today's range>average range of the last 20 days. Close today in the top 50% of the day's range. Close today>close yesterday. Volume today>highest volume of the previous 10 days.
Regards,
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
I would create these as separate PCFs which you can then combine in EasyScan any way you like.
Low today<previous 10 day low L<MINL10.1
Today's range>average range of the last 20 days H-L>AVGGH20.1-AVGL20.1
Close today in the top 50% of the day's range I would do it this way:
Close as % of Range 100*(C-L)/(H-L) (you can then add it in EasyScan and limit the values to 50 to MAX or any number you like)
Close today>close yesterday No need for a PCF. Just add Price Percent Change Today and set it to VALUES greater than zero.
Volume today>highest volume of the previous 10 days V>AVGV10.1
You may find these interesting: Handy PCF example formulas to help you learn the syntax of PCFs! How to create a Personal Criteria Forumula (PCF) Constructing more versatile and reusable Personal Criteria Formulas
- Craig Here to Help!
|
|
Gold Customer
Joined: 2/5/2005 Posts: 16
|
Hi Craig,
Thanks for your help I did try in many ways still error,if you could kindly please combine together that would be great help. Thanks.
Regards,
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
tr5k, What is the error message? You may wish to try the following Personal Criteria Formula:
L < MINL10.1 AND H - L > AVGH20.1 - AVGL20.1 AND C - L >= .5 * (H - L) AND C > C1 AND V > MAXV10.1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 2/5/2005 Posts: 16
|
Hi Bruce,
I tried the formula you have given still came up with the error.Here is the message. Error on formula syntax.Criterion Information-Market Days Needed to Calculate Criterion:22.I pasted your your formula as follows.
(L < MINL10.1)(H - L > AVGGH20.1 - AVGL20.1)(C - L >= .5 * (H - L)(C > C1)(V > MAXV10.1)
Please advice me again.
Regards,
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
tr5k
That is not an error. It is information.
Thanks diceman
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
tr5k, You need to copy the entire formula including the ANDs. As diceman already mentioned, the message is informational. Have you had a chance to review the videos Craig referenced?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 2/5/2005 Posts: 16
|
Thank you Bruce and all I hope I got it now.
Cheers!!!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome. Our pleasure.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |