# Technical Studies Reference

### Stochastic Crossover System

The Stochastic Crossover System is a study which displays Up and Down Arrows representing Buy and Sell signals, on the chart based upon the crossover of the Stochastic Slow %K and Slow %D lines. To see how these lines are defined, refer to the study KD - Slow. The conditions that determine which signal, if any, is displayed are stated below.

Let the High Price and Low Price at Index $$t$$ be denoted as $$H_t$$ and $$L_t$$, respectively. Let the Inputs Arrow Offset Percentage be denoted as $$k$$. Horizontal lines are drawn at levels determined by the Inputs Line 1 Value and Line 2 Value.

For $$t > n_{FastK} + n_{FastD} + n_{SlowD}$$ and if the Input Use Buy/Sell Lines = Yes:

• An Up Arrow is displayed at Index $$t$$ if the Slow %K line crosses the Slow %D line from below at $$t$$ and if the Slow %K line is below Line 2. The vertical coordinate of the tip of the arrow is given by $$L_t - \frac{k}{100}\cdot\left(H_t - L_t\right)$$.
• An Down Arrow is displayed at Index $$t$$ if the Slow %K line crosses the Slow %D line from above at $$t$$ and if the Slow %K line is above Line 1. The vertical coordinate of the tip of the arrow is given by $$H_t + \frac{k}{100}\cdot\left(H_t - L_t\right)$$.
• For $$t > n_{FastK} + n_{FastD} + n_{SlowD}$$ and if the Input Use Buy/Sell Lines = No:

• An Up Arrow is displayed at Index $$t$$ if the Slow %K line crosses the Slow %D line from below at $$t$$. The vertical coordinate of the tip of the arrow is given by $$L_t - \frac{k}{100}\cdot\left(H_t - L_t\right)$$.
• An Down Arrow is displayed at Index $$t$$ if the Slow %K line crosses the Slow %D line from above at $$t$$. The vertical coordinate of the tip of the arrow is given by $$H_t + \frac{k}{100}\cdot\left(H_t - L_t\right)$$.