Appearance
Personalize your experience
Gann Square (Dynamic)
GannA dynamic Gann square that responds to price and time in real-time. As price unfolds, the square continuously adjusts its geometry to maintain a true price-time balance, making it a powerful tool for real-time trend analysis.
Origins & theory
The dynamic Gann Square (also known as the Master Square in Gann's writings, and related to the in its numerical form) is W.D. Gann's primary tool for understanding the relationship between price and time. Gann taught that when price and time square — meaning the move in price is a perfect multiple of the move in time — a major market reversal is imminent.
Unlike the square, the dynamic Gann Square continuously recomputes its geometry as new bars form. The square expands and contracts so that price and time remain in a geometric relationship at every bar. This makes the dynamic square particularly useful for real-time trading where the endpoint of the move is unknown. Gann called this responsive quality theMaster Time Factor — the square automatically calibrates to the market's current rhythm without requiring the trader to predict the endpoint.
The dynamic square embodies Gann's concept of "squaring the range": from a given starting , whenever the equals the (measured in the same units), the market has "squared out." At this precise moment, the forces of price and time are in equilibrium, and Gann believed a reversal was virtually certain. The dynamic square makes this relationship visible at every bar, allowing the trader to see the exact moment of equilibrium.
Tool Design & Behavior
The dynamic Gann Square is a single-click drawing tool. You click once at a significant pivot point, and the square begins projecting forward from that , updating with each new bar. The square's size is determined by the maximum price and time from the origin — as price moves further from the origin, the square grows to encompass it.
The dynamic square maintains the property that the from origin equals the from origin at every . This means the square is always a perfect square. The 1×1 diagonal runs from the origin to the opposite corner, and its slope represents the current price-time equilibrium. As price accelerates or decelerates, the square adjusts, and the 1×1 line's slope changes accordingly. The area above the 1×1 is the "bullish zone" (price faster than time), and below is the "bearish zone" (time faster than price).
Visual Configuration
How to Draw (1 click)
- 1Click the origin pivotSelect a major swing low or high. The square projects from this corner, and the fan rays and arcs all radiate from it.
- 2Click the opposite cornerSets the square's and time span in one click. The corner-to-corner diagonal becomes the 1×1 line that every other fan angle is scaled from, so place it where the market's own rate of advance runs.
Key Levels & Math
The square is defined by the origin (T₀, P₀). At any subsequent bar Tₙwith price Pₙ, the is R_price = |Pₙ − P₀| and the isR_time = Tₙ − T₀. The square's side length is max(R_price, R_time), ensuring the square always contains all price action. The 1×1 diagonal has slope R_price / R_time. The square-out condition occurs when R_price = R_time.
How Price Behaves at Levels
- Price in the 2×1 zone (moving up faster than time) is overextended — expect a toward the 1×1 equilibrium. The further price extends into this zone, the more violent the mean reversion is likely to be.
- Price in the 1×2 zone (moving slower than time) is stalling — either a reversal or an back toward the 1×1 is likely. This zone often precedes trend changes or breakouts.
- A square-out occurs when price hits the opposite quadrant corner at the same time the grid completes a full cycle. This is Gann's -probability reversal signal. The square-out validates the time-price balance.
- The 1×1 diagonal is the line of equilibrium; price oscillates around it like a pendulum. When price is far from the 1×1, a snap-back is mathematically likely. The 1×1 acts as a "magnet" for price.
- Each time the grid doubles in size (2×, 4×, 8×), the potential for a reversal increases. These doubling significant cycle completions where the original trend is exhausted at a higher .
Trading Strategies
Dynamic angle trading: Enter long when price crosses above the 1×1 line in an uptrend; exit when it crosses below. Because the 1×1 line itself moves dynamically, this keeps the trader in the trend while avoiding the need for a stop price. The position is closed when the square says the balance has shifted. This is a low-maintenance trend-following strategy.
Quadrant reversal: When price reaches the upper boundary of the 2×1 zone (highly overextended relative to time), look for short setups. When price reaches the lower boundary of the 1×2 zone (extremely stalled), look for long setups. These are Gann's "" reversal — the extremes of the square where price is farthest from equilibrium.
Square-out entry: If the dynamic square reaches a perfect square-out ( equals since origin), prepare for a position trade in the dominant trend direction. The square-out validates that price and time are fully aligned. Gann considered these the most trade setups. Enter at the square-out bar with a stop at the square's opposite corner.
Real-World Example: A Square-Out Trade
A currency pair rallies from 1.1000 to 1.1500 over 50 bars. The dynamic square has a of 500 and a of 50 bars. The 1×1 line has a slope of 10 pips/bar. If price reaches 1.1250 at bar 25, it is on the 1×1 line (in balance). If price reaches 1.1500 at bar 50, the square-out condition is triggered: price range = 500 pips, time range = 50 bars — they have "squared." Gann would enter a at 1.1500 with a stop at 1.1550 (the top- corner if the square extends), targeting a back to the 1×1 line at 1.1250.
Combining with Other Tools
The dynamic square is most effective when combined with tools that share its real-time philosophy:
- Moving averages: When the 1×1 line slopes upward and price is above the 50 , the trend is strongly confirmed. When the 1×1 slopes down and price is below the 200 EMA, the downtrend is confirmed. The MAs provide time-domain context.
- : In the 2×1 zone, readings above 75 overextension. In the 1×2 zone, RSI below 25 confirms stalling. These confluences increase reversal trade confidence.
- Fibonacci retracements: When a Fibonacci level from a prior swing aligns with the 1×1 line, the equilibrium zone is doubly confirmed. The retracement provides a .
- : High-volume nodes near the square's boundaries that other market participants also see these levels as significant. Low-volume breakouts through boundaries are suspect and often fail.
- : Overlay a from the same origin. When the fan's 1×1 and the square's 1×1 agree, the equilibrium signal is reinforced. Disagreement suggests the square's origin may need re-evaluation.
Algorithmic Implementation
The dynamic Gann Square requires real-time recalculation on every bar. Its implementation differs fundamentally from the square because the geometry adjusts continuously.
Dynamic square computation: Given origin (x₀, y₀), at any subsequent bar xₙ with price yₙ, compute R_price = |yₙ − y₀|, R_time = xₙ − x₀. The square side length Sₙ = max(R_price, R_time × scale_factor), where scale_factor normalizes price and time units. The 1×1 diagonal slope at bar n is: slopeₙ = R_price / R_time. The square-out condition occurs when R_price = R_time × scale_factor within a tolerance of 0.5× . The square's grid lines divide the square into N divisions (default 8), creating internal 2×1, 3×1, etc., that dynamically scale with the square's current size.
Real-time signal generation: On each new bar, recompute all dynamic square parameters. Check three conditions: (1) Square-out: price_range − time_range × scale_factor within tolerance. (2) Zone entry: price enters the 2×1 zone (above the 1×1 line by more than 0.25 × Sₙ). (3) Zone exit: price crosses below the 1×1 line from the 2×1 zone. Each condition generates a distinct signal: square-out → reversal watch, zone entry → , zone exit → deceleration alert. Signals persist only for the current bar — they must be acted on immediately or discarded.
Historical signal consistency: Because the dynamic square's past geometry changes when current bar arrives, signals detected at earlier bars may disappear when the square recalculates. To maintain consistency, store the square's state at each historical bar as a "snapshot" — the square's parameters at bar n are frozen and do not change when bar n+1 arrives. This snapshot-based approach allows for accurate and signal review. The real-time (current bar) square state is the only unfrozen state and is used for trading decisions.
Risk Management & Position Sizing
The dynamic square's changing geometry creates unique risk management considerations. Position sizes must adapt to the square's current size, and stops must be dynamic rather than .
Dynamic square-based position sizing: Position size should be inversely proportional to the square's current side length Sₙ. When Sₙ is (early in the trend), position size is larger. When Sₙ is large (trend is ), position size is smaller. Use: position_size = base_size × (S₀ / Sₙ), where S₀ is the square's side length at the time of entry. This ensures that you have maximum exposure when the square is compact and the trend is young, and minimum exposure when the square is extended and the trend is mature. The formula automatically reduces risk as the trend ages.
Square-out stop placement: When entering on a square-out signal, place the stop at the origin (y₀) of the square, not at the current price. The origin represents the cycle's starting — if price returns to the origin, the entire square-out signal is . This creates a wide stop, so position size should be (0.5% risk). The reward target is the opposite side of the square (y₀ + Sₙ for long ). The risk-reward ratio improves as the square grows — larger squares have larger potential targets relative to the origin-based stop.
Dynamic trailing stop: Use the 1×1 line as a dynamic trailing stop. As the square recalcu- lates on each bar, the 1×1 line changes slope. the stop along the 1×1 line with a of 0.5× . This creates a stop that tightens as the trend accelerates (steep 1×1 → tight stop) and widens as the trend decelerates (flat 1×1 → wider stop). The dynamic 1×1 trail keeps the stop appropriate for the current market velocity at all times.
Psychology & Discipline
The dynamic square's real-time, ever-changing nature is its greatest strength and its greatest psychological challenge. Traders must accept that signals are fleeting and the square's geometry is never "final."
The "yesterday's signal" trap: A square-out signal at bar 50 may be gone by bar 51 when new price arrives. Traders who hold onto the "stale" signal and keep the trade are trading based on information that no longer exists in the square. This is the most insidious trap with the dynamic square. The rule: if the square-out signal at the current bar is gone (the square no longer shows square-out conditions), the trade is invalid. Close the position immediately. Do not "give it one more bar" — the market has told you the square-out was temporary.
The "square grows, so do profits" euphoria: As the dynamic square expands with the trend, and the position grows in profit, traders become attached to the square's geometry and assume it will keep expanding indefinitely. They stop checking the square-out condition and hold through what would have been a valid . The square must be checked on EVERY bar without exception. The day you stop checking is the day a square-out triggers and you miss the exit. Treat the dynamic square as a living that needs daily attention.
Advanced Variations & Customizations
The dynamic square can be adapted with several advanced features that leverage its real-time recalculation capabilities.
square chaining: After a square-out triggers, start a new dynamic square from the square-out (not the original origin). Chain squares together: square 1 from the original low to the first square-out, square 2 from that square-out to the next, and so on. Each square in the chain represents a completed price-time cycle. The relationship between consecutive squares (comparing their Sₙ values) reveals whether the market's cycles are (each square larger than the previous — trend accelerating) or contracting (each square smaller — trend decelerating). A sequence of 3+ contracting squares suggests the trend is exhausting itself.
Adaptive grid resolution: Instead of a 8-grid internal division, dynamically adjust the grid resolution based on volatility. In high volatility ( above its 50-bar average by 1.5×), use 4-grid resolution (reduced , fewer false signals). In normal volatility, use 8-grid. In low volatility (ATR below its 50-bar average by 0.5×), use 16-grid resolution (increased sensitivity to catch smaller moves). This adaptive resolution keeps the dynamic square's sensitivity appropriate for current market conditions at all times.
Multi-Timeframe Application
The dynamic square is inherently a single-timeframe real-time tool, but its signals can be validated by checking whether higher timeframe dynamic squares also show a square-out condition. If both the daily and weekly dynamic squares show a square-out within the same bar, the reversal probability is extremely high.
Simultaneous square-out: A square-out on the daily chart that coincides with a square-out on the weekly chart (within a 1–3 bar ) is a "nested square-out." This is Gann's - probability reversal signal — two independent time both reaching price-time equilibrium at nearly the same moment. These events are very rare but are the most powerful signals in Gann analysis.
Slope comparison: the slope of the 1×1 line on the daily dynamic square with the slope on the weekly dynamic square. If both slopes are increasing (steepening), the trend is accelerating at both — a powerful continuation signal. If the daily slope is decreasing while the weekly slope is still increasing, the short-term trend is decelerating within a larger uptrend — a to reduce position size.
Common Pitfalls
Market Regime Analysis
The dynamic square adapts to all regimes by construction, but the quality of its signals varies. Understanding how the square behaves in different volatility environments improves signal selection.
Stable, trending (constant velocity): The 1×1 line maintains a steady slope. Square-out signals are infrequent but reliable. The 2×1 zone provides consistent overextension warnings. This is the ideal regime for the dynamic square — it operates as Gann intended, with equilibrium and clear extremes.
Accelerating / parabolic (increasing velocity): The 1×1 line steepens rapidly. The square grows quickly as price outpaces time. Square-out signals become more frequent but less reliable (the square is "chasing" price). In this regime, focus on the 2×1 overextension zone rather than square-outs. The 2×1 zone is more reliable when velocity is increasing.
Decelerating / topping (decreasing velocity): The 1×1 line flattens. The square "catches up" to price as time catches up to price. Square-out signals become very reliable in this regime — the market is losing momentum exactly when price and time equalize. The 1×2 zone (price slower than time) confirms the deceleration. This is the -probability regime for square-out .
References & further reading
- 1.How to Make Profits in Commodities — W.D. Gann (1942)
- 2.The Tunnel Thru the Air — W.D. Gann (1927)
- 3.Gann's Scientific Methods Unveiled — Betty Long
- 4.Gann Square (Square of Nine) — TradingView Help
- 5.Gann Angles — StockCharts ChartSchool
- 6.The Gann Pyramid: Square of Nine Essentials — James A. Hyerczyk (1998)
Related articles
Related to Gann Square
- Gann Box
Charts / Drawing Tools / Gann
A geometric price-time square with an anchored 45° (1×1) diagonal. Built on W.D. Gann's theory that price and time oscillate in harmonic proportion, the box…
- Gann Fan
Charts / Drawing Tools / Gann
A family of nine rays radiating from a pivot point at fixed geometric angles. The 1×1 (45°) angle is the centrepiece — above it price is strong, below it…
- Gann Grid
Charts / Drawing Tools / Gann
A repeating lattice of 1×1 lines from a pivot. Where the Gann Fan asks what slope a market is advancing at, the grid asks where the 1×1 from every pivot…
- Gann Square Fixed
Charts / Drawing Tools / Gann
A static Gann square with a predetermined grid size. The fixed square projects all major Gann angles from a pivot point and keeps them locked to the same…
- Gann Square of 144
Charts / Drawing Tools / Gann
Gann's Master Calculator: 144 units of time by 144 units of price, divided in eighths and thirds, with the 1×1 angles drawn from the corners. The time side…
- Gann Square of 9
Charts / Drawing Tools / Gann
Price projections taken around Gann's numeric wheel. Levels are spaced evenly in the square root of price, so they widen as price rises — the behaviour…
- Gann Time Cycles
Charts / Drawing Tools / Gann
Vertical lines at Gann's natural time counts from one pivot. The counts are absolute — 30, 45, 90, 144, 180, 360 — not fractions of a prior swing, which is…
- Gann Wheel (360°)
Charts / Drawing Tools / Gann
The Square of Nine drawn as what it physically is: a spiral wound round a centre, cut by the cardinal and ordinal crosses. Rings are turns; spokes are…
- Elliott Impulse Wave (12345)
Charts / Drawing Tools / Patterns
A five-wave motive structure (1\u20132\u20133\u20134\u20135) that moves in the direction of the larger trend. Three of the waves are impulsive (1, 3, 5) and…