Code for GANN Square Of 9 levels in PI

Can i get code for GANN Square Of 9 levels in PI as per daily open price of stocks

Hello Trader,

The Pi scanner generates only buy / sell signals based on you transcript conditions.

Use the following link to check GANN SQUARE values manually.

http://www.pivottrading.co.in/pages/gannSquareof9.php

Thanks a lot i am using already above link but i want code to find Gann levels for nifty stocks