# Fast Stochastic

Contents[Hide]

The Fast Stochastic function compares the close price of a stock against its price range (high-low) over a specified number of time periods. Applications of this formula include the generation of buy and sell signals.

## 1. Syntax

Fast Stochastic:

```FASTSTOC(d0,d1,d2,s0,Alignment)
```

Trigger Line:

```FASTSTOCTRG(d0,d1,d2,s0,Alignment)
```

## 2. Input

The Fast Stochastic functions require the following input series:

• d0 - High data values - The first set of data values for which the Fast Stochastic formula is calculated, usually the daily high price of a stock.
• d1 - Low data values - The second set of data values for which the Fast Stochastic formula is calculated, usually the daily low price of a stock.
• d2 - Close data values - The third set of data values for which the Fast Stochastic formula is calculated, usually the daily close price of a stock.

## 3. Parameters

The Fast Stochastic function has the following parameters:

• s0 - Look Back Period - The number of time periods for determining the overall high and low values. Default value is 14.
• Alignment (Optional) – Hierarchy placeholder to be used as the alignment axis.

## 4. Output

The FASTSTOC function generates the following output:

• Fast Stochastic - The Fast Stochastic result set.

The FASTSTOCTRG function generates the following output:

• Trigger Line - The trigger line is a 3-period, simple moving average that is used to smooth out the Fast Stochastic values.