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 |

thanks for all the help - stoc. cross? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
foxbat426
Posted : Saturday, August 23, 2008 8:10:54 PM
Registered User
Joined: 6/24/2008
Posts: 17
hi, i really neglected the scanning feature on telechart thinking it was way over my head - i am really enjoying programming my own scans - thanks craig, taj and all the other trainers fo all of your help! - i am learning alot. 

i do have another question - is there anyway to scan for stochastics cross over - not the 20% cross over, but when the two stoc.hastic  lines actually cross in overbought and oversold territory?

thanks in advance. john
Bruce_L
Posted : Monday, August 25, 2008 9:25:07 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Yes, it is possible, but we would need to know your specific Stochastic Settings to help you write a formula:

- Period: ?
- SK Period: ?
- SD Period: ?
- Average Type: Simple or Exponential?

You may wish to review the following:

Understanding Stochastics

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
foxbat426
Posted : Monday, August 25, 2008 10:51:35 AM
Registered User
Joined: 6/24/2008
Posts: 17
bruce, good morning, what would be the most popular setting for stoc.? - i'm guesssing it is the default settings that come with telechart gold which is 5,3,3, - that would be fine to use just so i can see how its done - thx again, john
Bruce_L
Posted : Tuesday, August 26, 2008 9:57:28 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
TeleChart doesn't actually have any "default" or suggested settings and the trainers can't give setting, interpretation or investment advice. The formulas for crossovers will still depend on your settings (the Average Type was not specified), the direction of the cross and how you define overbought and oversold.

Simple Stochastic 5,3,3 SK xUp SD:

STOC5.3 > AVG(STOC5.3,3) AND STOC5.3.1 <= AVG(STOC5.3.1,3)

Simple Stochastic 5,3,3 SK xDn SD:

STOC5.3 < AVG(STOC5.3,3) AND STOC5.3.1 >= AVG(STOC5.3.1,3)

Simple Stochastic 5,3,3 SK crossing SD (either direction):

SGN(STOC5.3 - AVG(STOC5.3,3)) <> SGN(STOC5.3.1 - AVG(STOC5.3.1,3))

Exponential Stochastic 5,3,3 SK xUp SD:

XAVG(STOC5,3) > .500488758553275 * (XAVG(STOC5,3) + .5 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3))))))))))) AND XAVG(STOC5.1.1,3) <= .500488758553275 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3) + .5 * (XAVG(STOC5.1.10,3)))))))))))

Exponential Stochastic 5,3,3 SK xDn SD:

XAVG(STOC5,3) < .500488758553275 * (XAVG(STOC5,3) + .5 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3))))))))))) AND XAVG(STOC5.1.1,3) >= .500488758553275 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3) + .5 * (XAVG(STOC5.1.10,3)))))))))))

Exponential Stochastic 5,3,3 SK crossing SD (either direction):

SGN(XAVG(STOC5,3) - .500488758553275 * (XAVG(STOC5,3) + .5 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3)))))))))))) <> SGN(XAVG(STOC5.1.1,3) - .500488758553275 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3) + .5 * (XAVG(STOC5.1.10,3))))))))))))

If there is a requirement that the SK be below 20 or above 80, you would need to add something like the following to the end of the formula (connected with an AND):

Simple SK 5,3 below 20:

STOC5.3 < 20

Simple SK 5,3 above 80:

STOC5.3 > 80

Exponential SK 5,3 below 20:

XAVG(STOC5,3) < 20

Exponential SK 5,3 above 80:

XAVG(STOC5,3) > 80

If there is a requirement that the SD be below 20 or above 80, you would need to add something like the following to the end of the formula (connected with an AND):

Simple SD 5,3,3 below 20:

AVG(STOC5.3,3) < 20

Simple SD 5,3,3 above 80:

AVG(STOC5.3,3) > 80

Exponential SK 5,3,3 below 20:

.500488758553275 * (XAVG(STOC5,3) + .5 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3))))))))))) < 20

Exponential SK 5,3,3 above 80:

.500488758553275 * (XAVG(STOC5,3) + .5 * (XAVG(STOC5.1.1,3) + .5 * (XAVG(STOC5.1.2,3) + .5 * (XAVG(STOC5.1.3,3) + .5 * (XAVG(STOC5.1.4,3) + .5 * (XAVG(STOC5.1.5,3) + .5 * (XAVG(STOC5.1.6,3) + .5 * (XAVG(STOC5.1.7,3) + .5 * (XAVG(STOC5.1.8,3) + .5 * (XAVG(STOC5.1.9,3))))))))))) > 80

You may wish to review the following:

How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
Cascades of Moving Averages

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