Registered User Joined: 1/18/2017 Posts: 4
|
I tried modifying the Chaikin 21 formula found in the forum to a Chaikin 13, but without any success. I am wanting to add criteria to a PCF that identifies when the Chaikin Money Flow 13 is above the Minimum of the preceeding 25 periods.
|
Registered User Joined: 1/18/2017 Posts: 4
|
This Chaikin formula produces a perfect overlay with the canned one in TC2000. However, my MIN calculation does not produce the desired result. What am I missing?
((2 * C - L - H) / (H - L + ABS(H = L)) * V + (2 * C1 - L1 - H1) / (H1 - L1 + ABS(H1 = L1)) * V1 + (2 * C2 - L2 - H2) / (H2 - L2 + ABS(H2 = L2)) * V2 + (2 * C3 - L3 - H3) / (H3 - L3 + ABS(H3 = L3)) * V3 + (2 * C4 - L4 - H4) / (H4 - L4 + ABS(H4 = L4)) * V4 + (2 * C5 - L5 - H5) / (H5 - L5 + ABS(H5 = L5)) * V5 + (2 * C6 - L6 - H6) / (H6 - L6 + ABS(H6 = L6)) * V6 + (2 * C7 - L7 - H7) / (H7 - L7 + ABS(H7 = L7)) * V7 + (2 * C8 - L8 - H8) / (H8 - L8 + ABS(H8 = L8)) * V8 + (2 * C9 - L9 - H9) / (H9 - L9 + ABS(H9 = L9)) * V9 + (2 * C10 - L10 - H10) / (H10 - L10 + ABS(H10 = L10)) * V10 + (2 * C11 - L11 - H11) / (H11 - L11 + ABS(H11 = L11)) * V11 + (2 * C12 - L12 - H12) / (H12 - L12 + ABS(H12 = L12)) * V12 )/AvgV13*13 >
MIN((((2 * C - L - H) / (H - L + ABS(H = L)) * V + (2 * C1 - L1 - H1) / (H1 - L1 + ABS(H1 = L1)) * V1 + (2 * C2 - L2 - H2) / (H2 - L2 + ABS(H2 = L2)) * V2 + (2 * C3 - L3 - H3) / (H3 - L3 + ABS(H3 = L3)) * V3 + (2 * C4 - L4 - H4) / (H4 - L4 + ABS(H4 = L4)) * V4 + (2 * C5 - L5 - H5) / (H5 - L5 + ABS(H5 = L5)) * V5 + (2 * C6 - L6 - H6) / (H6 - L6 + ABS(H6 = L6)) * V6 + (2 * C7 - L7 - H7) / (H7 - L7 + ABS(H7 = L7)) * V7 + (2 * C8 - L8 - H8) / (H8 - L8 + ABS(H8 = L8)) * V8 + (2 * C9 - L9 - H9) / (H9 - L9 + ABS(H9 = L9)) * V9 + (2 * C10 - L10 - H10) / (H10 - L10 + ABS(H10 = L10)) * V10 + (2 * C11 - L11 - H11) / (H11 - L11 + ABS(H11 = L11)) * V11 + (2 * C12 - L12 - H12) / (H12 - L12 + ABS(H12 = L12)) * V12 )/AvgV13*13)1,25)
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I think it is just that you didn't increase the bars ago parameter in the CMF calculations for the second half of the formula. That said, this can be written in a shorter format for TC2000 v17.
AVG((2 * C - L - H) / (H - L - (H = L)) * V, 13) / (AVGV13 - (AVGV13 = 0)) > MIN(AVG((2 * C1 - L1 - H1) / (H1 - L1 - (H1 = L1)) * V1, 13) / (AVGV13.1 - (AVGV13.1 = 0)), 25)
Version 17 PCF Capabilities
-Bruce Personal Criteria Formulas TC2000 Support Articles
|