This is the Gann Square Technique that i saw from the YT channel "WD Gann Price & Time Technical Analysis". The horizontal lines can act like Fibonnacci Retracement
This script display Gann Fann/trend lines that u can use like support and resistance.
There can be a problem if u try to display all the squares and lines, this for the limitation of line for part of TradingView but easily u can display:
-Three Gann Squares only with Gann lines
-Three Gann Squares only with 1/8 lines
-Two Gann Squares with 1/4 lines and Gann lines
-Two Gann Squares with 1/6 lines and Gann lines
-One Gann Squares with 1/8 lines and Gann lines
-etc
Probably if u choose some option the Gann Squares will automatically adjust to the last candle, idk how to prevent that