FastKCustom (Function)

image\trumpet2.gif Disclaimer

The FastKCustom function returns the Fast K value for the Stochastic oscillator based on user-defined price inputs.

Syntax

FastKCustom(PriceH, PriceL, PriceC, StochLength)

Returns (Double)

A numeric value containing the FastKCustom 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.

Remarks

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 = FastKCustom(High+1,Low-1,Close,14);

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.