TD

Methodology

Exactly how every figure is calculated.

Data and timing

The indicator reads the weekly CFTC Commitments of Traders series through TradingView: the Disaggregated report for commodities and the Traders in Financial Futures (TFF) report for financial futures, all reporting markets combined. The CFTC code comes from a built-in map of commodity and crypto roots (micro and mini contracts map to their parent report) and, for other financial futures, from TradingView’s COT library. A commodity root outside the map shows NO COT DATA until its code is entered in CFTC code override.

Positions are taken on Tuesday and published on Friday. Each report is requested on the weekly timeframe without look-ahead, so it appears on the chart at the end of its week: history shows what was known at the time. The footer date is the Tuesday of the latest report.

Positions

Net = long − short
Gross = long + short
Share of OI = gross ÷ open interest × 100
Commercials net = (Producer/Merchant long + Swap Dealers long) − (Producer/Merchant short + Swap Dealers short)

For financial futures the reference net is the other financial group’s long minus short: Leveraged Funds when the main group is Asset Managers, Asset Managers otherwise.

Ranks

A rank places the latest value inside the last N reports (the lookback, 156 by default). At least 26 reports are needed.

Min-max: rank = (value − lowest) ÷ (highest − lowest) × 100
Percentile: rank = (number of reports with a lower value) ÷ (reports in the window − 1) × 100

Net, long, short, open interest and the reference net are each ranked over the lookback. The Net rank 1y / 3y / 5y row ranks the net position over 52, 156 and 260 reports with the same method; each window needs its full history. Structural extreme = all three windows ≥ extreme high or ≤ extreme low; Partial extreme = one or two.

Net rankSpeculator statusInstitutional status
≥ extreme high (80)Crowded longMax long
≥ high midpoint (65)Leaning longAbove average
between the midpointsNeutralAverage
> extreme low (20)Leaning shortBelow average
≤ extreme lowWashed outMin long

The midpoints sit halfway between 50 and each extreme: 50 + (high − 50) ÷ 2 and 50 − (50 − low) ÷ 2.

Flow

Flow prices are the close of the last Monday or Tuesday daily session — the day the positions are taken, or the session before it when Tuesday is a holiday.

RowCondition
Price + open interestΔprice ≥ 0 and ΔOI ≥ 0 → New buying · Δprice ≥ 0, ΔOI < 0 → Short covering · Δprice < 0, ΔOI ≥ 0 → New selling · both < 0 → Long liquidation
What the group didΔlong > 0, Δshort ≤ 0 → Bought longs, covered shorts · Δlong ≤ 0, Δshort > 0 → Sold longs, added shorts · both > 0 → Added both sides · otherwise → Cut both sides
Net trendΔnet over the trend window; Flat when |Δnet| < 0.02 × current gross, otherwise Accumulating (> 0) or Distributing (< 0)
Price vs groupBearish when the price rose over the trend window and the net fell; Bullish when the price fell and the net rose; a Flat trend never counts as a divergence
Weekly flow σ = (Δnet this week − mean of the previous 52 weekly Δnet) ÷ their standard deviation

The flow σ needs at least 26 earlier weekly changes. A week is unusual when |σ| ≥ the threshold (2.0).

Smart-money check

Applies to commodities, where the commercial hedgers are reported as a separate group.

ConditionResult
Speculator net rank ≥ extreme high and Commercials net rank ≤ extreme lowConfirmed top risk: hedgers at short extreme
Speculator net rank ≤ extreme low and Commercials net rank ≥ extreme highConfirmed bottom setup: hedgers at long extreme
Speculator net rank at either extreme, otherwiseNot confirmed by hedgers
No speculator extremeNo speculator extreme

Verdict

Evaluated on each new report; the first true condition is shown. Leaving means the previous report was at the extreme and the current one is not.

#Speculator logicInstitutional logic
1Leaving the upper extreme → LEAVING CROWDED LONGLeaving the upper extreme → INSTITUTIONS TRIMMING
2Leaving the lower extreme → LEAVING WASHED OUTLeaving the lower extreme → INSTITUTIONS RETURNING
3Net rank ≥ high → CROWDED LONGNet trend Accumulating → INSTITUTIONS ACCUMULATING
4Net rank ≤ low → WASHED OUTNet trend Distributing → INSTITUTIONS DISTRIBUTING
5Net trend Accumulating → FUNDS ACCUMULATINGNet rank ≥ high → INSTITUTIONS MAX LONG
6Net trend Distributing → FUNDS DISTRIBUTINGNet rank ≤ low → INSTITUTIONS MIN LONG
7NEUTRALNEUTRAL

For speculators on commodities, · hedgers confirm is appended to rows 3 and 4 when the smart-money check is confirmed.

Long cycle

The long cycle holds a position through the main group’s whole positioning cycle — from capitulation, through accumulation, to the crowded phase — instead of reacting to every move in and out of the zones. It is evaluated on weekly closes at each report and is designed around gold, silver and platinum, where the positioning cycle of the funds is most regular.

StepRuleLabel
Setup: double buyLong rank ≤ 10 and short rank ≥ 90 on the same report — the funds hold almost no longs and heavy shorts that must be bought back. This arms the entry.—
Entry 1The first weekly close above the 10-report SMA of weekly closes within 8 reports after the last double buy.IN
Entry 2: trend pullbackWeekly close above the 40-report SMA, the net rank on the previous report ≤ 35, and the net rank higher on this report than on the previous one.IN·T
ExitThe net rank has reached the extreme high during the cycle and is below it on this report.OUT

A new cycle can open on the report after an exit. The status shows the change from the entry close to the latest weekly close and the number of weeks in the cycle.

Why there is no short cycle: in metals, crowded fund longs mark a strong trend more often than a top, and prices can keep rising long after funds are fully loaded. The cycle is therefore long-side, and the exit is the funds leaving the crowded zone rather than reaching it.

The long cycle has no stop-loss. A cycle stays open until the net rank has been crowded and leaves the zone, which can take many months and include deep interim declines. Size positions with that in mind and apply your own risk management.

Repainting

Positions, ranks, flows and the verdict update when a new report appears and stay fixed afterwards. Flow prices use completed Monday/Tuesday sessions. On a daily chart a new report appears on the daily bar where the weekly series updates; on a weekly chart, at the weekly close.