Skip to main content

The Square of 9, as conceived by WD Gann, represents an unconventional technique in technical analysis. It relies on angular and geometric relationships among numbers to forecast stock movements. This method is highly favored by intraday traders due to its remarkable accuracy in both equities and commodities.

Visualize the Square of 9 as a spiral or wheel of numbers. Its core holds the initial value, which increments in a clockwise spiral. Each number in the square signifies an angle relative to the center. In this post, we’ll delve into how to utilize the Gann Square of 9 Calculator for intraday trading. Attached to this post is an Excel sheet to aid in computing support and resistance levels based on Gann’s theory.

Discover some of our popular Excel-based trading systems in the link below:

Excel Based Trading Systems

The Origins of the Gann Square

At one point in his trading journey, W.D. Gann embarked on a three-year sojourn to the U.K. to study historical wheat price data. During this meticulous research, he developed innovative techniques, with one of the most notable being the Square of 9. Gann closely guarded his trading secrets during his lifetime, but it’s almost certain that the Square of 9 calculations played a pivotal role in his methods. Interestingly, Gann didn’t invent the Square of 9; he discovered it inscribed in a temple in India and on the walls of the Great Pyramid in Egypt. However, he was the first to recognize its significance in market trading.

Gann holds a trading record that remains unmatched. He once turned $130 into $12,000 in less than a month in front of a customs inspector. In another instance, he executed 286 trades with 264 winners and only 22 losses, all witnessed independently.

Gann Square of 9 Calculator

Simply input the current market price (CMP), and the Calculator will handle the rest of the calculations. 

Intraday Trading with the Gann Square of 9 Calculator

The Gann Square of 9 calculator is a valuable tool for generating support and resistance levels in intraday trading. Breakouts from these levels are used as trade entry points. The support and resistance levels are computed using values within the Gann Square. To calculate these levels, you must input the latest trade price or weighted average price into the Gann calculator (provided in this post). It’s advisable to use the last traded price (LTP) after at least half an hour of trading for more reliable results, as market volatility is high during the initial 30 minutes. Once you input the price, the Gann levels will be automatically generated.


Furthermore, the calculator will provide buy/sell prices and corresponding targets. In this example, you should buy if the price surpasses 8418.06 and sell if it falls below 8395.14.

Buy above

support and resistence

Finally, there are support and resistance levels used to calculate targets.

How to Calculate Gann Values

Every value in the Gann Square is related to the central value. Here are the steps for calculating these values:

  1. Calculate the square root of the last traded price (LTP). For instance, if LTP is 8400, then SQRT(8400)=91.65.
  2. Select two integers just below and above the square root. In this case, they would be 90, 91, 92, and 93.
  3. Square the lowest value among the four calculated above. SQR(90)=8100. Place this value at the center of the Gann Square.
  4. Increment 90 by 45 degrees. In numerical terms, 45 degrees is equal to 0.125 (360 degrees=1). So, our next value is 90.125.
  5. Calculate the square of 90.125 and position it in the block to the left of the center block. SQR(90.125)=8122.52.
  6. Continue increasing the value by 45 degrees. 90.125 + 0.125 = 90.25. Calculate the square of this value and place it at the top of where you positioned 8122.52. SQR(90.25)=8145.06.
  7. Repeat this process by increasing the value by 0.125 for each iteration.
  8. Once you complete one level of the square, start the next level with values like 91.125, 91.25, and so on.

Resistance values are the higher values in the Gann Square above the Buy Price, while support values are the lower values below the Sell price. Targets are calculated based on these support and resistance levels.