Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
5689
Rating:
(18)
Published:
2018.12.18 19:08
GHLA.mq5 (9.54 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 - red
  • otherwise
    GHLA = AvgL
    Lien color - green

where:

  • If SW = 0
    Direction = PrevDirection
  • otherwise
    Direction = SW
  • If Close > AvgH
    SW = 1
  • If Close < AvgL
    SW =-1
  • otherwise
    SW = 0

AvgH = SMA(High, Period)

AvgL = SMA(Low, Period)

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22621

GHLA_ST_Bar GHLA_ST_Bar

Gann HiLo Activator/SuperTrend Bar indicator

Linear_Regression_Slope Linear_Regression_Slope

Linear regression slope indicator

Elder_Impulse_System Elder_Impulse_System

Elder Impulse System indicator

Double_Top Double_Top

Double Top indicator