Gold Point and Figure Breakout
Each session it draws a classic point-and-figure chart from 18:00 ET, using 1-minute prices: columns of X (rising) and O (falling) boxes, with a box of 0.02 x the typical daily range and a 3-box reversal.
- Market
- gold futures only - COMEX GC and MGC (full-size and micro), MCX GOLD and GOLDM.
- Runs on
- GC1! or MGC1! (or MCX GOLD / GOLDM), 5-minute chart (recommended).
Free on request during the launch period.
Open on TradingViewThe rules, in full
- U = median high-low range of the previous 20 daily bars (18:00-17:00 ET). Box = 0.02 x U, rounded to whole ticks; boxes sit on a fixed price grid. Reversal = 3 boxes.
- The chart starts with the session's first 1-minute bar at 18:00 ET (the session is skipped if the chart data starts later or U is not available) and stops at 13:00 ET.
- Long: the current X column reaches one box above the previous X column's top (double top). Short: the current O column reaches one box below the previous O column's bottom (double bottom). At most one signal per column.
- Signals count from 18:05 to 13:00 ET. A signal on the same side as the previous signal of the session is ignored. At most 4 signals per session.
- Entry: market order on the next bar's open. The stop (and target, if any) is attached with the order, so it works from the entry bar.
- Stop = 0.20 x U from the entry price.
- Target (signals from 09:20 ET only): Initial Balance high + 0.5 x IB range for longs, IB low - 0.5 x IB range for shorts (IB = 08:20-09:20 ET high-low), used only if it lies beyond the entry; filled when price trades 1 tick through it. Earlier entries have no target.
- No hedging: a signal opposite to an open trade is skipped, but it still counts toward the 4 signals. Each taken signal is its own trade with its own stop and target, so two trades on the same side can be open together.
- Any trade still open is closed at the open of the first bar at/after 16:09 ET (16:09 on a 1- or 3-minute chart, 16:10 on a 2- or 5-minute chart, 16:12 on a 4-minute chart).
That is the whole rule set, exactly as published. Nothing is held back for subscribers.
What you see on the chart
- Green ▲ LONG label below the signal bar or red ▼ SHORT label above it (hover for the time, the breakout level, estimated price, stop and target; once the order fills, the hover shows the real fill price and time and the exact stop and target from the Strategy Tester trade). Small gray "skipped" label when a signal is opposite to an open trade; gray "cancelled" label if an entry was cancelled before its fill (reverse mode only).
- "EXIT +/- pts" label at the Strategy Tester exit bar and price; trades closed on the same bar at the same price share one label. Hover for the reason (Stop, Target, Time exit 16:09, Session change if a trade is still open when a new session starts, or the reversing signal when skipping opposite signals is off).
- Thin green "Buy above" and red "Sell below" step lines: the prices that would complete the next double top / double bottom, named with their price at the right edge.
- While a trade is open: white entry line (dark on the light theme), red stop line, green target line (when there is one), each named with its price at the right edge, with light red (risk) and light green (target) zones. When two same-side trades are open, the older one has its own thinner, dimmer lines.
- Compact status box (top right): the symbol and how it was read (gold futures, or spot / CFD gold or gold ETF if you have overridden the market lock); state (OFF on a symbol that is not gold futures or an unsupported timeframe, WAITING with a short reason, SETUP watching breakouts, IN LONG / IN SHORT with stop and target, DONE for today); the buy / sell breakout levels; signals today, on chart and days loaded, or a short yellow note if none yet. Hover a row for more. "Show details" adds box size, the current column, U and stop size, IB targets, windows, the last signal and the chart timeframe. If you override the lock onto a non-futures symbol, an extra orange row warns you what to check first.
- Banner in the middle of the chart: red on any symbol that is not gold futures (no orders unless the market lock is overridden), orange when the timeframe is not 1-5 minutes (no orders), naming the 5-minute chart.
Alerts
1. Open a 5-minute GC or MGC chart and add the strategy.
2. Create Alert: Condition = this strategy, then "alert() function calls only". TradingView calls this a technical alert, and a free Basic account cannot create one - Basic allows 3 price alerts and no technical alerts at all, so the Create Alert dialog will not let you save it. Essential is the lowest plan that works (20 technical alerts); Plus 100, Premium 400. On Essential and Plus an alert also expires after two months and has to be created again; on Premium and Ultimate it does not expire. Phone notifications themselves are free on every plan - tick "Notify on app" and have the TradingView app installed and signed in on the same account.
3. Each message is one short line: what happened and at what price first, then the exchange and ticker, then the rest, separated by "|". Nothing else to read.
LONG 3886.9 on COMEX:GC1! | SL 3878.1 | TP 3943.9 | double top > 3886.0 | flat 16:09 ET | fills next open
LONG 3887.1 on COMEX:GC1! | SL 3878.3 | TP 3943.9 | filled
EXIT 3943.9 on COMEX:GC1! | Target | +56.8 pts | position 0
EXIT 3877.9 on COMEX:GC1! | Time exit 16:09 ET | -9.2 pts | position 0
SHORT SKIPPED on COMEX:MGC1! | opposite trade open
The exchange and ticker are in every line, so if you run it on both GC and MGC you can still tell them apart at a glance. Alerts are per chart: create one on each symbol you want watched.
4. Messages fire once per bar close. Four toggles in the Alerts group: entry signals, fills (the exact stop and target once the order is filled), exits, and skipped signals (off by default; the others are on). Entry alerts still fire when "Enable trading" is off, but not on unsupported symbols unless the market lock is overridden.
5. FREE BASIC PLAN - the "Price alert" row. A Basic account cannot create the alert in step 2 at all, so the status box prints a "Price alert" row instead: the buy and sell breakout levels the box already shows, or "none yet" while the columns are still building.
Those numbers go into ordinary price alerts on the SYMBOL (Alt+A, Condition = GC1! or MGC1! and not the strategy, operator "Crossing", tick "Notify on app"), which Basic does allow - three of them, and editing one does not use up another.
It rings when price reaches the level, not when the strategy trades: a signal needs a 1-minute CLOSE beyond the level, and the levels are recomputed as new columns form, so expect to edit the alert during the session and to look at the chart before acting.
Settings
- Market lock: "Allow orders on other symbols (override)" (off by default). The script reads the symbol's contract root together with its instrument type, so it knows gold futures from spot / CFD gold, from a bullion ETF, from a gold mining share - and places orders only on gold futures. Turn the override on only to experiment elsewhere; the status box then tells you what it thinks the symbol is and what you still have to set yourself.
- Trading: Enable trading (on; off = signals, levels and alerts only, no orders) and Skip signals opposite to an open trade (on). If you turn it off, an opposite signal closes and reverses the open trades.
- Rule parameters, Session windows and Exit: box 0.02 x U, 3-box reversal, 4 signals, U from 20 daily bars, 18:05-13:00 ET signals, 16:09 ET time exit, 0.20 x U stop, IB target 0.5 x IB range with IB 08:20-09:20 ET. These are the defaults the strategy is designed around; changing them changes the strategy.
- Alerts and Display Options (signal and EXIT labels, label size, labels kept, breakout levels, lines and zones, Initial Balance lines (off), signal bar highlight (off), status box and its position, Show details, dark theme).
- Properties default to 100,000 initial capital, 1 contract per order, pyramiding 4, 1.20 commission per contract per side (a micro-futures figure) and 1 tick slippage. Enter your own commission, especially for full-size GC.
Limits, and what this cannot do
- The point-and-figure chart is built from 1-minute bars with an assumed price path inside each minute (open, then the nearer extreme, then the other, then close); a live tick-by-tick chart can form a column at a slightly different time or price.
- Pine fills at the next bar's open plus 1 tick and estimates the price path inside each bar (a bar touching both stop and target is a guess). On 2-5 minute charts the entry comes up to one bar after the signal; the 1-minute chart is closest. Results on chart bars can differ from live fills.
- On 2-5 minute charts two signals inside one bar are placed together at the next open.
- The session, the Initial Balance and the time exit are wall-clock New York times. A symbol whose session does not start at 18:00 ET makes no signals at all, which is the reason the market lock stays on gold futures.
- U comes from TradingView daily bars and can differ around contract rolls and short holiday sessions. On early-close days change the time inputs by hand.
- The script only sees its own trades.
Educational tool. Not financial advice. Past behaviour does not predict future results.
Before you decide
The script page on TradingView carries TradingView's own Strategy Tester report, generated by TradingView from this script. We do not write those numbers and we do not repeat them here. Read them at the source: Gold Point and Figure Breakout on TradingView.