Gann Toolkit MT5
- Indicatori
-
Allan Aparece Ninal
Sviluppo indicatori ed Expert Advisor per MetaTrader 5.
Come lavoro:
- Ogni indicatore viene controllato contro il repainting: i segnali vengono decisi solo su barre chiuse, e un test su ogni tick conferma che non cambiano in seguito. - Versione: 1.0
- Attivazioni: 5
Gann Toolkit MT5 is an indicator for MetaTrader 5 that draws W.D. Gann's price and time tools from the swings it confirms: Square of 9 levels, Gann fan angles and the Gann box. It adds the HiLo Activator and swing line of the free Gann HiLo Swing, a multi-symbol HiLo trend table and alerts.
The levels, angles and box are anchored to confirmed swing pivots on closed bars, so they change only when a new swing is confirmed.
What you see on the chart
- Square of 9 levels (gold) above and below the latest swing low or high, or a price you enter, labelled in degrees
- Gann fan from the latest swing pivot: 1x8, 1x4, 1x3, 1x2, 1x1, 2x1, 3x1, 4x1, 8x1
- Gann box over the last swing high and low, divided in eighths and thirds in price and in time
- HiLo Activator line, swing line and new-trend arrows
- A table of symbols and timeframes: UP or DOWN and the closed bars since the last new trend; click a cell to open that chart
How the levels are built
- Square of 9: level = (square root of the anchor plus or minus n times the step divided by 180), squared. The price is first scaled to four digits (1.1329 becomes 11329, 4159.28 stays 4159.28), so a 45-degree step is close to 1% of the price on any symbol. A "price in points" option is there too.
- Fan: the 1x1 angle moves at the last completed swing's own speed (its price change divided by its bars), or at a value you set. Upward from a swing low, downward from a swing high.
- Box: from the last swing high and low; its time side repeats the swing's length once.
- Swings: the 2-bar swing chart, the same engine as Gann HiLo Swing.
Who it is for
For traders who use Gann's levels and angles and want them drawn the same way on every chart, without placing them by hand. If you only need the HiLo trend line, the free Gann HiLo Swing is enough. It places no orders.
Inputs
- HiLo period - 3; new trend needs the swing chart - on; draw the line, arrows and swing line
- Square of 9 - on; anchor - latest swing pivot (or latest low, latest high, a price I enter); price scale - four digits; step - 45 degrees; levels above and below - 6; alert when a bar closes across a level - on
- Gann fan - on; 1x1 scale - auto from the last swing (or my value); all angles - on
- Gann box - on; also divide in thirds - on
- HiLo table - on; symbols - my list (EURUSD, GBPUSD, USDJPY, XAUUSD, BTCUSD) or Market Watch; timeframes - M15,H1,H4,D1; fresh cell - 3 bars or less
- Closed bars to calculate - 3000; colours; font size
- Alerts: pop-up (on), sound, push notification, e-mail
Level spacing
Distance from the anchor to the first level above at a 45-degree step, at September 2026 prices: EURUSD about 0.0169, GBPUSD about 0.0183, USDJPY about 1.99, XAUUSD about 32. A 90 or 180-degree step gives wider levels.
How it was checked
- The HiLo line, swings and new trends are the engine of the free Gann HiLo Swing, which matched an independent Python calculation on every bar and passed a tick-by-tick repaint test in the Strategy Tester (XAUUSD H1, 91 million ticks, 0 changed signals).
- The Square of 9, fan and box are redrawn only when a new swing pivot is confirmed on a closed bar.
Alerts and Expert Advisors
Alerts: a new trend on the chart, a bar closing across a Square of 9 level, and new trends in the table (sent as one message). Pop-up (on), sound, push notification and e-mail, each switched separately. Nothing is sent while history loads and not in the Strategy Tester.
Buffers: 0 new uptrend, 1 new downtrend, 2 HiLo line, 3 its colour, 4 swing line.
Questions
- Are the levels support and resistance? They are reference prices from Gann's method. Price may react near them or pass through; the indicator does not predict which.
- Why did the levels move? A new swing pivot was confirmed, so the anchor changed. Choose "a price I enter" to keep a fixed anchor.
- Does it repaint? No. Everything comes from closed bars, and the drawings change only when a new pivot is confirmed.
- How is it different from Gann HiLo Swing? The same trend engine; the toolkit adds the Square of 9, fan, box, the multi-symbol table and level alerts.
Questions: use the comments on this page or send me a message on MQL5.
Trading involves risk. Gann's tools are a way of reading the chart; they do not predict the market, and past behaviour around a level does not guarantee future results.
