Gann HiLo Activator indicator is a simple trend indicator with a colored line.
It has one configurable parameter:
- Period - calculation period
Calculation:
If Direction < 0
GHLA = AvgH
Line color - redotherwise
GHLA = AvgL
Lien color - green
where:
If SW = 0
Direction = PrevDirectionotherwise
Direction = SWIf Close > AvgH
SW = 1If Close < AvgL
SW =-1otherwise
SW = 0
AvgH = SMA(High, Period)
AvgL = SMA(Low, Period)