Gann HiLo System MT5
- Experts
-
Pol Lazaro Porta
Algorithmic trader with over 10 years of experience trading CFDs. - Versione: 1.0
- Attivazioni: 5
GHL (Gann HiLo System) is an Expert Advisor for MetaTrader 5 that trades the resumption of a trend after a pullback, using the Gann HiLo activator as its reference.
Its logic is straightforward. It does not chase price or try to anticipate reversals. It waits for a trend defined by the Gann HiLo to offer a pullback and enters only when price confirms it wants to resume its direction by clearing the prior extreme of the move.
It is delivered configured for XAUUSD (gold) on H1, trading long only, and its whole logic is configurable to adapt to other instruments, timeframes, and to trading in both directions.
❌ This Expert Advisor is NOT for you if |
|
✅ This Expert Advisor IS for you if |
|
THE GANN HiLo ACTIVATOR, BUILT IN
MetaTrader 5 does not include a native Gann HiLo indicator. Gann HiLo System computes it internally, so the Expert Advisor is self-contained and does not depend on external indicators. The line alternates between an up mode and a down mode based on the relationship of price to the average of highs and lows, and it defines the trend context the system works on at each moment.
ENTRY ON THE RESUMPTION
When the trend is up and price pulls back below the line, the system records the prior high of the leg and places a pending stop order just above that high, plus a small margin proportional to volatility. The order fills only if price resumes the trend direction and clears that level, which confirms the resumption and discards pullbacks that do not follow through.
The setup stays valid for a limited number of bars. If price does not resume within that window, the order is cancelled automatically, so the system never leaves open-ended pending orders. The short side is the exact mirror of this logic.
RISK MANAGEMENT
Gann HiLo System includes a set of money-management tools to suit different trader profiles:
- Structural Stop Loss (beyond the pullback extreme), volatility-based (ATR), or fractal-based.
- Position sizing by fixed lot or by risk percentage (on balance or on a fixed base capital).
- Maximum leverage control.
- Per-trade risk limit, which blocks any entry whose real risk exceeds your tolerance.
- Automatic Break-Even.
- Volatility-based Trailing Stop (ATR).
- Gap protection.
- Optional trading session filter.
- Automatic daily close and close before the weekend.
By default it trades a single position at a time, with a waiting period between entries. This is a conservative approach, designed to keep risk contained and avoid the accumulation of exposure. Each trade's risk is fixed at the moment the order is armed, so it is known exactly before entering the market.
FLEXIBLE EXIT
The exit management is configurable: ride with Break-Even and Trailing with no fixed target, a target based on an R (risk) multiple, a target based on an ATR multiple, or a combination of target and trailing. Optionally, it can close the trade after a fixed number of bars. This lets you choose between securing a defined target and letting developing moves run.
ADAPTATION TO VOLATILITY
The whole mechanism —breakout margin, Stop Loss distances, Break-Even activation, Trailing and filters— is calculated on current volatility using ATR. Behavior stays consistent whether the market speeds up or calms down, and this makes it easier to adapt to instruments of different character without changing the system's logic.
TRANSPARENCY
All entry decisions are calculated exclusively on closed candles. This means the Expert Advisor does not repaint signals and does not use look-ahead bias. Since it works only with closed candles, the signals in testing and in live trading start from the same basis.
REQUIREMENTS AND RECOMMENDATIONS
- Platform: MetaTrader 5.
- Recommended symbol and timeframe: XAUUSD (gold) on H1.
- Delivery configuration: long only (configurable to both directions).
- Account type: hedging.
- Broker with tight spread on gold and stable execution.
- A VPS is recommended for continuous operation.
- Gold can open with a gap after the weekend; the Friday close and gap protection help limit that risk.
- Always test on a demo account before going live, adjusting the risk to your capital.
RULE-BASED DESIGN
Gann HiLo System does not try to predict the market. It waits for a trend defined by the Gann HiLo to offer a valid pullback and executes the strategy following objective, repeatable, automated rules. Its strength lies in execution discipline and in taking advantage of a known market behavior: the continuation of a trend after a pause.
KEY FEATURES
Trend resumption after a pullback, on the Gann HiLo activator.
- Built-in Gann HiLo activator, with no need for external indicators.
- Pending-order entry that confirms the resumption.
- Optional pullback depth filter.
- Money management with a per-trade risk limit.
- Structural, volatility-based, or fractal Stop Loss.
- Configurable exit: target by R, by ATR, or trailing only.
- Break-Even and volatility-based Trailing Stop.
- Gap protection and automatic close before the weekend.
- Fully configurable and adaptable to volatility.
- No repainting.
- No look-ahead bias.
DISCLAIMER
Past results do not guarantee future performance. Trading financial products involves risk, and each trader is responsible for their own investment decisions. It is recommended to test the Expert Advisor on a demo account before using it on a live account.
