Gann Dynamic Square of 9

Gann Dynamic Square of 9

// ========================================================================//

This script uses the same number series in the square of nine chart. Taking into considerations a high/low pivotal level of your choosing at $1/degree. It includes these degrees : ( 360, 315, 270, 225, 180, 135, 90, and 45 )

This dynamic square of 9 is different than the static one. The values always start at your low/high rather than one. All that you need to do is select and anchor your low/high and it will plot everything for you.

You will also be able to adjust the color of each line to differentiate between them.

This script also complements the Gann ToolBox that I have on my tradingview page giving you good measurement of the market and some of its volatility dates and locations in price.

// ========================================================================//

To get access to this add-on or for the full package including the toolbox you can see my information below.
Release Notes: V0.5 - V1.0
█ UPDATE/UPGRADE : ( October 08, 2021 )
1. Migration to Pine V5
2. Enhanced UI
3. The ability to Price Unit
3. Levels labeling.

Summery : This is the major upgrade to the dynamic square of 9 in order to make it more useful and better for the trader. The migration to Pine V5 is essential to keep up with the latest programming language features and to provide better, faster, and more efficient overall scripts. The UI is now cleaner. We also added the long awaiting "Price Unit" feature to this script to make it as useful as the Gann static square of 9. Lastly, we also added labeling your levels.
Release Notes: V1.0 - V1.03
█ UPDATE/UPGRADE : ( October 22, 2021 )
1. Bug fixes
2. Tooltips added

Summery : This upgrade addresses the reprinting bug with the labels at each new candle. Slightly improved UI to make the script a bit more intuitive through adding tooltips
Release Notes: V1.03 - V1.3
█ UPDATE/UPGRADE : ( October 22, 2021 )
1. Bug fixes
2. interactive UI
3. Time Dynamic square of 9 levels
4. Activate horizontal and vertical levels individually or together! you have full control.

Summery : This upgrade is intended to make the script more usable by adding interactive features. You don't need to input your level manually anymore, just drag a point and place it at your high/low. We also added vertical dynamic square of 9 levels!
Release Notes: V1.30 - V1.31
█ UPDATE/UPGRADE : ( March 25, 2022 )
1. Bug fixes
Release Notes: I know... last bug fix.. didn't catch that the first layer didn't use to render correctly on other than 360 vertical degrees levels.
Release Notes: v1.31 - v1.32
█ UPDATE/UPGRADE : ( March 25, 2022 )
1. Bug Fix : the complicity that came with the vertical lines created a few bugs, this is a fix for the first layer downward dynamic square of 9 levels.
Release Notes: v1.32 - v1.33
█ UPDATE/UPGRADE : ( March 26, 2022 )
1. Bug Fix

Summery : LTF charts used to break this script at every new candle printed live, that's now fixed, the script can be used on LTF without any break and at any time frame of your choice.

To get access to any of my scripts feel free to visit my website :

you can also contact me on Twitter :

Or through TradingView's direct messages.
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact NasserHumood for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

To get access to this script, feel free to contact me through my information down below.

Want to use this script on a chart?

Warning: please read before requesting access.