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 |

down trend Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
stevehchis
Posted : Sunday, June 2, 2013 1:27:06 PM
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

Bruce_L
Posted : Monday, June 3, 2013 10:19:15 AM


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
stevehchis
Posted : Monday, June 3, 2013 8:18:25 PM
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?

 

 

stevehchis
Posted : Monday, June 3, 2013 9:09:05 PM
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)
 
Bruce_L
Posted : Tuesday, June 4, 2013 9:04:35 AM


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
Gemini12
Posted : Monday, January 21, 2019 2:32:55 PM
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

 

Bruce_L
Posted : Tuesday, January 22, 2019 10:37:11 AM


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
Gemini12
Posted : Tuesday, January 22, 2019 11:12:38 AM
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

Bruce_L
Posted : Tuesday, January 22, 2019 11:18:45 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.