SlowKCustom (Function)
The SlowKCustom series function returns the Slow K value for the Stochastic oscillator based on user-defined price inputs.
Syntax
SlowKCustom(PriceH, PriceL, PriceC, StochLength)
Returns (Double)
A numeric value containing the SlowKCustom 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 SlowK for offset high and low prices over 14 bars.
Value1 = SlowKCustom(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.