Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF for the following sequence of days Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bostonbombay
Posted : Thursday, January 17, 2019 12:27:29 AM
Gold Customer 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

Bruce_L
Posted : Thursday, January 17, 2019 9:47:49 AM


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
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.