AmiBroker system FREE

GANN SQUARE OF 9 (v2.0 Modern)

Intraday support & resistance from the classic Gann Square of 9 price rotation.

GANN SQUARE OF 9  (v2.0 Modern) screenshot

The ATB Trading System Gann Square of 9 is a professional-grade technical analysis tool for AmiBroker that applies the classic Gann Square of 9 price-rotation method to intraday trading. By rotating the square root of price in fixed angular steps (1/48th of 360 degrees), the system derives a full set of support and resistance levels above and below the daily pivot, plus tighter buy and sell zones for entries.

How It Works

  • The system takes the daily pivot (average of the day’s high and low, or the prior close).
  • It rotates the square root of that price in 1/48th-of-360-degree steps to build resistance (H1-H6) and support (L1-L6) levels.
  • Smaller steps create the buy zone (B1-B5) above the pivot and the sell zone (S1-S5) below it.
  • A breakout scanner flags price crossing above the buy level (B3) or below the sell level (S3).

Entry & Exit Signals

  • A green Buy signal appears when price crosses above the buy zone level (B3).
  • A red Sell signal appears when price crosses below the sell zone level (S3).
  • The pivot line and on-chart labels show the key levels at a glance.
  • The info panel displays the pivot, buy-above, sell-below and target levels.

Settings Explained

  • EOD toggle: use the prior day’s close or the current day’s pivot as the base.
  • Show Resistance / Support / Buy-Sell toggles control which levels are plotted.
  • Show Level Labels toggles the on-chart text labels.
  • Panel X/Y/Width/Height position the info panel.

Best Timeframes & Symbols

  • Works on any intraday timeframe (1-15 min) for liquid stocks, indices and futures.
  • Best on high-liquidity instruments like Nifty, Bank Nifty and major blue-chips.

How to Install in AmiBroker

  • Open AmiBroker, right-click the Custom folder and select New → Formula.
  • Paste the AFL code, save, and drag the formula onto an open chart.
  • Use Parameters to toggle levels, labels and the info panel.

Pro Tips

  • Use the buy/sell zones as entry triggers and the H/L levels as targets or stops.
  • Combine with the daily pivot for a clean intraday framework.

FAQ

  • Does it repaint? No — levels are derived from the daily pivot and stay fixed for the day.
  • Can I use it for scanning? Yes — the built-in scanner flags buy/sell crosses across your watchlist.

Educational purposes only — not financial advice. Trading involves substantial risk of loss. Test on demo data before live use.

Features

  • Gann Square of 9 intraday support & resistance levels (H1-H6 / L1-L6)
  • Buy / Sell zones with small-step price rotation (B1-B5 / S1-S5)
  • Daily pivot line with on-chart level labels
  • Breakout scanner: Buy above B3, Sell below S3
  • Modern, high-contrast UI with premium info panel

Compatibility

  • AmiBroker 6.x
WhatsApp · +91 86675 96481