HiLo Activator (Gann Style)
Category: trend
A trend-following indicator (Gann HiLo Activator style) that tracks price relative to moving averages of highs and lows to determine trend direction and trailing support/resistance.
Formula
\text{State}_i = \begin{cases} 1 & \text{if } Close_i > MA(High)_{i-1} \\ -1 & \text{if } Close_i < MA(Low)_{i-1} \\ \text{State}_{i-1} & \text{otherwise} \end{cases} \\ \text{HiLoValue}_i = \begin{cases} MA(High)_{i-1} & \text{if } \text{State}_i = -1 \\ MA(Low)_{i-1} & \text{if } \text{State}_i = 1 \end{cases} \
Inputs
- InpPeriodHiLo (default: 10)
- InpShiftHiLo (default: 0)
- InpSmoothingMethodHiLo (default: MODE_SMA)
- InpWingdingsCodeHilo (default: 159)
See signal primitives and every published strategy that uses HiLo Activator (Gann Style) on WOBR StrategyVerse.