Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/7/2010 Posts: 168
|
how do you right a pcf for a down trend ...down trend being... 5 days ago (not including today) closed lower then the preceding day...thank you ..and a link to a tutorial that helps you with this (all links ) or a page that has all the links organized thanks again
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for each of the 5-bars ending 1-bar ago having a negative net change could be written as:
C1 < C2 AND C2 < C3 AND C3 < C4 AND C4 < C5 AND C5 < C6
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/7/2010 Posts: 168
|
bruce what do you make of these results I put in your formula and this is what came up in the scan
check these out ....should these have shown up in this scan according to the criteria?
BXP,PCL, JCP,CTL,FDO,HCN
this scan was done 5 min. prior to this post 8:10 pm ... But I guess time will be posted anyway
there were a lot more that should not have been in their ...what do you make of this?
|
|
Registered User Joined: 3/7/2010 Posts: 168
|
also is this the formula I would use ....for each candle going back six days making a lower low and a lower high
(L1 > L2) AND (L2 > L3) AND (L3 > L4) AND (L4 > L5) AND (L5 > L6) and (h1 < h2) (h2 < h3) and (h3 < h4) and (h4 < h5) and (h5 < h6)
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
All of the symbols mentioned should return true for the Condition Formula given (and do). The closing prices for BXP, PCL, JCP, CTL, FDO & HCN were down for the five days in a row ending 5/31/2013. If you mean something else, we will need additional clarification from you.
If you are including the current bar, then a Condition Formula a symbol making both lower lows and higher highs for six days in a row would be:
L < L1 AND L1 < L2 AND L2 < L3 AND L3 < L4 AND L4 < L5 AND L5 < L6 AND H > H1 AND H1 > H2 AND H2 > H3 AND H3 > H4 AND H4 > H5 AND H5 > H6
If you are excluding the current bar, then the Condition Formula would be:
L1 < L2 AND L2 < L3 AND L3 < L4 AND L4 < L5 AND L5 < L6 AND L6 < L7 AND H1 > H2 AND H2 > H3 AND H3 > H4 AND H4 > H5 AND H5 > H6 AND H6 > H7
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/15/2005 Posts: 5
|
How would I write a PCF that shows a clear trend over the last 30 bars? up or down.
Thank you
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I really have no idea what you would see as a "clear trend". Maybe something like the following?
ADX14.14 > 30
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/15/2005 Posts: 5
|
I added this to the prebuilt recent uptrend and downtrend and I think it gives me what I'm looking for.
Thank you
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |