# Iran strikes send oil soaring and inflation fears spiking — defense and energy stocks are the safe haven

_AI-generated trading idea · LONG · LMT, USO, XOM_

> Canonical page: https://commonquant.ai/research/for-you/iran-strikes-send-oil-soaring-and-inflation-fears-spiking-de--6ebfdb18-9e9e-45aa-b12f-03bb976273b6

Oil prices are soaring after the US struck Iran and blocked their oil sales. At the same time, defense stocks like Lockheed Martin are jumping as war fears rise, and experts warn this conflict will push inflation higher, forcing the Federal Reserve to keep interest rates elevated.

## Idea

The breakdown of the US-Iran ceasefire has caused oil prices to spike over 5% as Iranian oil sales are now blocked. This sudden geopolitical shock is doing two things simultaneously: driving investors into defense contractors like Lockheed Martin on war fears, and pushing energy costs higher. Top strategists like Ed Yardeni note that this oil spike threatens to re-accelerate inflation, which changes the whole backdrop for the stock market. When inflation rises and wars escalate, historically, money rotates out of risky tech and consumer stocks and into defense and oil majors as both a safe haven and a direct profit play.

## Advanced Analysis

### Verdict: a real geopolitical thesis, but no live signal — wait for the oil day

The idea's core rotation story has genuine fundamental support: Lockheed's June 2026 quarter (period ended June 28) showed revenue up 11.3% to $20.1B, net income up 23.4%, and free cash flow swinging from -$291M to +$2.6B, while oil jumped over 5% on July 8 per the Yahoo Finance report — exactly the catalyst class the idea targets. The strongest argument against is mechanical: the full entry stack (one-day momentum above 3%, a break above the 20-day channel high, trend strength above 25, and a resistance break) has never fired in 1,237 evaluated daily bars, so this is a watch-list setup, not an active signal, and today USO's momentum sits at just +0.1%. Exxon adds a fundamental wrinkle — its March 31 quarter showed revenue down 74.4% sequentially to $85.1B and net margin compressed to 4.9% — and the latest Lockheed insider filing (period ended June 30) showed modest net open-market selling of roughly -$118K across 12 filers. No robust parameter setup was established, since the sensitivity evaluation ran out of its time budget, so the thresholds are to be watched as written. The verdict flips if a single day delivers a +3% crude move while XOM's trend strength clears 25 and it closes above its first resistance at $163.68 — the nearest complete path to an entry.

#### Conviction score breakdown

Composite score computed by the server from the applicable evidence-tier dimensions.

| Measure | Value |
| --- | ---: |
| Thesis support | 70/100 |
| Trade readiness | 35/100 |
| Risk quality | 55/100 |
| Trigger proximity | 30/100 |
| Fundamentals trend | 65/100 |
| Score | 51/100 |
| Composite Score | 51/100 |
| Evidence Tier | rules\_not\_triggered |

#### Decision scenarios

Bull, base, and bear cases synthesized from the cited evidence tier. Likelihoods are rounded evidence-weighted judgments, not statistically calibrated forecasts.

| Measure | Value |
| --- | ---: |
| Evidence Tier | rules\_not\_triggered |

### Trade now: the entry stack is not live — here is exactly what 'wait' means

This is a watch-list setup, not an active signal. The strategy goes long USO or XOM only when four conditions line up on the same day: one-day momentum above 3%, a close crossing above the 20-day channel high, a 14-day trend-strength reading above 25, and a break of the first resistance level. Today, no such stack is live. On USO at $141.15, trend strength (45.3) already clears the 25 bar and price sits well above the 20-day channel top of $129.18, but one-day momentum is only +0.1% — 2.9 points short of the 3% trigger. On XOM at $164.15, price has cleared the channel top of $159.89 by $4.25, but momentum is -0.2% (about 3.2 points short) and trend strength is 21.9, below the 25 threshold.

What does waiting mean concretely? Do not pre-position. The next single-day move in crude would need to be roughly +3% or better while XOM also firms its trend reading above 25 and closes above its first resistance at $163.68 — that is the nearest complete path to an entry. If a stack triggers, the strategy's own risk controls define the trade: a fixed stop at -2.4% from entry and a profit target at +4.8%, a reward-to-risk of about 2-to-1, with positions capped at 25% of the book.

One note on tuning: no robust parameter setup was established for this strategy — the sensitivity evaluation ran out of its time budget without a recommendation, so the thresholds above are the ones to watch as written. On the idea's own thesis, the geopolitical oil shock (per the idea, Iranian sales blocked after the strikes) is exactly the kind of event that can produce a +3% crude day quickly, which is why this stays on the daily watch list rather than the shelf.

#### LMT price and trigger map

Uses the idea timeframe and keeps price levels on the price axis.

| Measure | Value |
| --- | ---: |
| Ticker | LMT |
| Timeframe | 1d |

#### USO price and trigger map

Uses the idea timeframe and keeps price levels on the price axis.

| Measure | Value |
| --- | ---: |
| Ticker | USO |
| Timeframe | 1d |

#### XOM price and trigger map

Uses the idea timeframe and keeps price levels on the price axis.

| Measure | Value |
| --- | ---: |
| Ticker | XOM |
| Timeframe | 1d |

### A war-driven rotation has fundamental support behind it

The idea argues that an Iran-driven oil spike pushes money into defense and energy simultaneously, and the underlying fundamentals of both tickers make that rotation plausible rather than purely narrative. Lockheed's June 2026 quarter (period ending 2026-06-28) showed revenue of $20.1B, up 11.3% from the prior quarter's $18.0B, with net income up 23.4% to $1.8B and operating margin expanding to 12.4% from 11.4%. That is a defense franchise accelerating into exactly the geopolitical backdrop the idea describes — the Barron's piece from July 8, 2026 captures defense names like Lockheed rising directly on Iran war fears.

The balance-sheet and cash-flow trend reinforces it. Lockheed cut its debt-to-equity ratio by 14.6% quarter over quarter, to 2.34 from 2.74, and swung from negative $291M in free cash flow in Q1 2026 to +$2.6B in Q2. The dividend record is equally telling: trailing twelve-month payouts of $13.80 per share, with annual totals climbing from $10.60 in 2021 to $13.35 in 2025 — management signaling confidence, not retrenchment.

On the energy leg, Exxon is a cash machine even in softer quarters: FY2025 free cash flow of $23.6B ranks it at the 98.7th percentile among Energy peers, with a dividend running at $1.03 per quarter ($4.12 trailing twelve months) and a rising schedule. Per the Yahoo Finance report of July 8, 2026, oil jumped over 5% to a two-week high when Trump declared the Iran deal 'over' — the precise catalyst class this setup is built to capture.

One important caveat on evidence quality: the entry rules did not fire anywhere in the evaluated history — zero trades across 1,237 daily bars over 60, 24, and 12-month windows on USO and XOM. This is a watch-list setup, not an active signal; the momentum-plus-breakout-plus-trend stack is strict, and the question is whether the next oil spike lines up all four conditions on the same day.

#### LMT Return on equity

Return on equity trend from CommonQuant fundamentals/XBRL data; +52.0% from first to latest point.

| Measure | Value |
| --- | ---: |
| 2007-12-31 | \0.30933197348291686% |
| 2008-12-31 | \1.1228621291448515% |
| 2009-06-28 | \0.2602836879432624% |
| 2009-09-27 | \0.2538216560509554% |
| 2009-12-31 | \0.7496217851739788% |
| 2010-03-28 | \0.1323237338629593% |
| 2010-06-27 | \0.35833113282281487% |
| 2010-06-27 | \0.2175864800633747% |
| 2010-09-26 | \0.4703140333660451% |
| Latest Value | \0.4703140333660451% |
| Change Pct | \52.04184296584481% |
| Ticker | LMT |
| Timeframe | reported periods |

#### LMT sector percentile check

Ranks LMT against 490 companies in its sector using CommonQuant fundamentals.

| Measure | Value |
| --- | ---: |
| Free cash flow | \99.79591836734694th percentile |
| Return on equity | \93.39285714285714th percentile |
| Gross margin | \11.943793911007026th percentile |
| Revenue growth (YoY) | \88.02177858439202th percentile |
| Ticker | LMT |
| Sector | Industrials |
| Peer Count | 490 |

#### XOM sector percentile check

Ranks XOM against 78 companies in its sector using CommonQuant fundamentals.

| Measure | Value |
| --- | ---: |
| Free cash flow | \98.71794871794872th percentile |
| Revenue growth (YoY) | \31.11111111111111th percentile |
| Rnd Intensity | 32th percentile |
| Return on equity | \64.8854961832061th percentile |
| Ticker | XOM |
| Sector | Energy |
| Peer Count | 78 |

### Insiders are selling, Exxon is decelerating, and the trigger never fires

Start with the ownership posture.…

#### Rule trigger diagnostic

The rule set was evaluated against real market bars but did not open an entry; use the watch triggers as the actionable read.

| Measure | Value |
| --- | ---: |
| Bars evaluated | 1237 count |
| Entries | 0 count |

#### XOM Revenue

Revenue trend from CommonQuant fundamentals/XBRL data; -80.3% from first to latest point.

| Measure | Value |
| --- | ---: |
| 2009-12-31 | $301500000000 |
| 2010-12-31 | $370125000000 |
| 2011-12-31 | $467029000000 |
| 2012-12-31 | $451509000000 |
| 2013-12-31 | $420836000000 |
| 2014-12-31 | $394105000000 |
| 2015-12-31 | $239854000000 |
| 2016-12-31 | $200628000000 |
| 2017-03-31 | $56474000000 |
| 2017-06-30 | $56026000000 |
| 2017-09-30 | $59350000000 |
| Latest Value | $59350000000 |
| Change Pct | $-80.3150912106136 |
| Ticker | XOM |
| Timeframe | reported periods |

#### XOM Return on equity

Return on equity trend from CommonQuant fundamentals/XBRL data; -79.4% from first to latest point.

| Measure | Value |
| --- | ---: |
| 2007-12-31 | \0.3221890768303132% |
| 2008-12-31 | \0.400300978179082% |
| 2009-06-30 | \0.03705719003302312% |
| 2009-09-30 | \0.04409639677434392% |
| 2009-12-31 | \0.1743707549132216% |
| 2010-03-31 | \0.05597959854630756% |
| 2010-06-30 | \0.0539337385497817% |
| 2010-09-30 | \0.05067882039012349% |
| 2010-12-31 | \0.20743807843965156% |
| 2011-03-31 | \0.07030631106416689% |
| 2011-06-30 | \0.06865915358949798% |
| 2011-09-30 | \0.06624385176254817% |
| Latest Value | \0.06624385176254817% |
| Change Pct | \-79.43944828476084% |
| Ticker | XOM |
| Timeframe | reported periods |

### Scores

- **Conviction score breakdown:** 51
- **Thesis support:** 70
- **Trade readiness:** 35
- **Risk quality:** 55
- **Trigger proximity:** 30
- **Fundamentals trend:** 65

### Watch items

- **USO — ROC (1)**
- **USO — ADX (14)**
- **XOM — ROC (1)**
- **XOM — ADX (14)**
- **XOM — Price vs Donchian (20) upper**
- **LMT — Insider net open-market value**
- **LMT — Next SEC quarterly snapshot**
- **XOM — ROC (1) exit threshold**
- **LMT — ROC (1) above 3**
- **LMT — Price crossed above Donchian (20)**
- **LMT — ADX (14) above 25**
- **LMT — ROC (1) below -5**

## Key details

- Symbols: LMT, USO, XOM
- Timeframes: D1
- Tags: \#geopolitics, \#defense, \#energy, \#inflation

## Community

- Upvotes: 26
- Views: 282
- Copies: 0
- Cosigns: 0

## News sources

- [Yardeni Says Inflation, Fed Back in Play as Iran Crisis Returns](https://www.bloomberg.com/news/articles/2026-07-08/yardeni-says-inflation-fed-back-in-play-as-iran-crisis-returns) — Bloomberg
- [Oil jumps over 5% to two-week high after Trump says deal with Iran 'over'](https://finance.yahoo.com/news/us-oil-prices-jump-us-225402944.html) — Yahoo Finance
- [Northrup, Lockheed, Other Defense Stocks Rise as Trump Sparks Iran War Fears](https://www.barrons.com/articles/northrup-grumman-lockheed-defense-stocks-trump-iran-war-e63c1079?siteid=yhoof2&yptr=yahoo) — Barron's

## Related ideas

- [Night movers — Sep 23: Closing theme](https://commonquant.ai/research/for-you/night-movers-sep-23-closing-theme--d4fa02f0-157c-5687-91fa-7c0b13f0d96a)
- [Night movers — Sep 21: Chip and communication services surge while energy lags](https://commonquant.ai/research/for-you/night-movers-sep-21-chip-and-communication-services-surge-wh--6fcd8852-c59a-5347-863b-a3f51ccb0eff)

## Related

- [LMT trade ideas](https://commonquant.ai/markets/lmt)
- [USO trade ideas](https://commonquant.ai/markets/uso)
- [XOM trade ideas](https://commonquant.ai/markets/xom)
- [Latest market news](https://commonquant.ai/news)

## About CommonQuant Research

Ideas and Advanced Analysis are generated with fresh, LLM-selected news headlines and grounded in SEC XBRL fundamentals and peer percentiles. Strategies built from these ideas are automatically backtested (over a timeframe-dependent historical window with walk-forward tuning) and stress-tested before they can go live, then monitored against the news hourly while they run.
