# Gann Square of 144 for MT5

The Gann Box (or Gann Square) is a market analysis method based on the "Mathematical formula for market predictions" article by W.D. Gann. This indicator can plot three models of Squares: 90, 52(104), 144. There are six variants of grids and two variants of arcs. You can plot multiple squares on one chart simultaneously.

### Parameters

- Square — selection of a square model:

- 90 — square of 90 (or square of nine);
- 52 (104) — square of 52 (or 104);
- 144 — universal square of 144;
- 144 (full) — "full" version of the square, combined lines from other squares. As far as is known, W.D. Gann did not have such a markup;
- for Arcs — simplified square for arcs;

- Grid — variants of grids:
- 4x4 (52) — 4 by 4 grid, 52 markup;
- 5x5 (40) — 5 by 5 grid, 40 markup;
- 8x8 (90) — 8 by 8 grid, 90 markup;
- 8x8 (104) — 8 by 8 grid, 104 markup;
- 8x8 (144) — 8 by 8 grid, 144 markup;
- 16x16 (144) — 16 by 16 grid, 144 markup;
- 36x36 (144) — 36 by 36 grid, 144 markup;
- disable — disable the grid;
- Arcs — variants of arcs:
- 4x4 — 4 by 4 markup;
- 5x5 — 5 by 5 markup;
- disable — disable the arcs;
- Length of Square, Bars (X-axis) — length of the square in bars;
- Height of Square, Points (Y-axis) — height of the square in points;
- Build at the start — build the square at the start:
- in the center of the chart — in the center of the chart;
- at the specified time — at the specified time;
- to use the previous — use the previous square (if present on the chart);
- Freeze the size of the box — fix the scale of the box;
- Leave the square on the chart — leave the square on the chart when removing the indicator;
- Display the rays to the right — display the rays to the right;
- Display the scale numbers — display the scale numbers;
- Display the name of the Square — display the name of the square;
- Direction of Square — direction to build the square, up or down;
- Time of the bar to start building the Square — time of the bar to start plotting the box;
- Upper price for build the Square (if the Height is zero) — upper price of the box, if the "Height of Square" parameter is zero, then the square is plotted for these prices;
- Lower price for build the Square (if the Height is zero) — lower price of the box, if the "Height of Square" parameter is zero, then the square is plotted for these prices;
- Prefix (change for several boxes) — prefix of the box objects, it should be changed if multiple squares are used simultaneously;
- Color 1 on a white background — color of the line 1 on a white background;
- Color 1 on a black background — color of the line 1 on a black background;
- Width 1 — width of line 1;
- Style 1 — style of line 1;
- Color 2 on a white background — color of the line 2 on a white background;
- Color 2 on a black background — color of the line 2 on a black background;
- Width 2 — width of line 2;
- Style 2 — style of line 2;
- Color on a white background— color of the arc line on a white background;
- Color on a black background — color of the arc line on a black background;
- Width — width of the arc line;
- Grid color on a white background — color of the grid on a white background;
- Grid color on a black background — color of the grid on a black background;
- Width lines — width of the grid lines;
- Style lines — style of the grid lines;
- Display the Grid of one-third — show the grid of 1/3;
- Font size — font size;
- Text color on a white background — color of the text on a white background;
- Text color on a black background — color of the text on a black background;
- Enable WASD keys - activate control with 'WASD' keys. 'W' is up, 'A' is left, 'S' is down, and 'D' is right;
- Horizontal shift (bars) - horizontal shift of the Square (bars);
- Vertical shift (points) - vertical shift of the Square (points).

### Video

Version 2.50
2019.09.29

1) Added moving the Square using the WASD keys.

2) Code optimization.

2) Code optimization.

Version 2.40
2018.08.16

1) Changed the coloring of arcs, now the colors of the arcs alternate.

2) Code optimization.

2) Code optimization.

Version 2.20
2017.10.05

1) Added markup "Square of 144 (full)"

2) Added grid 8х8 (144)

3) Added individual parameters for Grid 1/3 (Grid of one-third)

2) Added grid 8х8 (144)

3) Added individual parameters for Grid 1/3 (Grid of one-third)

Version 2.1
2017.06.15

1) Added grid 12x12 (144)

2) Added grid 26x26 (104)

3) Fix for Arcs.

2) Added grid 26x26 (104)

3) Fix for Arcs.

Version 2.0
2017.05.19

1) Added new grids

2) Added Arcs

3) Added the ability to plot by prices.

4) Added lines of 1/3 and 2/3 grid

5) Improved the plotting accuracy

2) Added Arcs

3) Added the ability to plot by prices.

4) Added lines of 1/3 and 2/3 grid

5) Improved the plotting accuracy

Loai Al Moulim2018.08.17 15:08 #Nice Tool