Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/7/2004 Posts: 1,178
|
Hi Bruce,
The PCF for the 8-Period Hull Moving Average you provided appears to work fine. Now, could you please create a few more. I'd like Hulls for 5-period, 3-period, and 2-period.
Thanks so much,
traderlady
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following should match the Hull moving average currently in TC2000 version 12.6.
5 period Hull moving average:
(30 * C + 27 * C1 - 7 * C3 - 4 * C4 - C5) / 45
3 period Hull moving average:
(10 * C + 9 * C1 + C2 - C3) / 18
2 period Hull moving average:
(4 * C - C1) / 3
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 1,178
|
Bruce, the 5 and 3 work, but the 2 produces an error message:
"The formula you entered does not return a boolean result."
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
That particular error message is produced when attempting to use a formula which returns a numeric value as a condition which needs to be true or false. It reads as if you may have tried using the formula in a Custom PCF % True Indicator.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 1,178
|
Oh, I see. Thanks!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |