Iran strikes block oil sales and Exxon flags a profit windfall — long oil majors
Created
Thesis
The combination of military strikes blocking Iranian oil exports and a near-shutdown of tanker traffic through the Strait of Hormuz creates a direct supply shock. Exxon has already confirmed that higher oil prices are flowing straight to their bottom line. With the ceasefire declared 'over' and active military engagement escalating, this isn't a one-day spike — it's a sustained margin expansion for oil majors with minimal Middle East exposure. Oil majors act as a leveraged play on the oil price while paying dividends during the hold.
Strategy approach
Build a rule-based strategy that enters long XOM and CVX on D1 when front-month crude oil futures (CL1) gain >3% in a single session and XOM or CVX are within 5% of their 20-day high. Exit on a 10% trailing stop or if CL1 drops below its 10-day low. Max hold 30 days.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
CVX · 1d
5 of 10 published entry conditions marked met.
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Price below Donchian (20) — far
XOM · 1d
5 of 10 published entry conditions marked met.
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Momentum (1) above 3 — far
- Price above Donchian (20) — met
- Price below Donchian (20) — near
Entry and exit at a glance
These are the named rules in the shared configuration. Review the full conditions below before using a strategy.
- Entry: MOMENTUM/DONCHIAN Signal Long (XOM@1d) (2 conditions)
- Entry: MOMENTUM/DONCHIAN Signal Long (CVX@1d) (2 conditions)
- Entry: MOMENTUM/DONCHIAN Signal Long (USO@1d) (2 conditions)
- Entry: MOMENTUM/DONCHIAN Signal Long (XOM@1d) (2 conditions)
- Entry: MOMENTUM/DONCHIAN Signal Long (CVX@1d) (2 conditions)
- Entry: MOMENTUM/DONCHIAN Signal Long (USO@1d) (2 conditions)
- Exit: Position Exit Rule (XOM@1d) (1 condition)
- Exit: Stop Loss at 2.5% (1 condition)
- Exit: Take Profit at 5.0% (1 condition)
- Exit: Stop Loss at 10.0% (1 condition)
- Exit: Take Profit at 10.0% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "XOM",
"timeframe": "1d"
},
{
"symbol": "CVX",
"timeframe": "1d"
},
{
"symbol": "USO",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xom",
"name": "MOMENTUM/DONCHIAN Signal Long (XOM@1d)",
"priority": 2,
"trade_symbol": "XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_cvx",
"name": "MOMENTUM/DONCHIAN Signal Long (CVX@1d)",
"priority": 3,
"trade_symbol": "CVX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_uso",
"name": "MOMENTUM/DONCHIAN Signal Long (USO@1d)",
"priority": 4,
"trade_symbol": "USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2",
"name": "MOMENTUM/DONCHIAN Signal Long (XOM@1d)",
"priority": 1,
"trade_symbol": "XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3",
"name": "MOMENTUM/DONCHIAN Signal Long (CVX@1d)",
"priority": 1,
"trade_symbol": "CVX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_4",
"name": "MOMENTUM/DONCHIAN Signal Long (USO@1d)",
"priority": 3,
"trade_symbol": "USO"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule (XOM@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.510333333333333
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 2.5%",
"priority": 100,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5.020666666666666
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 5.0%",
"priority": 100,
"purpose": "take_profit"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -10
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 10.0%",
"priority": 10,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 10.0%",
"priority": 11,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.510333333333333,
"support_stop_rank": 1,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "momentum",
"period": 1
},
{
"name": "donchian",
"period": 20
},
{
"name": "donchian",
"period": 10
},
{
"name": "momentum",
"period": 1
},
{
"name": "donchian",
"period": 20
},
{
"name": "donchian",
"period": 10
},
{
"name": "momentum",
"period": 1
},
{
"name": "donchian",
"period": 20
},
{
"name": "donchian",
"period": 10
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "XOM",
"timeframe": "1d"
},
{
"symbol": "CVX",
"timeframe": "1d"
},
{
"symbol": "USO",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xom",
"name": "MOMENTUM/DONCHIAN Signal Long (XOM@1d)",
"priority": 2,
"trade_symbol": "XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_cvx",
"name": "MOMENTUM/DONCHIAN Signal Long (CVX@1d)",
"priority": 3,
"trade_symbol": "CVX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_uso",
"name": "MOMENTUM/DONCHIAN Signal Long (USO@1d)",
"priority": 4,
"trade_symbol": "USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2",
"name": "MOMENTUM/DONCHIAN Signal Long (XOM@1d)",
"priority": 1,
"trade_symbol": "XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3",
"name": "MOMENTUM/DONCHIAN Signal Long (CVX@1d)",
"priority": 1,
"trade_symbol": "CVX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"indicator": {
"name": "momentum",
"period": 1
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 3
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_4",
"name": "MOMENTUM/DONCHIAN Signal Long (USO@1d)",
"priority": 3,
"trade_symbol": "USO"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule (XOM@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.510333333333333
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 2.5%",
"priority": 100,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5.020666666666666
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 5.0%",
"priority": 100,
"purpose": "take_profit"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -10
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 10.0%",
"priority": 10,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 10.0%",
"priority": 11,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.510333333333333,
"support_stop_rank": 1,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Iran strikes block oil sales and Exxon flags a profit windfall — long oil majors'. Thesis: The combination of military strikes blocking Iranian oil exports and a near-shutdown of tanker traffic through the Strait of Hormuz creates a direct supply shock. Exxon has already confirmed that higher oil prices are flowing straight to their bottom line. With the ceasefire declared 'over' and active military engagement escalating, this isn't a one-day spike — it's a sustained margin expansion for oil majors with minimal Middle East exposure. Oil majors act as a leveraged play on the oil price while paying dividends during the hold.
Performance
No trade count, win rate, or realized P&L figures are provided in this public preview. The thesis and shared rules do not establish a performance record.
What this public preview can establish
- The dated rule snapshot above shows the conditions evaluated at that time. It does not prove a current trigger or executed trade.
- Technical strategy fields are shared above. Inspect the actual conditions and check when they were evaluated before relying on them.
- No trade count, win rate, or P&L figure is published in this preview. It cannot establish a performance record.
Explore
How CommonQuant researches and tests strategies · Public paper-trading record and its limits · Discover public strategies