# Stochastics Fast

#### Description <a href="#description_104" id="description_104"></a>

See [*stochastics*](https://agenatrader.github.io/AgenaIndicator-documentation/indicators_oscillators/#stochastics).

#### Interpretation <a href="#interpretation_53" id="interpretation_53"></a>

Closing prices that are constantly in the upper area indicate accumulation (i.e. buying pressure), whilst the distribution (i.e. selling pressure) is shown by an indicator value in the lower area.

#### Further information <a href="#further-information_41" id="further-information_41"></a>

VTAD: <http://vtadwiki.vtad.de/index.php/Stochastik>

Charttec: <http://www.charttec.de/html/indikator_stochastics.php>

#### Usage <a href="#usage_100" id="usage_100"></a>

```csharp
StochasticsFast(int periodD, int periodK)
StochasticsFast(IDataSeries inSeries, int periodD, int periodK)

//For the %D line
StochasticsFast(int periodD, int periodK).D[int barsAgo]
StochasticsFast(IDataSeries inSeries, int periodD, int periodK).D[int barsAgo]

//For the %K line
StochasticsFast(int periodD, int periodK).K[int barsAgo]
StochasticsFast(IDataSeries inSeries, int periodD, int periodK).K[int barsAgo]
```

#### Return value <a href="#return-value_98" id="return-value_98"></a>

**double**

When using this method with an index (e.g. **StochasticsFast**(7,14)\[**int** barsAgo] ), the value of the indicator will be issued for the referenced bar.

#### Parameters <a href="#parameters_91" id="parameters_91"></a>

inSeries Input data series for the indicator

periodD Number of periods for the smoothing of %K

periodK Number of periods included in the calculation of %K

#### Visualization <a href="#visualization_95" id="visualization_95"></a>

![Stochastics Fast](https://agenatrader.github.io/AgenaIndicator-documentation/media/StochasticsFast.jpg)

#### Example <a href="#example_95" id="example_95"></a>

```csharp
//Output for the %K line of the fast stochastic
Print("The stochastic line %K is currently at: " + StochasticsFast(3, 14).K[0]);

//Output %D line
Print("The stochastic line %D is currently at: " + StochasticsFast(3, 14).D[0]);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://indicators.agenatrader.com/standard-indicators/stochastics-fast.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
