Gold Customer
Joined: 6/23/2015 Posts: 20
|
Hi Bruce,
Would like to develop a PCF for the following,
In order from current day to the past 6 days in sequence.
Gap up at open and close at high and also having a long tail about twice the size of the body. (Day 1)
Gap down at open and close at low of the day but also has a shadow tail which is minimum about twice the body size. (Day 2)
Gap up at open but close at low of the day but also higher than close of Day 2 (Day 3)
Gap down at open but close at high, with closing price being also higher than close of Day 3 (Day 4)
Gap up at open, but close at lows of the day but higher than close of Day 4 (Day 5)
Gap up Day today (Day 6)
Regards,
M
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If the open just needs to be above the previous close for a gap up.
O > C1 AND O1 > C2 AND C1 = L1 AND C1 > C2 AND O2 < C3 AND C2 = H2 AND C2 > C3 AND O3 > C4 AND C3 = L3 AND C3 > C4 AND O4 < C5 AND C4 = L4 AND H4 - O4 >= 2 * (O4 - C4) AND O5 > C6 AND C5 = H5 AND O5 - L5 >= 2 * (O5 - C5)
If the open needs to be above the previous high for a gap up.
O > H1 AND O1 > H2 AND C1 = L1 AND C1 > C2 AND O2 < L3 AND C2 = H2 AND C2 > C3 AND O3 > H4 AND C3 = L3 AND C3 > C4 AND O4 < L5 AND C4 = L4 AND H4 - O4 >= 2 * (O4 - C4) AND O5 > H6 AND C5 = H5 AND O5 - L5 >= 2 * (O5 - C5)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|