#### Home >> (Table of Contents) Studies and Indicators >> Technical Studies Reference >> Gann HiLo Activator

# Technical Studies Reference

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

# Gann HiLo Activator

This study calculates and displays a Gann HiLo Activator (GHLA) of the Price Data. The GHLA is meant to be used in conjunction with the Gann Trend Oscillator 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\), \(L\), and \(C\) be random variables denoting the High, Low, and Close Prices, respectively, and let \(H_t\), \(L_t\), and \(C_t\) be their respective values at Index \(t\). Let the Input **Length** be denoted as \(n\).

We introduce a function \(HiLo_t(n)\) and compute it for \(t \geq n\) in terms of Simple Moving Averages as follows.

\(\displaystyle{HiLo_t(n) = \left\{ \begin{matrix} 1 & C_t > SMA_{t - 1}(H,n) \\ 0 & SMA_{t - 1}(L,n) \leq C_t \leq SMA_{t - 1}(H,n) \\ -1 & C_t < SMA_{t - 1}(L,n) \end{matrix}\right .}\)**Note**: Depending on the setting of the Input **Moving Average Type**, the Simple Moving Averages in the above formula could be replaced with Exponential Moving Averages, Linear Regression Moving Averages, Weighted Moving Averages, Wilders Moving Averages, Simple Moving Averages - Skip Zeros, or Smoothed Moving Averages.

We denote the **Gann HiLo Activator** as \(GHLA_t(n)\), and we compute it as follows.

The Subgraph of the **Gann HiLo Activator** is colored as follows.

- \(HiLo_t(n) = 1 \Rightarrow\) Green
- \(HiLo_t(n) = -1 \Rightarrow\) Red
- \(HiLo_t(n) = 0 \Rightarrow\) Color at previous chart bar

#### Inputs

*Last modified Monday, 26th September, 2022.