﻿ Stochastic Oscillator
Nevron .NET Vision
Chart for .NET / User's Guide / Data Manipulation / Functions / Financial Functions / Technical Indicators / Stochastic Oscillator

In This Topic
Stochastic Oscillator
In This Topic
Syntax
STOCHASTIC(close; high; low; period)
Arguments
The first three arguments are arrays: 'close' contains the close values, 'high' contains the high values and 'low' contains the low values.
The 'period' parameter defines the period for the function and must be a constant greater or equal to 1.
Result
The result is an array. The first 'period' elements of the result are marked as invalid.
Description

The Stochastic Oscillator compares where a security's price closed relative to its price range over a given time period. The Simple Stochastic Indicator (%K) is calculated using the following formula:

%K = 100 * (Today's close - LL) / (HH - LL)

LL is the current lowest low value for the given time period.

HH is the current highest high value for the given time period.

The Smoothed Stochastic Indicator (%D) is calculated as a Moving Average of %K. For example you can use the following expression:

SMA( STOCHASTIC(close; high; low; 10); 10 )

Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Financial\Technical Price Indicators