Registered User Joined: 5/8/2005 Posts: 36
|
Hi,
Can some one help me to create a pcf to scan stocks crossing 10 week MA today(each friday) but below its 10 week MA last week.
Thank You.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I can help you write a formula that matches TeleChart's Weekly Charts:
9 * C > C5 + C10 + C15 + C20 + C25 + C30 + C35 + C40 + C45 AND 9 * C5 < C10 + C15 + C20 + C25 + C30 + C35 + C40 + C45 + C50
It's not a Friday based or Calendar Week formula however. I do not know of a way to construct a formula that would automatically adjust based on the day of the week in TeleChart (Blocks has the ability to do Calendar Weeks). To have Calendar Week formulas, you would need to have a different formula for each day of the Week and you would need to manually adjust the formulas for Market Holidays as well. You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 5/8/2005 Posts: 36
|
Thank You, Bruce. You are a wonderful person.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|