TradingView
S4M44R
2022年12月13日早上5點59分

Gann Spiral / Square of 9 

SPDR S&P 500 ETF TRUSTArca

描述

The Gann Spiral, more commonly known as the Square of 9 is one of the most well known tools that Gann used. Today, it is most commonly used to find possible support and resistance levels, and possible reversals in time.

This indicator is a more flexible version of the traditional Gann Spiral / Square. This is achieved by allowing you to change:

  • Price and Time direction
  • The timeframe
  • How often to draw lines based on degrees
  • Toggles for Price and Time
  • Price and Time line customization


How to use:

1 - Select your desired starting value of Price and Time.
2 - Choose the direction of Price and Time.
3 - Choose the amount of lines to display.
4 - Choose how often for lines to be drawn (Rotation Degree Value).

==================================================================

Side Note:

This uses a more proper and more accurate formula to "navigate the square". (Sqr x + 2)^2 is not the formula used, but rather (Sqr x + 1)^2.

If you wish to use the formula you're used to, change Full Revolution Value to 180.

The reasoning behind this formula change is because I re-created the square in the form of an actual spiral. The issue with such a conversion is that the formula used to construct it uses one Pi. If you understand circles, you should know that we're off by 180 degrees. A full rotation is 360, not 180.

Correcting for this error requires a slight but important change in the formula, that being +1 instead of +2. This not only corrects it to fit for a proper spiral, but also makes it easier to use fractions. 1/360 results in 1 degree. This slight formula change makes it incompatible when used on the actual Square of 9, however it is technically the more accurate formula.
評論
TonyCampbell
Should the timeframe input be the same as the chart timeframe ? Thanks.
S4M44R
@TonyCampbell, The timeframe input doesn't have to be the same as the chart timeframe. The smaller the timeframe input, the more clumped up the vertical lines are, and vice versa.
anil2616
hello s4m44r,

This is really one of the best indicators i have come across. Apart from being a professional trader, i am a financial instructor too. I am making one online course for students and i will be grateful if you can give me the permission to include this indicator too for educational purpose. I will give full attribution to you regarding this indicator too. Please do let me know. Again amazing indicator you have made. Thanks a lot.
tarzan2k
Thank you the best chart based Square of Nine available.
TienWye_Longg
Hello s4m44r,
May I know what is the plotted line for time and price in the table? What are the parameters will be affected them? And can I use 180 degree for price rotation degree and 630 degree for time rotation degree?
Sq9angle
Very nice!
danielhermo05
Broooooo ths shitt fire!! I know someone who uses sq9 but his shit is private so I used this, tbh my calculations are off. I compared my work to his and it matched... idk how
LevRidge
hi, is this still working? doesn't seem to add to the chart?
S4M44R
@LevRidge, Sounds like an issue on your end. Retested the script and it works fine.
suraj05
Great work...Thanks
更多