Registered User Joined: 10/7/2004 Posts: 30
|
Could you please assist me in creating a PFC that would show the following indicator crossing it's zero line today.
(H + L + C - AVGH5 - AVGL5 - AVGC5) * 1000 / 3 / (ABS(H + L + C - AVGH5 - AVGL5 - AVGC5) + ABS(H1 + L1 + C1 - AVGH5 - AVGL5 - AVGC5) + ABS(H2 + L2 + C2 - AVGH5 - AVGL5 - AVGC5) + ABS(H3 + L3 + C3 - AVGH5 - AVGL5 - AVGC5) + ABS(H4 + L4 + C4 - AVGH5 - AVGL5 - AVGC5) + .001)
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try one or more of the following:
CCI5 xUp Zero:
H + L + C > AVGH5 + AVGL5 + AVGC5 AND H1 + L1 + C1 <= AVGH5.1 + AVGL5.1 + AVGC5.1
CCI5 xDn Zero:
H + L + C < AVGH5 + AVGL5 + AVGC5 AND H1 + L1 + C1 >= AVGH5.1 + AVGL5.1 + AVGC5.1
CCI crossing Zero (either direction):
ABS(H + L + C - AVGH5 - AVGL5 - AVGC5) <> ABS(H1 + L1 + C1 - AVGH5.1 - AVGL5.1 - AVGC5.1)
You may wish to review the following:
CCI INDICATOR
PCF Formula Descriptions
How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 10/7/2004 Posts: 30
|
Thank you Bruce, this works great.
EWD
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|