stochastic ? Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
kram
 Posted : Wednesday, July 11, 2018 5:39:24 PM
Registered User
Joined: 10/7/2004
Posts: 80

Bruce,

These formulas are used in a bloomberg stochastic:

Stochastics measures the velocity of a security's price movement to identify overbought and oversold conditions. The indicator measures current price relative to highs and lows over a time period. In an up-trend, markets tend to close near the high and  while in a down-trend they to close nearer to the lows. This indicator is calculated with the following formula:

%K = 100*Closing Range/Total Range

where:

Closing Range = Close - Range Minimum

Total Range = Range Maximum - Range Minimum

The extent of the Range is determined by the %K period parameter.

%D = N-period moving average of %K where N is the %D period parameter.

%K with %D is sometimes referred to as the Fast Stochastics. %DS and %DSS, sometimes referred to as the Slow Stochastics, have additional smoothing as determined by their respective period parameters. Stochastics can be used to recognize potential turning points to help make entry/exit decisions.
If %K , %D,    and  %DS , %DSS are 7,3,5,2  how do the relate to TC's version ? with only 3 inputs ?

thank you

TC2000 has 3 inputs and an OFFSET field.
Bruce_L
 Posted : Thursday, July 12, 2018 9:21:33 AM

Worden Trainer

Joined: 10/7/2004
Posts: 64,759

Based on an internet search, the Bloomberg Stochastic appears to be a "fast stochastic" with two more moving average lines than in most other software.

So you would use the following settings for the Stochastic itself.

- Period: use Bloomberg Stochastic %K
- %K: 1
- Average Type: Simple

The settings for the %D would be as follows.

- Period: use Bloomberg Stochastic %D
- Offset: 0
- Average Type: Simple

Then you would add a moving average to the %D indicator using the following settings.

- Period: use Bloomberg Stochastic %DS
- Offset: 0
- Average Type: Simple
- Label: %DS (and possibly the %DS period).

Then you would add a moving average the %DS indicator using the following settings.

- Period: use Bloomberg Stochastic %DSS
- Offset: 0
- Average Type: Simple
- Label: %DSS (and possibly the %DSS period).

You probably want to set different colors for each of the four indicators.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kram
 Posted : Thursday, July 12, 2018 10:05:32 AM
Registered User
Joined: 10/7/2004
Posts: 80

Thanks much !

kram
 Posted : Thursday, July 12, 2018 3:40:55 PM
Registered User
Joined: 10/7/2004
Posts: 80

is it possible to replicate the bloomberg structure (formula) for TC platform ?

thanks

Bruce_L
 Posted : Friday, July 13, 2018 8:52:01 AM

Worden Trainer

Joined: 10/7/2004
Posts: 64,759

Yes, you could write all four lines using formulas.

Bloomberg Stochastic %K line:

`STOCk`

Bloomberg Stochastic %D line:

`STOCk.d`

Bloomberg Stochastic %DS line:

`AVG(STOCk.d, x)`

Bloomberg Stochastic %DSS line:

`AVG(AVG(STOCk.d, x), y)`

Where `k` is the Bloomberg Stochastic %K period.
Where `d` is the Bloomberg Stochastic %D period.
Where `x` is the Bloomberg Stochastic %DS period.
Where `y` is the Bloomberg Stochastic %DSS period.

You need to actually replace `k`,`d`, `x`, and `y` in the formula templates with the periods you want to use when you create a formula based on one of the templates given above.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kram
 Posted : Friday, July 13, 2018 8:59:04 AM
Registered User
Joined: 10/7/2004
Posts: 80

as always, thank you !

kram
 Posted : Wednesday, August 15, 2018 4:53:00 PM
Registered User
Joined: 10/7/2004
Posts: 80

Hi Bruce,

I am doing something incorrectly.  I inputted the following for this exercise:

STOC7
STOC7.3
AVG(STOC7.3, 5)
AVG(AVG(STOC7.3, 5), 2)

I used the WRITE INDICATOR FORMULA    Edit PCF  field

thank you
Bruce_L
 Posted : Wednesday, August 15, 2018 5:09:22 PM

Worden Trainer

Joined: 10/7/2004
Posts: 64,759

It reads like you tried to put all of the fomulas into the same window. Each formula would go in its own formula window.

So for example, if you are creating Indicator (PCF) Formuluas, you would need to create four of these with one of the formulas in each Indicator (PCF) Formula.

The same would be true if you were plotting Custom PCF Indicators on the chart. You would need to have four different Custom PCF Indicators all plotted in the same pane (assuming you were doing it with formulas instead of just by adding moving average indicators to a stochastic indicator).

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kram
 Posted : Wednesday, August 15, 2018 5:13:48 PM
Registered User
Joined: 10/7/2004
Posts: 80

thanks !

kram
 Posted : Wednesday, August 15, 2018 5:17:35 PM
Registered User
Joined: 10/7/2004
Posts: 80

hopefully one last question?

how do I get tjem on the same pane?

Bruce_L
 Posted : Wednesday, August 15, 2018 5:22:45 PM

Worden Trainer

Joined: 10/7/2004
Posts: 64,759

What you need to do is overlay the indicators into the same pane and scale.

Make sure you are choosing & Scale With so you can put each of your indicators into the same scale as the other indicators when you are putting it into the same pane.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
kram
 Posted : Wednesday, August 15, 2018 5:32:42 PM
Registered User
Joined: 10/7/2004
Posts: 80

thank for the info and links

Bruce_L
 Posted : Thursday, August 16, 2018 8:20:42 AM

Worden Trainer

Joined: 10/7/2004
Posts: 64,759

You're welcome.

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