Modified Stochastic Oscillator

modified_stochastic_oscillator

Function Name: modified_stochastic_oscillator

Tags: None

Category: Momentum

The modified stochastic study lets users use alternative periods and moving average calculations in stochastics. The formula for modified stochastics is identical to the formula used in stochastics; however, users may adjust the number of periods and the moving average calculation through the Modified Stochastics properties.

Calculation:

Fast %K = (Current Close - Lowest Low)/(Highest High - Lowest Low) * 100

Full %K = Fast %K smoothed with Kperiod SMA (MMA, EMA)

Full %D = Dperiod SMA (MMA, EMA) of Full %K

 

Parameters:

LBperiod: Look-back period (the period in which highest and lowest are calculated)

Kperiod: MA period for full %K

Dperiod: MA period for full %D

Show*_SMA, Show*_MMA, Show*_EMA, ShowLevels: Display control flags.

 

Link: http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:stochastic_oscillator

 

Parameters

LBperiod

look-back period

 

Default Value: 14  |  Minimum: 1  |  Maximum: 9999

 

Type: Numeric

Kperiod

 

Default Value: 3  |  Minimum: 2  |  Maximum: 9999

 

Type: Numeric

Dperiod

 

Default Value: 3  |  Minimum: 2  |  Maximum: 9999

 

Type: Numeric

OverboughtLevel

 

Default Value: 80  |  Minimum: 0  |  Maximum: 100

 

Type: Numeric

OversoldLevel

 

Default Value: 20  |  Minimum: 0  |  Maximum: 100

 

Type: Numeric

ShowFullK_MMA

 

Default Value: -1

 

Type: Boolean

ShowFullD_MMA

 

Default Value: -1

 

Type: Boolean

ShowFullK_EMA

 

Default Value: 0

 

Type: Boolean

ShowFullD_EMA

 

Default Value: 0

 

Type: Boolean

ShowFullK_SMA

 

Default Value: 0

 

Type: Boolean

ShowFullD_SMA

 

Default Value: 0

 

Type: Boolean

ShowLevels

 

Default Value: -1

 

Type: Boolean