# Technical Studies Reference

### Gann Trend Oscillator

This study calculates and displays the Gann Trend Oscillator (GTO) of the Price Data. The GTO is meant to be used in conjunction with the Gann HiLo Activator and the Gann Swing Oscillator, as prescribed by Robert Krausz in his article The New Gann Swing Chartist, Stocks & Commodities V16:2 (pp 57-66).

Let $$H_t$$ and $$L_t$$ be, respectively, the High Price and Low Price at Index $$t$$.

An Uptrend occurs at Index $$t$$ if $$H_{t - 1} < H_t$$ and $$L_{t - 1} < L_t$$.

A Downtrend occurs at Index $$t$$ if $$H_{t - 1} > H_t$$ and $$L_{t - 1} > L_t$$.

We denote the value of the Gann Trend Oscillator at Index $$t$$ as $$GTO_t$$, and we compute it for $$t > 0$$ as follows.

$$\displaystyle{GTO_t =\left\{ \begin{matrix} 1 & Uptrend \\ -1 & Downtrend \\ 0 & No \space Trend \end{matrix}\right .}$$

#### Inputs

• This study has no inputs.