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

Verify PCF Please? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
riverside
Posted : Monday, May 16, 2016 3:35:06 PM
Gold Customer Gold Customer

Joined: 12/7/2007
Posts: 88

I'm trying to look at the number of stocks down 20% or more from the 52week high, so I wrote:  c1<(H251*.8).  Is this going to generate what I'm looking for?  Thank you.

Bruce_L
Posted : Monday, May 16, 2016 3:51:33 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You probably want something more like the following:

C <= .8 * MAXH252

H251 is the high of 251 bars ago while MAXH252 is the highest high in the most recent 252 bars.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
RODT
Posted : Wednesday, May 18, 2016 3:39:52 PM
Registered User
Joined: 1/9/2005
Posts: 18

Stochastic crossing in a 3 day chart. I have a 3 day chart with a Stochastic 14,5,3 in a window. Can you write me the PCF for the SD5 crossing above the SD3 with the period 14?

Bruce_L
Posted : Wednesday, May 18, 2016 4:10:56 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I'm going to assume you mean SK5 crossing up through SD3 and that the stochastic is simple and not exponential.

STOC14.5 > AVG(STOC14.5,3) AND STOC14.5.1 <= AVG(STOC14.5.1,3)

Understanding Stochastics



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
RODT
Posted : Wednesday, May 18, 2016 4:22:43 PM
Registered User
Joined: 1/9/2005
Posts: 18

Bruce, That's simple. I have the stochastic in a chart where each bar represents 3 days.A long time ago you wrote one for a 4day bar chart and it was more complex. Are you sure you understood my query?

Bruce_L
Posted : Wednesday, May 18, 2016 4:37:36 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I hadn't noticed this was in the v7 forum. In v16, the formulas are the same no matter what the time frame might be. Please try the following Condition Formula instead.

2 * STOC42 + STOC42.1.3 > 2 * STOC42.1.15 + STOC42.1.18 AND 2 * STOC42.1.3 + STOC42.1.6 <= 2 * STOC42.1.18 + STOC42.1.21



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
RODT
Posted : Wednesday, May 18, 2016 5:03:04 PM
Registered User
Joined: 1/9/2005
Posts: 18

Thanks. Looks more like what I expected. I should have noted I use v7. The new version is a bit too complex for this oldtimer. Maybe someday I'll figure out how you do this PCF. Or better yet learn v16.

Bruce_L
Posted : Thursday, May 19, 2016 12:01:04 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I am sorry I didn't catch that the first time, but I'm glad you caught it.



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