Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF based on tsv Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rayok
Posted : Monday, September 19, 2005 4:03:11 AM
Registered User
Joined: 11/28/2004
Posts: 14
Could you help me with a pcf please.

Presently have a pcf which modifies a 2 day tsv. This is
(2*TSV1 +(2*TSV1.1+(2*TSV1.2+(TSV1.3+TSV1.4)/3)/3)/3)/3

I would like to have another pcf based on 13 day TSV using the same principle as the above pcf
Craig_S
Posted : Monday, September 19, 2005 6:32:18 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Your formula appears to be creating a weighted average of a TSV of 1. I am not sure what makes this a modified 2-day TSV. If anything each plot includes 5-bars of TSV (back to TSV1.4).

I need to you to explain more what you are trying to do.

- Craig
Here to Help!
bustermu
Posted : Monday, September 19, 2005 6:57:19 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
rayok,

Your request is like asking what is the next term of 1,2,3,4,.... It is impossible to to tell, but most would guess it is 5.

Your PCF looks like an attempt to approximate

XAVG(TSV1,2)

Thus,

XAVG(TSV1,13)

is likely a good approximation to the PCF you are looking for.

Thanks,
Jim Murphy



rayok
Posted : Monday, September 19, 2005 9:17:13 AM
Registered User
Joined: 11/28/2004
Posts: 14
Craig,
The pcf given is by Elder as the Tc 2000 equivalent of his 2 day EMA of Force Index
Elder also talks about a 13 day EMA of Force Index and that is what I am trying to achieve
As you can see I am no genius when it comes to creating or understanding pcf's
Craig_S
Posted : Monday, September 19, 2005 9:49:28 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I think you have something confused.

This is the formula for his Force Index (not in PCF syntax):

EFI = AVG( VOL * (CL - CL.1) )

To add his force index to your chart create a custom indicator with these settings:

Visible (checked)
Center Zero Line (checked)
Smoothing Average (2 or 13 or whatever)
Simple (selected)
Indicator Formula:

V*(C-C1)

I was suprised, in me research, to find it was a simple average.

Again, I don't see anything in my searching that implies TSV is part of his force index.

- Craig
Here to Help!
Bruce_L
Posted : Monday, September 19, 2005 10:29:54 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
My research differed from Craig's in that it seemed to indicate an Exponential Average is the more common method. If that is what you prefer, just follow Craig's directions to plot the indicator except change the Average Type to Exponential.

If you want to write Personal Criteria Formulas for the Exponential versions, you may want to try the following approximations:

EMA2 of Force Index:

((C - C1) * V + 1 / 3 * ((C1 - C2) * V1 + 1 / 3 * ((C2 - C3) * V2 + 1 / 3 * ((C3 - C4) * V3 + 1 / 3 * ((C4 - C5) * V4 + 1 / 3 * ((C5 - C6) * V5)))))) / (3 / 2 - 1 / 2 * (1 / 3) ^ 5)

EMA13 of Force Index:

((C - C1) * V + 12 / 14 * ((C1 - C2) * V1 + 12 / 14 * ((C2 - C3) * V2 + 12 / 14 * ((C3 - C4) * V3 + 12 / 14 * ((C4 - C5) * V4 + 12 / 14 * ((C5 - C6) * V5 + 12 / 14 * ((C6 - C7) * V6 + 12 / 14 * ((C7 - C8) * V7 + 12 / 14 * ((C8 - C9) * V8 + 12 / 14 * ((C9 - C10) * V9 + 12 / 14 * ((C10 - C11) * V10 + 12 / 14 * ((C11 - C12) * V11 + 12 / 14 * ((C12 - C13) * V12 + 12 / 14 * ((C13 - C14) * V13 + 12 / 14 * ((C14 - C15) * V14 + 12 / 14 * ((C15 - C16) * V15 + 12 / 14 * ((C16 - C17) * V16 + 12 / 14 * ((C17 - C18) * V17 + 12 / 14 * ((C18 - C19) * V18 + 12 / 14 * ((C19 - C20) * V19 + 12 / 14 * ((C20 - C21) * V20 + 12 / 14 * ((C21 - C22) * V21 + 12 / 14 * ((C22 - C23) * V22 + 12 / 14 * ((C23 - C24) * V23 + 12 / 14 * ((C24 - C25) * V24 + 12 / 14 * ((C25 - C26) * V25 + 12 / 14 * ((C26 - C27) * V26 + 12 / 14 * ((C27 - C28) * V27 + 12 / 14 * ((C28 - C29) * V28 + 12 / 14 * ((C29 - C30) * V29 + 12 / 14 * ((C30 - C31) * V30 + 12 / 14 * ((C31 - C32) * V31 + 12 / 14 * ((C32 - C33) * V32 + 12 / 14 * ((C33 - C34) * V33 + 12 / 14 * ((C34 - C) * V34 + 12 / 14 * ((C35 - C) * V35 + 12 / 14 * ((C36 - C) * V36 + 12 / 14 * ((C37 - C) * V37 + 12 / 14 * ((C38 - C) * V38 + 12 / 14 * ((C39 - C) * V39 + 12 / 14 * ((C40 - C) * V40 + 12 / 14 * ((C41 - C) * V41 + 12 / 14 * ((C42 - C) * V42 + 12 / 14 * ((C43 - C) * V43 + 12 / 14 * ((C44 - C) * V44))))))))))))))))))))))))))))))))))))))))))))) / (7 - 12 / 2 * (12 / 14) ^ 44)

-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.