Registered User Joined: 10/13/2011 Posts: 38
|
Hi,
I'm looking for an scan for the following criteria:
1. A consolidation period of at least 30 bars (preferably within a % range but not necessary)
2. Price breaks above high of consolidation range
3. Volume on breakout bar is greater than 50 day average
4. Occured within the last 5 trading days
I tried to search for similar ones but couldn't find any that worked.
Thanks much!
Yi
|
Registered User Joined: 10/13/2011 Posts: 38
|
QUOTE (yifense86)
Hi,
I'm looking for an scan for the following criteria:
1. A consolidation period of at least 30 bars (preferably within a % range but not necessary)
2. Price breaks above high of consolidation range
3. Volume on breakout bar is greater than 50 day average
4. Occured within the last 5 trading days
I tried to search for similar ones but couldn't find any that worked.
Thanks much!
Yi
Note one #1: It can be either a horizontal base or a downward sloping channel with the breakout above the top falling channel line instead of the high of the base (Not sure if this is possible)
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you wanted the range over the previous 30 bars to be less than or equal to 10%, you could write that as follows.
MAXH30.1 <= 1.1 * MINL30.1
Checking for price to be above the top of that range can be written as follows.
C > MAXH30.1
Checking for volume being above the 50 day average can be written as follows.
V > AVGV50
So we can combine the above as follows.
MAXH30.1 <= 1.1 * MINL30.1 AND C > MAXH30.1 AND V > AVGV50
Checking for this happening within the most recent 5 bars can be written as follows in TC2000 v17.
CountTrue(MAXH30.1 <= 1.1 * MINL30.1 AND C > MAXH30.1 AND V > AVGV50, 5) > 0
And as follows in earlier versions of TC2000.
MAXH30.1 <= 1.1 * MINL30.1 AND C > MAXH30.1 AND V > AVGV50 OR MAXH30.2 <= 1.2 * MINL30.2 AND C1 > MAXH30.2 AND V1 > AVGV50.1 OR MAXH30.3 <= 1.3 * MINL30.3 AND C2 > MAXH30.3 AND V2 > AVGV50.2 OR MAXH30.4 <= 1.4 * MINL30.4 AND C3 > MAXH30.4 AND V3 > AVGV50.3 OR MAXH30.5 <= 1.5 * MINL30.5 AND C4 > MAXH30.5 AND V4 > AVGV50.4
-Bruce Personal Criteria Formulas TC2000 Support Articles
|