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 |

Stochastics Calculation Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
garp
Posted : Thursday, June 2, 2005 1:11:38 PM
Registered User
Joined: 3/4/2005
Posts: 40
Hi,
I'm doing formula backtesting and am getting a value for Stochastics
that is at offs with TCNet.

Lane Stochastics calculations for period 3, smoothing period 3

using %K=100*(close-lowest_low_for_period_n)/
(highet_high_for_period_n-lowest_low_for_period_n)

I have TCNet settings set for period 3, K smoothing 3, %D of 3.
This is my data, straight from TCNet

date______________:|5/2/05|
open______________:222.05
high______________:223.70
low_______________:220.21
close_____________:222.29
Kstoch____________:0.0
SKstoch___________:0.0

date______________:|5/3/05|
open______________:221.85
high______________:228.15
low_______________:221.32
close_____________:226.19
Kstoch____________:0.0
SKstoch___________:0.0

date______________:|5/4/05|
open______________:227.23
high______________:229.88
low_______________:227.00
close_____________:228.50
Kstoch____________:85.73
SKstoch___________:0.00

date______________:|5/5/05|
open______________:228.62
high______________:228.62
low_______________:225.88
close_____________:226.98
Kstoch____________:66.12
SKstoch___________:0.00

date______________:|5/6/05|
open______________:228.40
high______________:229.25
low_______________:226.47
close_____________:228.02
Kstoch____________:53.50
SKstoch___________:68.45

SK Stochastics calculated by TC Net is 75.72
I come up with 68.45. It's a simple caculation, just a 3 period average of

85.73
66.12
53.50

which equals to 205.35/3 or 68.45. Where are you getting 75.72????

Perplexed Garp
Bruce_L
Posted : Thursday, June 2, 2005 3:06:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Your calculations indicate you are calculating the SK line. TeleChart is returning the value for the SD line. Change SD to 1 in TeleChart to return the SK value. And while you didn't mention the symbol in your post, I've verified this does in fact return 68.45 for GOOG on 5/6/05.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
garp
Posted : Thursday, June 2, 2005 4:26:20 PM
Registered User
Joined: 3/4/2005
Posts: 40
I see the confusion. I asked the trainer several days ago what value does TCNet display? the response was that it displays SK. I'm refering to the upper left corner in panel 1. BTW, it is GOOG I'm working with.

Thanks
G
Tanstaafl
Posted : Sunday, June 5, 2005 11:45:50 AM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
I think I clarified this before.

The databox which appears if you press the period key twice will show the SK value IF your SD input is 1 ... that is, the SD is the same as the SK. If your SD input is >1, it shows the SD.

If you want to see both in the databox at the same time, create a StocN,M,1 indicator, then hang a child SMA on that indicator with your SD value.

Jim Dean

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.