# Gann Method

Gann Method is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Applies W.D. Gann's toolkit to one swing at a time: a mechanical swing chart and its trend rule pick the anchor, angles are drawn from it at the anchor swing's own price-per-bar rate, the swing's range is divided into quarters, thirds and the 50% point, and the bar where elapsed time equals the swing's duration is marked, along with calendar-day counts from the anchor. Levels and dates are references for price to confirm.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Aug 26, 2026.
- Access: free.
- Concepts: [Gann method](https://www.luxalgo.com/library/concept/gann-method/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=o192o8pxpfr40eoaw0qlriss
- Page: https://www.luxalgo.com/library/indicator/gann-method/

The **Gann Method** brings classic market analysis concepts to the modern chart, allowing traders to map price movement against mechanical swing cycles and geometric projections. By anchoring to significant market turns, this tool creates a structured framework for analyzing trends, support and resistance levels, and potential time based reversal windows. It helps identify the interaction between price and time, a core principle in Gann's philosophy, providing a systematic way to gauge whether a trend is currently strong or weakening.

## How to Trade the Gann Method?

The indicator centers on identifying swing trends and projecting geometric angles from specific anchor points. To trade with the system, first observe the Swing Trend, which turns up after a close above the last swing high and down after a close below the last swing low. This trend definition dictates the bias for the current leg.

When a new trend is established, the indicator projects the 1x1 angle with the 2x1 and 1x2 pair by default; the 4x1 and 1x4 pair can be switched on. Price holding above the 1x1 angle in an uptrend (or below in a downtrend) is often interpreted as a sign of strength. Range divisions serve as dynamic support and resistance zones, with the 50% midpoint often acting as a critical pivot point. Traders often watch for price reactions as it reaches these geometric levels or when time elapsed from the anchor matches the duration of the initial swing, known as a price time square. Use the dashboard to see where price sits against the 1x1 angle and the range divisions, and the countdown to the price-time square and the next calendar-day count.

## Gann Method Settings

### Swing Chart
*   **Swing Chart Bars**: The number of consecutive bars required to confirm a new swing pivot. Higher values produce fewer, more significant swings.
*   **Show Swing Line**: Toggles the display of the lines connecting the confirmed swing highs and lows.
*   **Show Trend Changes**: Displays labels and a step line that highlights the current trend direction and the stop levels defined by the last swing pivot.

### Angles
*   **1x1 Scale**: Determines how the geometric angles are calculated. Options include anchoring to the swing's own range, using the Average True Range, or a manual price per bar input.
*   **ATR Length & Mult**: Used for the ATR based 1x1 scaling.
*   **Manual Price per Bar**: A user defined value for the slope of the 1x1 angle.
*   **2x1 & 1x2 / 4x1 & 1x4**: Toggles the secondary fan lines representing different price to time ratios.

### Range Divisions
*   **Divisions**: Choose between key fractions, eighths, or both to display as horizontal support and resistance levels.
*   **Show Divisions**: Enables the drawing of these fractional levels across the chart.

### Time
*   **Show Price-Time Square**: Highlights the point where the time elapsed since the anchor equals the duration of the anchor swing.
*   **Calendar Day Counts**: Comma separated values representing specific day counts from the anchor to watch for potential turns.

### Dashboard
*   **Show Dashboard / Position / Size**: Configures the floating panel that displays current trend status, price relative to the 1x1 angle, and time projections.

## Frequently Asked Questions

### How does the swing chart determine pivots?
The swing chart uses a mechanical process where the swing line turns down only after the set number of consecutive bars make lower lows, and up only after as many bars make higher highs; inside bars are ignored, effectively filtering out minor market noise.

### What is the significance of the 1x1 scale?
The 1x1 scale represents a balanced move of price and time. In this system, it acts as a primary trend line that serves to distinguish between a strong, trending market and one that has lost its momentum.

### Should I rely solely on these time projections for entries?
No, these time projections are reference points for when a turn might occur. They should always be confirmed by price action or the swing trend before executing a trade, as they are meant to assist in timing rather than predict future movement with certainty.

## Related indicators

- [Gann Box](https://www.luxalgo.com/library/indicator/gann-box/) (Gann Method): markdown at https://www.luxalgo.com/library/indicator/gann-box.md
- [Gann Fan & Angles](https://www.luxalgo.com/library/indicator/gann-fan-and-angles/) (Gann Method): markdown at https://www.luxalgo.com/library/indicator/gann-fan-and-angles.md
- [Volumetric Regression Heatmap](https://www.luxalgo.com/library/indicator/volumetric-regression-heatmap/) (Linear-regression Channel): markdown at https://www.luxalgo.com/library/indicator/volumetric-regression-heatmap.md
- [Trendlines with Breaks](https://www.luxalgo.com/library/indicator/trendlines-with-breaks/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-with-breaks.md
- [Trendline Breakout Navigator](https://www.luxalgo.com/library/indicator/trendline-breakout-navigator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendline-breakout-navigator.md
- [FVG Channel](https://www.luxalgo.com/library/indicator/fvg-channel/) (Parallel Channel): markdown at https://www.luxalgo.com/library/indicator/fvg-channel.md
- [Gann Square of 9 Vibration Levels](https://www.luxalgo.com/library/indicator/gann-square-of-9-vibration-levels/) (Gann Square of 9): markdown at https://www.luxalgo.com/library/indicator/gann-square-of-9-vibration-levels.md
- [Trendlines with Breaks Oscillator](https://www.luxalgo.com/library/indicator/trendlines-with-breaks-oscillator/) (Trendline): markdown at https://www.luxalgo.com/library/indicator/trendlines-with-breaks-oscillator.md

---

Source: https://www.luxalgo.com/library/indicator/gann-method/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
