Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PCF for comparing candle-bodies and outside and inside BB and flag pole Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jfisamm
Posted : Thursday, September 16, 2010 3:06:12 AM
Registered User
Joined: 12/18/2004
Posts: 44
i'd like pcfs for 1)a ratio comparing the average candle-bodies for the recent past 5 days with the average candle-bodies 30 days excluding the recent 5 days..(.i only want to compare the bodies, not the tails.) 2)today's hi is Outside upper bollinger bands and the close is Inside upper bb and 3) today's low is Outside lower bb and the close in is Inside lower bb. two settings for Bollinger bands a) 20 period and 20 width and also b) 20 period and 25 width, pcf for each B Band setting 4)price rises greater than 15% in last 20 days, excluding recent 5 days 5)max price hi recent 5 days is below the max price hi in 20 days and the min price low in recent 5 days is greater then 70% of max price hi in 20 days ( falling flag consolidating in the upper 30% of the big move) 6) avgv5 < avgv20.5X75% 7) reverse for pcf #4 and #5 for bear flag after a big move down ( #4 and #5 are trying to locate bull/bear flag or pennant w/ lower volume after the big move) 8)Daily and weekly (Monday to Friday) and monthly (previous month,Aug 2,2010 to Aug 31,2010) pivots w/ Pivots, R1 R2 S1 S2 using standard hi+low+c/3 Thank you very much for your help and take your time jfisamm
Bruce_L
Posted : Thursday, September 16, 2010 9:55:11 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (jfisamm)
a ratio comparing the average candle-bodies for the recent past 5 days with the average candle-bodies 30 days excluding the recent 5 days..(.i only want to compare the bodies, not the tails.)

5 * (ABS(O - C) + ABS(O1 - C1) + ABS(O2 - C2) + ABS(O3 - C3) + ABS(O4 - C4)) / (ABS(O5 - C5) + ABS(O6 - C6) + ABS(O7 - C7) + ABS(O8 - C8) + ABS(O9 - C9) + ABS(O10 - C10) + ABS(O11 - C11) + ABS(O12 - C12) + ABS(O13 - C13) + ABS(O14 - C14) + ABS(O15 - C15) + ABS(O16 - C16) + ABS(O17 - C17) + ABS(O18 - C18) + ABS(O19 - C19) + ABS(O20 - C20) + ABS(O21 - C21) + ABS(O22 - C22) + ABS(O23 - C23) + ABS(O24 - C24) + ABS(O25 - C25) + ABS(O26 - C26) + ABS(O27 - C27) + ABS(O28 - C28) + ABS(O29 - C29))

QUOTE (jfisamm)
today's hi is Outside upper bollinger bands and the close is Inside upper bb ... 20 period and 20 width

H > AVGC20 + 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19) AND C < AVGC20 + 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)

QUOTE (jfisamm)
today's hi is Outside upper bollinger bands and the close is Inside upper bb ... 20 period and 25 width

H > AVGC20 + 2.5 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19) AND C < AVGC20 + 2.5 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)

QUOTE (jfisamm)
today's low is Outside lower bb and the close in is Inside lower bb ... 20 period and 20 width

L < AVGC20 - 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19) AND C > AVGC20 - 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)

QUOTE (jfisamm)
today's low is Outside lower bb and the close in is Inside lower bb ... 20 period and 25 width

L < AVGC20 - 2.5 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19) AND C > AVGC20 - 2.5 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)

QUOTE (jfisamm)
4)price rises greater than 15% in last 20 days, excluding recent 5 days

C18 / C19 > 1.15 OR C17 / C19 > 1.15 OR C16 / C19 > 1.15 OR C15 / C19 > 1.15 OR C14 / C19 > 1.15 OR C13 / C19 > 1.15 OR C12 / C19 > 1.15 OR C11 / C19 > 1.15 OR C10 / C19 > 1.15 OR C9 / C19 > 1.15 OR C8 / C19 > 1.15 OR C7 / C19 > 1.15 OR C6 / C19 > 1.15 OR C5 / C19 > 1.15 OR C17 / C18 > 1.15 OR C16 / C18 > 1.15 OR C15 / C18 > 1.15 OR C14 / C18 > 1.15 OR C13 / C18 > 1.15 OR C12 / C18 > 1.15 OR C11 / C18 > 1.15 OR C10 / C18 > 1.15 OR C9 / C18 > 1.15 OR C8 / C18 > 1.15 OR C7 / C18 > 1.15 OR C6 / C18 > 1.15 OR C5 / C18 > 1.15 OR C16 / C17 > 1.15 OR C15 / C17 > 1.15 OR C14 / C17 > 1.15 OR C13 / C17 > 1.15 OR C12 / C17 > 1.15 OR C11 / C17 > 1.15 OR C10 / C17 > 1.15 OR C9 / C17 > 1.15 OR C8 / C17 > 1.15 OR C7 / C17 > 1.15 OR C6 / C17 > 1.15 OR C5 / C17 > 1.15 OR C15 / C16 > 1.15 OR C14 / C16 > 1.15 OR C13 / C16 > 1.15 OR C12 / C16 > 1.15 OR C11 / C16 > 1.15 OR C10 / C16 > 1.15 OR C9 / C16 > 1.15 OR C8 / C16 > 1.15 OR C7 / C16 > 1.15 OR C6 / C16 > 1.15 OR C5 / C16 > 1.15 OR C14 / C15 > 1.15 OR C13 / C15 > 1.15 OR C12 / C15 > 1.15 OR C11 / C15 > 1.15 OR C10 / C15 > 1.15 OR C9 / C15 > 1.15 OR C8 / C15 > 1.15 OR C7 / C15 > 1.15 OR C6 / C15 > 1.15 OR C5 / C15 > 1.15 OR C13 / C14 > 1.15 OR C12 / C14 > 1.15 OR C11 / C14 > 1.15 OR C10 / C14 > 1.15 OR C9 / C14 > 1.15 OR C8 / C14 > 1.15 OR C7 / C14 > 1.15 OR C6 / C14 > 1.15 OR C5 / C14 > 1.15 OR C12 / C13 > 1.15 OR C11 / C13 > 1.15 OR C10 / C13 > 1.15 OR C9 / C13 > 1.15 OR C8 / C13 > 1.15 OR C7 / C13 > 1.15 OR C6 / C13 > 1.15 OR C5 / C13 > 1.15 OR C11 / C12 > 1.15 OR C10 / C12 > 1.15 OR C9 / C12 > 1.15 OR C8 / C12 > 1.15 OR C7 / C12 > 1.15 OR C6 / C12 > 1.15 OR C5 / C12 > 1.15 OR C10 / C11 > 1.15 OR C9 / C11 > 1.15 OR C8 / C11 > 1.15 OR C7 / C11 > 1.15 OR C6 / C11 > 1.15 OR C5 / C11 > 1.15 OR C9 / C10 > 1.15 OR C8 / C10 > 1.15 OR C7 / C10 > 1.15 OR C6 / C10 > 1.15 OR C5 / C10 > 1.15 OR C8 / C9 > 1.15 OR C7 / C9 > 1.15 OR C6 / C9 > 1.15 OR C5 / C9 > 1.15 OR C7 / C8 > 1.15 OR C6 / C8 > 1.15 OR C5 / C8 > 1.15 OR C6 / C7 > 1.15 OR C5 / C7 > 1.15 OR C5 / C6 > 1.15

QUOTE (jfisamm)
5)max price hi recent 5 days is below the max price hi in 20 days and the min price low in recent 5 days is greater then 70% of max price hi in 20 days

MAXH5 < MAXH20 AND MINL5 > .7 * MAXH20

QUOTE (jfisamm)
avgv5 < avgv20.5X75%

AVGV5 < .75 * AVGV20.5

QUOTE (jfisamm)
reverse for pcf #4...

C18 / C19 < .85 OR C17 / C19 < .85 OR C16 / C19 < .85 OR C15 / C19 < .85 OR C14 / C19 < .85 OR C13 / C19 < .85 OR C12 / C19 < .85 OR C11 / C19 < .85 OR C10 / C19 < .85 OR C9 / C19 < .85 OR C8 / C19 < .85 OR C7 / C19 < .85 OR C6 / C19 < .85 OR C5 / C19 < .85 OR C17 / C18 < .85 OR C16 / C18 < .85 OR C15 / C18 < .85 OR C14 / C18 < .85 OR C13 / C18 < .85 OR C12 / C18 < .85 OR C11 / C18 < .85 OR C10 / C18 < .85 OR C9 / C18 < .85 OR C8 / C18 < .85 OR C7 / C18 < .85 OR C6 / C18 < .85 OR C5 / C18 < .85 OR C16 / C17 < .85 OR C15 / C17 < .85 OR C14 / C17 < .85 OR C13 / C17 < .85 OR C12 / C17 < .85 OR C11 / C17 < .85 OR C10 / C17 < .85 OR C9 / C17 < .85 OR C8 / C17 < .85 OR C7 / C17 < .85 OR C6 / C17 < .85 OR C5 / C17 < .85 OR C15 / C16 < .85 OR C14 / C16 < .85 OR C13 / C16 < .85 OR C12 / C16 < .85 OR C11 / C16 < .85 OR C10 / C16 < .85 OR C9 / C16 < .85 OR C8 / C16 < .85 OR C7 / C16 < .85 OR C6 / C16 < .85 OR C5 / C16 < .85 OR C14 / C15 < .85 OR C13 / C15 < .85 OR C12 / C15 < .85 OR C11 / C15 < .85 OR C10 / C15 < .85 OR C9 / C15 < .85 OR C8 / C15 < .85 OR C7 / C15 < .85 OR C6 / C15 < .85 OR C5 / C15 < .85 OR C13 / C14 < .85 OR C12 / C14 < .85 OR C11 / C14 < .85 OR C10 / C14 < .85 OR C9 / C14 < .85 OR C8 / C14 < .85 OR C7 / C14 < .85 OR C6 / C14 < .85 OR C5 / C14 < .85 OR C12 / C13 < .85 OR C11 / C13 < .85 OR C10 / C13 < .85 OR C9 / C13 < .85 OR C8 / C13 < .85 OR C7 / C13 < .85 OR C6 / C13 < .85 OR C5 / C13 < .85 OR C11 / C12 < .85 OR C10 / C12 < .85 OR C9 / C12 < .85 OR C8 / C12 < .85 OR C7 / C12 < .85 OR C6 / C12 < .85 OR C5 / C12 < .85 OR C10 / C11 < .85 OR C9 / C11 < .85 OR C8 / C11 < .85 OR C7 / C11 < .85 OR C6 / C11 < .85 OR C5 / C11 < .85 OR C9 / C10 < .85 OR C8 / C10 < .85 OR C7 / C10 < .85 OR C6 / C10 < .85 OR C5 / C10 < .85 OR C8 / C9 < .85 OR C7 / C9 < .85 OR C6 / C9 < .85 OR C5 / C9 < .85 OR C7 / C8 < .85 OR C6 / C8 < .85 OR C5 / C8 < .85 OR C6 / C7 < .85 OR C5 / C7 < .85 OR C5 / C6 < .85

QUOTE (jfisamm)
...and #5

MINL5 > MINL20 AND MAXH5 < MINL20 / .7

QUOTE (jfisamm)
Daily and weekly (Monday to Friday) and monthly (previous month,Aug 2,2010 to Aug 31,2010) pivots w/ Pivots, R1 R2 S1 S2 using standard hi+low+c/3

I do not know of a practical automated mothed of creating Calender Week or Calender Month Personal Criteria Formula in TeleChart.

How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
Modelling Bollinger Bands (& Standard Deviation) in a TC PCF

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jfisamm
Posted : Friday, September 17, 2010 5:34:35 AM
Registered User
Joined: 12/18/2004
Posts: 44
Thank you Bruce so much for your helpRegarding weekly Pivot, let's assume we do the calculation on Friday close and the reading would be max hi, min low and close for the past 5 days ?As for monthly pivots,can we just find the max hi , min low and close between Aug 2, 2010 and Aug 31,2010?.I remember there is way finding Max hi or low between certain dates....just by entering the dates in the formula.Thanks againjfisamm
Bruce_L
Posted : Friday, September 17, 2010 10:26:56 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (jfisamm)
As for monthly pivots,can we just find the max hi , min low and close between Aug 2, 2010 and Aug 31,2010?.I remember there is way finding Max hi or low between certain dates....just by entering the dates in the formula.

You are either misremembering or you misunderstood what you read. The date based forms of MAXH and MINL can substitute a date for the Bars Ago parameter but still require Period. This means you need to know both the exact end date of the Week or Month and the number of Trading Days in that Week or Month to be able to write a formula.

So let's take the current Week and the previous Week. A Personal Criteria Formula to match the High of the current Weekly Bar on the Charts would be:

MAXH5

While the Calendar Week version would be (this should currently match the Charts if you are updated through today as well, but won't match the Charts on Monday):

MAXH5.'09/17/2010'

A PCF to match the High of the previous Weekly Bar on the Charts would be:

MAXH5.5

While the Calender Week version would be (this would not match the Charts):

MAXH4.'09/10/2010'

A PCF for the High of the current Monthly Bar that would match the Charts would be:

MAXH21

While the formula for the current Calendar Week Bar could not be calculated yet:

MAXH21.'09/30/2010'

A PCF for the High of the previous Monthly Bar that would match the Charts would be:

MAXH21.21

While the formula for the previous Calender Week Bar would be:

MAXH22.'08/31/2010'

The following formulas are designed to match the Charts. If you want Calendar Weeks or Months, you would need to substitute the appropriate Periods and end dates in each of the Weekly and Monthly formulas.

Pivot Point:
Current:
(H + L + C) / 3
Weekly:
(MAXH5 + MINL5 + C) / 3
Monthly:
(MAXH21 + MINL21 + C) / 3
Previous:
(H1 + L1 + C1) / 3
Weekly:
(MAXH5.5 + MINL5.5 + C5) / 3
Monthly:
(MAXH21.21 + MINL21.21 + C21) / 3

Resistance Level 1:
Current:
2 * (H + L + C) / 3 - L
Weekly:
2 * (MAXH5 + MINL5 + C) / 3 - MINL5
Monthly:
2 * (MAXH21 + MINL21 + C) / 3 - MINL21
Previous:
2 * (H1 + L1 + C1) / 3 - L1
Weekly:
2 * (MAXH5.5 + MINL5.5 + C5) / 3 - MINL5.5
Monthly:
2 * (MAXH21.21 + MINL21.21 + C21) / 3 - MINL21.21

Support Level 1:
Current:
2 * (H + L + C) / 3 - H
Weekly:
2 * (MAXH5 + MINL5 + C) / 3 - MAXH5
Monthly:
2 * (MAXH21 + MINL21 + C) / 3 - MAXH21
Previous:
2 * (H1 + L1 + C1) / 3 - H1
Weekly:
2 * (MAXH5.5 + MINL5.5 + C5) / 3 - MAXH5.5
Monthly:
2 * (MAXH21.21 + MINL21.21 + C21) / 3 - MAXH21.21

Resistance Level 2:
Current:
(H + L + C) / 3 + H - L
Weekly:
(MAXH5 + MINL5 + C) / 3 + MAXH5 - MINL5
Monthly:
(MAXH21 + MINL21 + C) / 3 + MAXH21 - MINL21
Previous:
(H1 + L1 + C1) / 3 + H1 - L1
Weekly:
(MAXH5.5 + MINL5.5 + C5) / 3 + MAXH5.5 - MINL5.5
Monthly:
(MAXH21.21 + MINL21.21 + C21) / 3 + MAXH21.21 - MINL21.21

Support Level 2:
Current:
(H + L + C) / 3 - H + L
Weekly:
(MAXH5 + MINL5 + C) / 3 - MAXH5 + MINL5
Monthly:
(MAXH21 + MINL21 + C) / 3 - MAXH21 + MINL21
Previous:
(H1 + L1 + C1) / 3 - H1 + L1
Weekly:
(MAXH5.5 + MINL5.5 + C5) / 3 - MAXH5.5 + MINL5.5
Monthly:
(MAXH21.21 + MINL21.21 + C21) / 3 - MAXH21.21 + MINL21.21

Resistance Level 3:
Current:
H + 2 * ((H + L + C) / 3 - L)
Weekly:
MAXH5 + 2 * ((MAXH5 + MINL5 + C) / 3 - MINL5)
Monthly:
MAXH21 + 2 * ((MAXH21 + MINL21 + C) / 3 - MINL21)
Previous:
H1 + 2 * ((H1 + L1 + C1) / 3 - L1)
Weekly:
MAXH5.5 + 2 * ((MAXH5.5 + MINL5.5 + C5) / 3 - MINL5.5)
Monthly:
MAXH21.21 + 2 * ((MAXH21.21 + MINL21.21 + C21) / 3 - MINL21.21)

Support Level 3:
Current:
L - 2 * (H - (H + L + C) / 3)
Weekly:
MINL5 - 2 * (MAXH5 - (MAXH5 + MINL5 + C) / 3)
Monthly:
MINL21 - 2 * (MAXH21 - (MAXH21 + MINL21 + C) / 3)
Previous:
L1 - 2 * (H1 - (H1 + L1 + C1) / 3)
Weekly:
MINL5.5 - 2 * (MAXH5.5 - (MAXH5.5 + MINL5.5 + C5) / 3)
Monthly:
MINL21.21 - 2 * (MAXH21.21 - (MAXH21.21 + MINL21.21 + C21) / 3)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jfisamm
Posted : Tuesday, September 21, 2010 4:56:58 AM
Registered User
Joined: 12/18/2004
Posts: 44
Thank you so much Bruce, i really appreciate your helpPlease offer some improvements for the following PCFs:1)Short term strong uptrend: Xavgc8 > xavgc 8.1 and xavgc2 >xavgc2.12)today is a down day : O>C3)today close is within 5% of yesterday's high:C>h1X95%4)today body is greater then average 5 days body times 1.5 : abs (o-C) > avg(abso5-c5)X1.5i'd a master pcf combing all the above conditions into one single PCF and one more PCF from BB: pcf for the Hi is Outside upper BB (20 perid and 25 width ) and C is inside upper BB ( 20 and 20) and the reverse where low is outside lower BB ( 20 and 25) and C is inside lower BB ( 20 and 20)Thanks againjfisamm
Bruce_L
Posted : Tuesday, September 21, 2010 10:38:24 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (jfisamm)
Please offer some improvements for the following PCFs

I really can't suggest improvements as the trainers can't give setting, interpretation or investment advice. All I can do is show you how to implement your unambiguous objective definitions using our products.

Even in this case it should be understood that we do not offer a Personal Criteria Formula creation service. While completed solutions may be provided, they are for educational purposes only and are designed to hopefully help you learn how to create solutions on your own.

QUOTE (jfisamm)
Short term strong uptrend: Xavgc8 > xavgc 8.1 and xavgc2 >xavgc2.1

You appear to have a complete Personal Criteria formula in:

XAVGC8 > XAVGC8.1 AND XAVGC2 > XAVGC2.1

QUOTE (jfisamm)
today is a down day : O>C

While I would normally consider a down day to be C < C1 (a Net Change based definition), some people (mostly candlestick devotees) consider your formula to be a down day as well. As with the first section, you appear to already have a complete PCF in:

O > C

QUOTE (jfisamm)
)today close is within 5% of yesterday's high:C>h1X95%

C >= .95 * H1

QUOTE (jfisamm)
today body is greater then average 5 days body times 1.5 : abs (o-C) > avg(abso5-c5)X1.5

ABS(O - C) > 1.5 * (ABS(O1 - C1) + ABS(O2 - C2) + ABS(O3 - C3) + ABS(O4 - C4) + ABS(O5 - C5)) / 5

QUOTE (jfisamm)
i'd a master pcf combing all the above conditions into one single PCF

XAVGC8 > XAVGC8.1 AND XAVGC2 > XAVGC2.1 AND O > C AND C >= .95 * H1 AND ABS(O - C) > 1.5 * (ABS(O1 - C1) + ABS(O2 - C2) + ABS(O3 - C3) + ABS(O4 - C4) + ABS(O5 - C5)) / 5

QUOTE (jfisamm)
Hi is Outside upper BB (20 perid and 25 width ) and C is inside upper BB ( 20 and 20)

H > AVGC20 + 2.5 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19) AND C < AVGC20 + 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)

QUOTE (jfisamm)
low is outside lower BB ( 20 and 25) and C is inside lower BB ( 20 and 20)

L < AVGC20 - 2.5 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19) AND C > AVGC20 - 2 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 19)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jfisamm
Posted : Sunday, October 10, 2010 7:56:29 PM
Registered User
Joined: 12/18/2004
Posts: 44
Thank you Bruce,you guys are wonderful..PCF for Bull kicker is (O1>C1) AND (O >=O1) AND (C>O),but i want to add another condition, ie today's body is greater than the average of past 5 day's bodies, excluding today, by 25%. Same for bear kicker w/ relatively big body. Also,can you suggest a method/scan/pcf to find stocks in a healthy trend,(some thing like xavgc10>xavgc10.5 and xavgc10.5>xavgc10.10 and xavgc10>xvgc50 ,etc) either or down,in the past 20 days, but with tight bodies and min tails?with my TC Gold EOD,will all the PCFs be updated,during the trading day only with 20-30 min delay ?If i want to find cross-over between price, indicators,indicators of indicators,which is easier,generally speaking, Telechart or StockFinder ?Thanks againjfisamm
Bruce_L
Posted : Monday, October 11, 2010 9:47:51 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (jfisamm)
PCF for Bull kicker is (O1>C1) AND (O >=O1) AND (C>O),but i want to add another condition, ie today's body is greater than the average of past 5 day's bodies, excluding today, by 25%.

O1 > C1 AND O >= O1 AND C > O AND ABS(O - C) > 1.25 * (ABS(O1 - C1) + ABS(O2 - C2) + ABS(O3 - C3) + ABS(O4 - C4) + ABS(O5 - C5)) / 5

QUOTE (jfisamm)
Same for bear kicker w/ relatively big body.

Just add the following to the end of your Bear Kicker formula:

AND ABS(O - C) > 1.25 * (ABS(O1 - C1) + ABS(O2 - C2) + ABS(O3 - C3) + ABS(O4 - C4) + ABS(O5 - C5)) / 5

QUOTE (jfisamm)
Also,can you suggest a method/scan/pcf to find stocks in a healthy trend,(some thing like xavgc10>xavgc10.5 and xavgc10.5>xavgc10.10 and xavgc10>xvgc50 ,etc) either or down,in the past 20 days, but with tight bodies and min tails?

No, as you have no provided unambiguous objective definitions of "healthy trend", "tight bodies" and "min tails" (although you came very close with your PCF example for healthy trend).

QUOTE (jfisamm)
with my TC Gold EOD,will all the PCFs be updated,during the trading day only with 20-30 min delay ?

If you Update both your data and your Personal Criteria Formulas, then yes, your PCFs will use the most recently downloaded 20-Minute delayed Daily data in their calculations.

QUOTE (jfisamm)
If i want to find cross-over between price, indicators,indicators of indicators,which is easier,generally speaking, Telechart or StockFinder ?

As StockFinder generally just requires getting the Indicators into the same Pane and Scale and then Dragging and Dropping them onto each other to create the Condition, I would say it is probably easier in StockFinder.

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