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 |

Profile: telster
About
User Name: telster
Groups: Gold User, Member, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Thursday, August 10, 2006
Last Visit: Sunday, May 27, 2007 12:14:26 PM
Number of Posts: 23
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 3:54:34 PM
I do have programming experience. I have tried to use the TeleChart Developer Kit (TCDK). But was unable to figure out how to 1) get price data or 2) something like stochastic values. Can you provide an example that can do this
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 3:53:11 PM
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 2:24:29 PM
I am guessing we can't get the data for stochastic out of tc2000. So how about this? Is there a way to write a formula that asks the following:

Within the last 40 days, did
1) the stoc15.5 crossover 50
2) the stoc15.5 cross below 20
3) the stoc15.5 cross above 80

If it meets these 3 conditions, then we can assume that the stochastic oscilated from 20 up to 80, or 1/2 of a cycle.

But my problem is this, how do I ask if something happened within the last 40 days. For instance, what does the following really tell me?

(stoc15.5.40 < 50 AND stoc15.5.0 > 50)

It asks if the stoc from 40 days ago was below 50 as compared to todays. But it does not ask if at anytime in the last 40 days, was the stoc below 50
Steve
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 2:19:33 PM
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 1:44:37 PM
OK. Great. Then perhaps the questions become this:
1) Let's call your formula for counting crosses as #A.
2) And we could make another one for counting crosses up to a high point on the sotchastic. Let's say that this is formula #B and the high point on the stochastic is what 80, does that make sense?
3) Then we could have another for crosses down to 20. Formula #C.

If a stock has crosses of #a and #b and #c, then that might indicate an stochastic that regularly oscilates. But it would be better to be able to identify a stock that first hits a low point on the stochastic, then crosses above 50, then moves on up to a high point.

The ability to isolate this kind of sequence then count it would be useful.

Or if you could export the data for the stochastic, I could do this with another program. Does snapcharts allow exporting?
Steve
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 1:36:38 PM
Would this do it?
ABS(
(stoc15.5.1 < 50 AND stoc15.5.0 > 50) + (stoc15.5.2 < 50 AND stoc15.5.1 > 50) + (stoc15.5.3 < 50 AND stoc15.5.2 > 50)
)
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 1:25:26 PM
yes, sorry about that.
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 1:09:16 PM
Perhaps a compromise. Is there a formula that can count the number of times the stoc15.5 crosses above or below 0?
Thanks
Steve
Topic: How do identify gaps ?
Posted: Tuesday, May 8, 2007 11:06:21 AM
Topic: How do identify gaps ?
Posted: Friday, May 4, 2007 1:55:55 PM
I see that there is a built in formula called stoc. Using this, I can count the number of times in the last 4 days that the stochastic was either above 80 or below 20.

abs((stoc15.5.0 > 80) + (stoc15.5.1 > 80) + (stoc15.5.2 > 80) + (stoc15.5.3 > 80) + (stoc15.5.4 > 80) + (stoc15.5.0 < 20) + (stoc15.5.1 < 20) + (stoc15.5.2 < 20) + (stoc15.5.3 < 20) + (stoc15.5.4 < 20))

But how would I count cycles? Specifically, for the stoc15.5?
1) # of times a stock had cycled to 20,
2) then turned around and reached 80
3) only to turn around and go back to 20
4) etc, etc

Is this possible?
Thanks
Steve