Registered User Joined: 7/7/2008 Posts: 115
|
How to create such a pcf? v17 as well as v12
1. Bar range (H-L) should be within 5%
2. For 4 consecutive days
Any help is much appreciated, thx.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If each bar needs to have a 5% range or less but the range of all 4 bars can be more than 5%, you could use the following in TC2000 v17+.
TrueInRow(H <= 1.05 * L, 4) = 4
And the following in earlier versions of TC2000.
H <= 1.05 * L AND H1 <= 1.05 * L1 AND H2 <= 1.05 * L2 AND H3 <= 1.05 * L3
If the entire range of all four bars needs to be less than or equal to 5%:
MAXH4 <= 1.05 * MINL4
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 7/7/2008 Posts: 115
|
Thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|