Registered User Joined: 10/7/2004 Posts: 110
|
Hi Bruce ;
I need to have expressed as a PCF Condition statement the current bar Elder Bear 12 being less than it's own 2, 3, and 5 bar simple moving average. And a separate condition showing Elder Bear 12 - 10 Day simple Moving Average crossing under Elder Bear 12 - 20 Day simple Moving Average, also on the current bar. This would be used in TC2000 12.3.
Thanks -
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for a 12-period Elder Ray Bear Power being under its own 2, 3 and 5-period simple moving averages can be written as:
L - XAVGC12 < AVGL2 - AVG(XAVGC12,2) AND L - XAVGC12 < AVGL3 - AVG(XAVGC12,3) AND L - XAVGC12 < AVGL5 - AVG(XAVGC12,5)
A Condition Formula for the 10-period simple moving average crossing down through the 20-period simple moving average of a 12-period Elder Ray Bear Power can be written as:
AVGL10 - AVG(XAVGC12,10) < AVGL20 - AVG(XAVGC12,20) AND AVGL10.1 - AVG(XAVGC12.1,10) >= AVGL20.1 - AVG(XAVGC12.1,20)
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: 10/7/2004 Posts: 110
|
Thank you Bruce -
All is working well with the Elder Bear formula.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|