Registered User Joined: 1/10/2012 Posts: 7
|
Hi,
I would like to chart 20 period rate of change for OBV and William's A/D. How do I do that?
Thank you.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for the 20-Period Rate of Change in OBV could be written as:
OBV - OBV1.20
A Condition Formula for the 20-Period Rate oof Change in TC2000's William's A/D indicator could be written as:
((C < C1) * (C1 + H + ABS(C1 - H) - 2 * C) + (C > C1) * (C1 + L - ABS(C1 - L) - 2 * C) + (C1 < C2) * (C1 + H1 + ABS(C2 - H1) - 2 * C1) + (C1 > C2) * (C2 + L1 - ABS(C2 - L1) - 2 * C1) + (C2 < C3) * (C1 + H2 + ABS(C3 - H2) - 2 * C2) + (C2 > C3) * (C3 + L2 - ABS(C3 - L2) - 2 * C2) + (C3 < C4) * (C1 + H3 + ABS(C4 - H3) - 2 * C3) + (C3 > C4) * (C4 + L3 - ABS(C4 - L3) - 2 * C3) + (C4 < C5) * (C1 + H4 + ABS(C5 - H4) - 2 * C4) + (C4 > C5) * (C5 + L4 - ABS(C5 - L4) - 2 * C4) + (C5 < C6) * (C1 + H5 + ABS(C6 - H5) - 2 * C5) + (C5 > C6) * (C6 + L5 - ABS(C6 - L5) - 2 * C5) + (C6 < C7) * (C1 + H6 + ABS(C7 - H6) - 2 * C6) + (C6 > C7) * (C7 + L6 - ABS(C7 - L6) - 2 * C6) + (C7 < C8) * (C1 + H7 + ABS(C8 - H7) - 2 * C7) + (C7 > C8) * (C8 + L7 - ABS(C8 - L7) - 2 * C7) + (C8 < C9) * (C1 + H8 + ABS(C9 - H8) - 2 * C8) + (C8 > C9) * (C9 + L8 - ABS(C9 - L8) - 2 * C8) + (C9 < C10) * (C1 + H9 + ABS(C10 - H9) - 2 * C9) + (C9 > C10) * (C10 + L9 - ABS(C10 - L9) - 2 * C9) + (C10 < C11) * (C1 + H10 + ABS(C11 - H10) - 2 * C10) + (C10 > C11) * (C11 + L10 - ABS(C11 - L10) - 2 * C10) + (C11 < C12) * (C1 + H11 + ABS(C12 - H11) - 2 * C11) + (C11 > C12) * (C12 + L11 - ABS(C12 - L11) - 2 * C11) + (C12 < C13) * (C1 + H12 + ABS(C13 - H12) - 2 * C12) + (C12 > C13) * (C13 + L12 - ABS(C13 - L12) - 2 * C12) + (C13 < C14) * (C1 + H13 + ABS(C14 - H13) - 2 * C13) + (C13 > C14) * (C14 + L13 - ABS(C14 - L13) - 2 * C13) + (C14 < C15) * (C1 + H14 + ABS(C15 - H14) - 2 * C14) + (C14 > C15) * (C15 + L14 - ABS(C15 - L14) - 2 * C14) + (C15 < C16) * (C1 + H15 + ABS(C16 - H15) - 2 * C15) + (C15 > C16) * (C16 + L15 - ABS(C16 - L15) - 2 * C15) + (C16 < C17) * (C1 + H16 + ABS(C17 - H16) - 2 * C16) + (C16 > C17) * (C17 + L16 - ABS(C17 - L16) - 2 * C16) + (C17 < C18) * (C1 + H17 + ABS(C18 - H17) - 2 * C17) + (C17 > C18) * (C18 + L17 - ABS(C18 - L17) - 2 * C17) + (C18 < C19) * (C1 + H18 + ABS(C19 - H18) - 2 * C18) + (C18 > C19) * (C19 + L18 - ABS(C19 - L18) - 2 * C18) + (C19 < C20) * (C1 + H19 + ABS(C20 - H19) - 2 * C19) + (C19 > C20) * (C20 + L19 - ABS(C20 - L19) - 2 * C19) + (C20 < C21) * (C1 + H20 + ABS(C21 - H20) - 2 * C20) + (C20 > C21) * (C21 + L20 - ABS(C21 - L20) - 2 * C20)) / 2
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: 1/10/2012 Posts: 7
|
Wonderful. Bruce, you're a ton of help. Thank you and have yourself a great weekend!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|