Here is me asking chatGPT to create a Gann Fan script using Pine Script in Tradingview. It's not perfect nor correct really ... but it's wildly detailed and impressive to start with... could help someone with the logic of the code if they needed it