# Technical Studies Reference

- Technical Studies Reference
- Common Study Inputs (Opens a new page)
- Using Studies (Opens a new page)

# Kijun-Sen

This study calculates and displays the Kijun-Sen study for the data specified by the **Input Data High** and **Input Data Low** Inputs.

Let \(X^{(High)}\) and \(X^{(Low)}\) be random variables denotining **Input Data High** and **Input Data Low**, respectively, and let \(X_t^{(High)}\) and \(X_t^{(Low)}\) be their respective values at Index \(t\). Let the **Kijun-Sen Length** be denoted as \(n_{KS}\).

We denote the maximum value of \(X_t^{(High)}\) and the minimum value of \(X_t^{(Low)}\) over a moving window of \(n_{KS}\) chart bars terminating at Index \(t\) as \(\max_t(X^{(High)},n_{KS})\) and \(\min_t(X^{(Low)},n_{KS})\), respectively. These are computed for \(t \geq n_{KS} - 1\) as follows.

\(\max_t\left(X^{(High)},n_{KS}\right) = \max\left\{X_{t - n_{KS} + 1}^{(High)},...,X_t^{(High)}\right\}\)\(\min_t\left(X^{(Low)},n_{KS}\right) = \min\left\{X_{t - n_{KS} + 1}^{(Low)},...,X_t^{(Low)}\right\}\)

We denote the value of **Kijun-Sen** at Index \(t\) for the given Inputs as \(KS_t\left(X^{(High)}, X^{(Low)}, n_{KS}\right)\), and we compute it for \(t \geq n_{KS} - 1\) as follows.

This study is mathematically identical to the Tenkan-Sen study. The only difference between the two is that **Kijun-Sen** has a default length of \(n_{KS} = 26\), while **Tenkan-Sen** has a default length of \(n_{TS} = 9\).

#### Spreadsheet

The spreadsheet below contains the formulas for this study in Spreadsheet format. Save this Spreadsheet to the Data Files Folder.

Open it through **File >> Open Spreadsheet**.

*Last modified Monday, 26th September, 2022.