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

Narrow range or abs(bar range) within 5% for 4 consecutive days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
IsItPossible
Posted : Saturday, December 23, 2017 10:45:43 AM
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.

Bruce_L
Posted : Tuesday, December 26, 2017 10:19:37 AM


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
IsItPossible
Posted : Wednesday, December 27, 2017 9:42:21 PM
Registered User
Joined: 7/7/2008
Posts: 115

Thanks.

Bruce_L
Posted : Thursday, December 28, 2017 10:16:00 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.