It is by far the simplest on chart presentation of Gann square of 9. It calculates the levels based on previous day closing. These levels usually acts as support and resistance.
This script uses the last hlc3 value of 1H, 4H, D and/or W and rotates it 360º up/down with four increments of 90º to find out potential support and resistance areas. Can be used as a dynamic support & resistance tool or just to gauge how overbought/oversold the market is. Special thanks to @Nv56 for his assistance in writing this script.