Skip to content

GoldDiggerTradingView gold strategy

  • Gold
  • 1 hour
  • Long & short
  • Live since 6 Aug 2025
  • No look-ahead · checked
  • Calculated by TradingView

Performance

Since 2023
+313.5 %
10,000 → 41,351 USD · since 1 Jan 2023
Per year
+43.8 %
2023–2026
A trade about every
10 days
145 trades in 3.9 years

Live0trades closed this weekOpen now 1

10,000 USD at ×1.0 · Since 2023 · 1 Jan 2023 – 28 Nov 2026

GoldDigger +313.5 % since 2023

On TradingView

GoldDigger as TradingView shows it: the Strategy Tester, the chart with its trades, the latest trades. Unedited.

  • GoldDigger

    Gold · 1H · Long & short

    Since 20231TradingView
    +313.5 %
    Win rate
    54.5 %
    Profit factor
    1.73
Range
1 Jan 2023
to 28 Nov 2026
Start capital
10,000 USD
TradingView’s test account
Commission
0.01 %
per side, every trade
Captured
29 Nov 2026
screenshot of the Strategy Tester

Live record

Live since 6 Aug 2025Code unchanged · every trade since ran in real time on TradingView

Total live
+12.0 %
10,000 → 11,196 USD
Live trades
59
since 6 Aug 2025
Days live
479
1.3 years
Winning trades live
44.1 %
of closed live trades
Account value, live
10,000 USD at ×1.0 on 6 Aug 2025, every closed trade since

Scroll on the chart to zoom · drag to move · double-click to reset

Live (since 6 Aug 2025)
Milestones
1.3 years live so far
  • 6 months livereached 4 Feb 2026
  • 1 year livereached 6 Aug 2026
  • 2 years livein 251 days

Checked: same live as in the backtest

  • No look-aheadDecides on closed bars, with data it already has.
  • Realistic costsCommission and slippage in every trade.
  • Live proofCode unchanged since 6 Aug 2025.

Get the live trades on my chart

Returns

Since 2023 · 1 Jan 2023 – 28 Nov 2026

Profit factor
1.73
Profits ÷ losses
Positive months
34of 46
74 % of months
Best month
+22.7 %
Mar 2024
Worst month
−16.9 %
Mar 2026
Month by month
Return per month and per year, in %
YearJanFebMarAprMayJunJulAugSepOctNovDecYear
2023+50.9 %
2024+85.4 %
2025+81.1 %
2026−18.4 %
Year by year
GoldDigger vs gold buy & hold, per calendar year

If you had started on …

10,000 USD at ×1.0, until 28 Nov 2026

Start day
Value on 28 Nov 2026
8,570 USD
from 10,000 USD on 1 Dec 2025
Total
−14.3 %
1.0 years
Per year
−14.4 %
compounded

Hypothetical results. Past results do not predict future ones.

Risk

How deep and how long the account fell from its previous high.

Largest drop
−30.9 %
lowest Jun 2026 · not yet recovered
Longest drawdown
306 days
26 Jan 2026 – not yet recovered
Below the high now
−27.3 %
no earlier drop was this deep
Drawdowns
Since 2023 · 1 Jan 2023 – 28 Nov 2026

Scroll on the chart to zoom · drag to move · double-click to reset

Backtest (until 5 Aug 2025)Live (since 6 Aug 2025)
Largest drawdowns
1 deeper than 10 % · about 0.3 per year

Long vs short

Where the results come from

Long 98 tradesShort 47 trades
68 %Share of trades32 %
56.1 %Winning trades51.1 %
2.13Profit factor0.87
+0.71 %Average trade+0.04 %

Trades

From TradingView’s trade list · Since 2023. This week here, every trade with access.

Winning trades
54.5 %
of closed trades
Wins vs losses
1.41×
Average win ÷ average loss
Average hold
8 d 16 h
from entry to exit
Longest wait
10 days
without a trade, from 24 Aug 2026

Activity

Time in the market · Since 2023

Long, short or flat

Share of the time with a long, a short or no position

Long
78 %
Short
11 %
Flat
11 %

Trades per month

Closed trades, last 12 months to 28 Nov 2026

DJFMAMJJASON

GoldDigger this week

23 Nov – 28 Nov
Trades closed
0
Open now
1

Latest closed tradesshown with a one-week delay

  1. Long−2.11 %
  2. Short+1.80 %
  3. Long−1.20 %
  4. Short+2.51 %
  5. Long+0.49 %
  6. Short+0.23 %

Live trades, as they happen, with access

How it works

GoldDigger trades gold (XAUUSD) on the 1 hour chart, long & short, as a strategy script on TradingView.

Rules at a glance

Market
Gold
XAUUSD
Timeframe
1 hour
chart
Direction
Long & short
both sides
Tested since
2015
TradingView backtest
Published
Jun 2024
27 Jun 2024
Live since
Aug 2025
code unchanged
Typical hold
8 d 16 h
from entry to exit · Since 2023
Trades per month
3.1
Since 2023

Typical position

10,000 USD at ×1.0 · Since 2023 · from the settings

Gold, as sent
4 ounces
what the chart sends, median at entry
Planned
3.86 ounces
before the chart rounds

Use these settings on my chart

What it does

  • News pauseStays out of the market 4 hours before and after high-impact news.
  • Size by volatilityPosition size follows volatility (ATR): smaller when gold moves wildly.
  • Long and shortTrades rising and falling gold prices.
  • Trade boxes on the chartEvery entry and exit is drawn on the chart, so you can follow each trade.
  • Ready-made JSON alertsFor MetaTrader, cTrader, NinjaTrader or any webhook.
  • Risk hintsClear hints on the chart about position size and risk.

Where it fits: Gold on the 1-hour chart, long and short.

Its limits: Choppy, reversing gold markets cost it.

Get started in 4 steps

  1. Open the chartAn XAUUSD chart on the 1-hour timeframe in TradingView.
  2. Add GoldDiggerFrom your invite-only scripts under Indicators.
  3. Choose position sizeSet the order size in the strategy settings.
  4. Add an alert (optional)Use the ready-made JSON message for your webhook.

Versions

Every change to the strategy on TradingView.

10 updates on TradingView

Code frozen since 6 Aug 2025
Published27 Jun 2024Code freeze6 Aug 2025

In a portfolio

GoldDigger next to the other strategies

Pairs well with

The strategies whose months move least with GoldDigger’s

Add GoldDigger to my portfolio
  • Crypto Crusher

    Bitcoin · 1D · 29 months compared

    Correlation of monthly returns
    −0.35
  • Coin Alpha

    Bitcoin · 4H · 21 months compared

    Correlation of monthly returns
    −0.28
  • ChainSmoker

    Bitcoin · 2H · 15 months compared

    Correlation of monthly returns
    0.06

Questions about GoldDigger

Which Pine Script is best for XAUUSD?

Pick one with a record you can check. GoldDigger is public on TradingView since Jun 2024 and live on unchanged rules since Aug 2025.

Can I verify GoldDigger's results?

Yes. GoldDigger's figures come from TradingView's own Strategy Tester on a dated script page. With access you see every GoldDigger trade yourself.

Can I automate gold trading with GoldDigger?

Yes. One TradingView alert sends each GoldDigger order to your broker through PineConnector, TradersPost or any webhook. Your money stays at your broker.

How do I swing trade gold with GoldDigger?

Add GoldDigger to an XAUUSD 1h chart and create one alert. GoldDigger holds each gold trade for days to weeks and closes it by itself.

Does GoldDigger work on gold futures?

Yes. On a gold future's chart, pick Fixed quantity, enter your contracts and check GoldDigger's Next order before your first alert.

Why don't I see GoldDigger under Invite-only scripts?

GoldDigger access goes to the TradingView username from checkout. Reload TradingView, then open Indicators, Invite-only scripts. Still missing? Email support@pineindicators.com.

Why does GoldDigger pause around news?

High-impact news can move gold sharply and unpredictably. GoldDigger stays out of the market around such releases.

Which gold symbol do I need for GoldDigger?

XAUUSD on the 1h chart. The figures come from EIGHTCAP:XAUUSD. Other gold feeds give slightly different prices and trades.

Are the costs in GoldDigger's results realistic?

Every trade pays 0.01 % commission per side in TradingView's Strategy Tester. Not included: overnight financing (swap), which depends on your broker.

Can I change GoldDigger's position size?

Yes, in GoldDigger's settings on TradingView. The position size switch on this page shows how each size would have done.

Where does GoldDigger do best?

Gold on the 1-hour chart, long and short. It follows strong moves in either direction and has done best in trending gold markets.

What are GoldDigger’s limits?

Choppy, reversing gold markets cost it. 2026 is down so far, and other gold data feeds give slightly different trades than the tested EIGHTCAP feed.

More answers in the Help Center

Get GoldDigger on your chart today. All 8 strategies + every new one.

  • All 8 strategies on your TradingView, plus every new one
  • Runs automatically via your broker
  • Ready-made alerts for every strategy
  • Every update included, at no extra cost
  • Cancel any time

$108/month

$1,290 billed yearly · $1,788 · save $498

Or GoldDigger only · $79/month or $690/year

  • 30-day money-back
  • Cancel anytime
  • No look-ahead · checked

1,473+ traders1,621 followers on

Hypothetical results. All figures come from TradingView1's Strategy Tester on historical data; trades after 6 Aug 2025 ran on the frozen code in real time. Past performance does not guarantee future results. Trading involves a substantial risk of loss. Nothing on this page is investment advice.

By Justin Jaeger, founder · Data as of

Screenshot

Important information

Risk warning. Trading forex, CFDs, futures, stocks and crypto involves a substantial risk of loss and is not suitable for everyone; leverage increases that risk, and you can lose more than you put in where your broker allows it. Past performance, whether hypothetical or real, is not a reliable indicator of future results. PineIndicators provides software and education; nothing on this site is investment advice. You choose the strategies, settings and size, and you place or automate every trade yourself, at your own decision and risk. Test any strategy in TradingView’s Strategy Tester and on a demo (paper) account before you trade real money, and only trade with money you can afford to lose.

Hypothetical performance (CFTC Rule 4.41). These results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under-or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to these being shown.

PineIndicators provides software and education. It does not manage accounts, hold client funds, place orders or store secret keys, and nothing on this site is investment advice. Access from India is not offered because of SEBI rules on instrument-specific trading advice.

TradingView and Pine Script are trademarks of TradingView, Inc. MetaTrader is a registered trademark of MetaQuotes Ltd. All other product and company names and logos, including those of brokers, exchanges, prop firms and bridges, are trademarks of their respective owners and are used only to show which products our scripts can be used with. PineIndicators is an independent seller of invite-only scripts on TradingView. It is not affiliated with, endorsed or sponsored by TradingView or any other company named on this site, unless stated otherwise (see partner links above). TradingView is not a party to any purchase from PineIndicators.

© 2026 PineIndicators. All rights reserved. Justin Jaeger, Elberfelder Straße 75, 58285 Gevelsberg, Germany

Software and education. Not investment advice.

GoldDigger · All 8 strategies + every new one · from $108/monthmo

  • 30-day money-back
Get my access