Registered User Joined: 8/27/2007 Posts: 19
|
How would I go about writing a PCF to show stocks where the 10 bar simple is crossing the 30 day exponential moving average.
|
Registered User Joined: 10/23/2004 Posts: 251
|
SMA10 crossing Up EMA30:
AVGC10 > XAVGC30 AND AVGC10.1 <= XAVGC30.1
SMA10 Crossing Down EMA30:
AVGC10 < XAVGC30 AND AVGC10.1 >= XAVGC30.1
SMA10 crossing EMA30 either direction:
SGN(AVGC10 - XAVGC30) <> SGN(AVGC10.1 - XAVGC30.1)
Thanks,
Naresh
|
Registered User Joined: 12/1/2008 Posts: 4
|
How do I create new PCF's in Telechart?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Webby,
Welcome to the forums. A very good foundation for learning how to use TeleChart can be gained by reviewing the following:
If you are new to TeleChart READ THIS FIRST!
The How to create a Personal Criteria Forumula (PCF) topic covers the actual process of creating Personal Criteria Formulas while the PCF Formula Descriptions topic contains a list of all the syntax that can be used.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|