Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.

 Stochastics Scan Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
bdavis3
 Posted : Tuesday, June 26, 2007 7:07:59 PM
Registered User
Joined: 6/2/2006
Posts: 4
One of the steps in my easy scan is: STOC8.3 <= 40

However, the results of the scan has today's values way over 40.

This has got to be simple.

thanks,

bill
Craig_S
 Posted : Tuesday, June 26, 2007 7:34:41 PM

Worden Trainer

Joined: 10/1/2004
Posts: 18,819
What plotted stochastics settings are you using on your chart?

- Craig
Here to Help!
bdavis3
 Posted : Tuesday, June 26, 2007 7:48:11 PM
Registered User
Joined: 6/2/2006
Posts: 4
I set up a new easy scan with just the one stochastics check and it seemed to only pick out those that met that criteria.

Then I added a second one that said that the 50-day moving average had to be up.

It looks like these two were not added, but rather or'd. But then the number of hits went down . . . even more strange. Clearly I'm doing something wrong.

bill
Bruce_L
 Posted : Wednesday, June 27, 2007 8:59:11 AM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138
bdavis3,
I can assure you that an EasyScan does not OR the results. An EasyScan always ANDs its conditions. This explains why the number of hits went down. Adding an EasyScan Condition will never increase the number of results.

The most likely issue is related to Craig's unanswered question, "What plotted stochastics settings are you using on your chart?"

STOC8.3 is the SK for a daily Stochastic with the following settings:

- Period: 8
- SK Period: 3
- SD Period: ?
- Average Type: Simple

If the SD Period were five for example, the formula for the SD would be:

AVG(STOC8.3,5)

If we adjust the Average Type to Exponential:

- Period: 8
- SK Period: 3
- SD Period: 5
- Average Type: Exponential

We would get the following formulas instead:

SK:

XAVG(STOC8,3)

SD:

2 * XAVG(STOC8,5) - XAVG(STOC8,3)

You may wish to review the following:

Understanding Stochastics
Handy PCF example formulas to help you learn the syntax of PCFs!
How to create a Personal Criteria Forumula (PCF)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bdavis3
 Posted : Thursday, June 28, 2007 3:17:16 PM
Registered User
Joined: 6/2/2006
Posts: 4
Thanks for the prompt help. It turns out my problem was truly basic. I knew it had to be something simple, because nothing was working as I expected it to.

Seems I have it set to weekly and not daily, ergo, the scans produced output that appeared to be totally out of whack.

I am just starting to use the program and I'm impressed, thus far.

bill
Bruce_L
 Posted : Thursday, June 28, 2007 3:32:25 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138
bdavis3,
I'm happy to read you were able to figure out what was causing the difference.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
brainfreze1
 Posted : Monday, July 2, 2007 11:16:02 AM
Registered User
Joined: 3/8/2006
Posts: 12
A friend of mind gave me these custom indicators that work really well. I was wondering if their was a way to convert the to TC2007.

Strength % ((Bar [Close,D] - Bar [Low,D])*100)/ (Bar [High, D] - Bar [Low,D])

3 DAY Strength % (((Bar [Close,D,1] - Bar [Low,D,1])*100)/ (Bar [High, D,1] - Bar[Low,D,1]) + ((Bar [Close,D,2] - Bar [Low,D,2])*100)/ (Bar [High, D,2] - Bar [Low,D,2] ) + ((Bar [Close,D,3] - Bar [Low,D,3])*100)/ (Bar [High, D] - Bar [Low,D,3]))/ 3

JAYZ OSC (Stochastic[StocK,6,3,3,D] >= 20) + (Stochastic[StocK,6,3,3,D,1] < Stochastic[StocK,6,3,3,D]) + (Stochastic[StocK,10,3,3,D] >=20) + (Stochastic[StocK,10,3,3,D] > Stochastic[StocK,10,3,3,D,1] ) + (MACD[MACD,Close,8,17,8,D] > MACD[Signal,Close,8,17,8,D] ) + (MACD[MACD,Close,8,17,8,D,1] > MACD[Signal,Close,8,17,8,D,1]) + (MACD[MACD,Close,10,22,8,D] > MACD[Signal,Close,10,22,8,D])
Bruce_L
 Posted : Monday, July 2, 2007 11:47:34 AM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (dogstar)
A friend of mind gave me these custom indicators that work really well. I was wondering if their was a way to convert the to TC2007.

I'm not familiar with the language, so the following will be, to a great extent, guesses.

QUOTE (dogstar)
Strength % ((Bar [Close,D] - Bar [Low,D])*100)/ (Bar [High, D] - Bar [Low,D])

The formula would simply be:

STOC

It is a Stochastic with the following settings:

Period: 1
SK Period: 1
SD Period: 1
Average Type: Doesn't matter (because the SK and SD periods are both 1)

QUOTE (dogstar)
3 DAY Strength % (((Bar [Close,D,1] - Bar [Low,D,1])*100)/ (Bar [High, D,1] - Bar[Low,D,1]) + ((Bar [Close,D,2] - Bar [Low,D,2])*100)/ (Bar [High, D,2] - Bar [Low,D,2] ) + ((Bar [Close,D,3] - Bar [Low,D,3])*100)/ (Bar [High, D] - Bar [Low,D,3]))/ 3

I'm guessing the formula would simply be:

STOC1.3

It might be yesterday's value however:

STOC1.3.1

It is a Stochastic with the following settings:

Period: 1
SK Period: 3
SD Period: 1
Average Type: Simple

QUOTE (dogstar)
JAYZ OSC (Stochastic[StocK,6,3,3,D] >= 20) + (Stochastic[StocK,6,3,3,D,1] < Stochastic[StocK,6,3,3,D]) + (Stochastic[StocK,10,3,3,D] >=20) + (Stochastic[StocK,10,3,3,D] > Stochastic[StocK,10,3,3,D,1] ) + (MACD[MACD,Close,8,17,8,D] > MACD[Signal,Close,8,17,8,D] ) + (MACD[MACD,Close,8,17,8,D,1] > MACD[Signal,Close,8,17,8,D,1]) + (MACD[MACD,Close,10,22,8,D] > MACD[Signal,Close,10,22,8,D])

Considering the fact that Simple Moving Averages were used for Stochastics in the first example, I'm guessing:

AVG(STOC6.3,3) >= 20 AND AVG(STOC6.3.1,3) < AVG(STOC6.3,3) AND AVG(STOC10.3,3) >= 20 AND AVG(STOC10.3,3) > AVG(STOC10.3.1,3) AND XAVGC8 - XAVGC17 > XAVG(XAVGC8,8) - XAVG(XAVGC17,8) AND XAVGC8.1 - XAVGC17.1 > XAVG(XAVGC8.1,8) - XAVG(XAVGC17.1,8) AND XAVGC10 - XAVGC22 > XAVG(XAVGC10,8) - XAVG(XAVGC22,8)

You may wish to review the following:

Adding, removing and saving indicators to a chart template
Understanding MACD
Understanding Stochastics
How to create a Personal Criteria Forumula (PCF)
Visually Backtesting Specific Symbols
Plotting Custom Indicators with Examples
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/18 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 18 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos 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.