Gann Square of 9 Levels

These levels often correspond to $45^\circ$, $90^\circ$, $180^\circ$, and $360^\circ$ turns on the mathematical square.Key Features:Customizable Base Price: Allows the user to select any significant high, low, or psychological level on the chart as the starting point for calculations.Adjustable Spacing:
The user can fine-tune the angular/degree difference between levels using the Spacing input. This allows testing different Gann harmonics (e.g., $0.125$ for $45^\circ$, $0.25$ for $90^\circ$).Clear Visuals: Levels are plotted as circles directly on the chart:Gray: The Initial Gann Level (Base Price).Green: Levels above the base (Potential Resistance).Red: Levels below the base (Potential Support).
Mathematical Logic:The indicator uses the following core formula:Find the Square Root of the Base Price:$$\text{Initial Sqrt} = \sqrt{\text{Initial Level}}$$Calculate New Levels:$$\text{New Level} = (\text{Initial Sqrt} \pm (n \times \text{Spacing}))^2$$Where:$\text{Initial Level}$ = User-defined Base Price.$\text{Spacing}$ = User-defined step (e.g., $0.125$ is the default, representing one $45^\circ$ step).$n$ = The multiple of the step ($1, 2, 3, ...$).
The code calculates the first three significant levels both above and below the base price.How to Use:Identify a Key Pivot: Find a major recent High or Low on the asset's chart.Set the Initial Level: Enter that High or Low price into the Initial Gann Level input.Analyze the Levels: The resulting Green and Red circles represent potential turning points for the market. Observe how price reacts to these lines.Note: As with all Gann-based analysis, this indicator is best used in conjunction with other technical tools (volume, trend lines, traditional support/resistance) for confirmation.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com ancorman.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com ancorman.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.