Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCFs for Hull Moving Averages Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
traderlady
Posted : Tuesday, August 18, 2015 3:47:23 PM
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

Bruce_L
Posted : Tuesday, August 18, 2015 4:09:19 PM


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
traderlady
Posted : Tuesday, August 18, 2015 4:35:09 PM
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."

 

Bruce_L
Posted : Wednesday, August 19, 2015 9:17:35 AM


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
traderlady
Posted : Wednesday, August 19, 2015 11:16:04 AM
Registered User
Joined: 10/7/2004
Posts: 1,178

Oh, I see.  Thanks!

Bruce_L
Posted : Wednesday, August 19, 2015 11:19:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.