SlowKCustomOrig (Function)

image\trumpet2.gif Disclaimer

The SlowKCustomOrig series function returns the Slow K value for the Stochastic oscillator based on user-defined price inputs.

Syntax

SlowKCustomOrig(PriceH, PriceL, PriceC, StochLength, SmoothingLength)

Returns (Double)

A numeric value containing the SlowKCustomOrig for the current bar.

Parameters

Name

Type

Description

PriceH

Numeric

Specifies which bar value (price, function, or formula) to use for the high in stochastic calculations.

PriceL

Numeric

Specifies which bar value (price, function, or formula) to use for the low in stochastic calculations.

PriceC

Numeric

Specifies which bar value (price, function, or formula) to use for the close in stochastic calculations.

StochLength

Numeric

Sets the number of bars to consider.

SmoothingLength

Numeric

Sets the constant to use for smoothing the K line.

Remarks

This function differs from SlowKCustom by using the original smoothing method suggested by George Lane.

Please refer to the discussion under the Stochastic function.

Example

Assigns to Value1 the Stochastic FastK for offset high and low prices over 14 bars.

Value1 = SlowKCustomOrig(High+1,Low-1,Close,14,3);

Reference

Takano, Mike. Stochastic Oscillator, Technical Analysis of Stocks and Commodities. April 1991.

Stein, John. The Traders’ Guide to Technical Indicators, Futures Magazine. August 1990.