Peace deal means more oil supply — short energy and oil names
Created
Thesis
A peace deal in the Middle East is reopening shipping routes, which prompted Iraq to push its oil production back above 3 million barrels a day. When big producers flood the market with extra supply, prices tend to fall because there is more than enough oil to go around. This creates a tough environment for oil companies, making energy stocks vulnerable to a pullback as profit margins shrink.
Strategy approach
Build a mean-reversion short strategy on USOIL (WTI Crude) using the H4 timeframe. Enter short when price crosses below the 20-period SMA and RSI(14) crosses below 55. Exit when price crosses back above the 20-period SMA or after a 10-day max hold. Use a 2% stop loss.
Markets and timeframes
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: SMA/RSI/ADX Crossover Short (USO@4h) (5 conditions)
- Entry: SMA/RSI/ADX Crossover Short (XOM@4h) (5 conditions)
- Entry: SMA/RSI/ADX Crossover Short (CVX@4h) (5 conditions)
- Exit: Position Exit Rule (USO@4h) (1 condition)
- Exit: Position Exit Rule (XOM@4h) (1 condition)
- Exit: Position Exit Rule (CVX@4h) (1 condition)
- Exit: TP: Near Resistance[2] (USO@4h) (1 condition)
- Exit: TP: Near Resistance[2] (XOM@4h) (1 condition)
- Exit: TP: Near Resistance[2] (CVX@4h) (1 condition)
- Exit: SL: Below Support[1] (USO@4h) (2 conditions)
- Exit: SL: Below Support[1] (XOM@4h) (2 conditions)
- Exit: SL: Below Support[1] (CVX@4h) (2 conditions)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "USO",
"timeframe": "4h"
},
{
"symbol": "XOM",
"timeframe": "4h"
},
{
"symbol": "CVX",
"timeframe": "4h"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 55
}
},
{
"left": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1_uso",
"name": "SMA/RSI/ADX Crossover Short (USO@4h)",
"priority": 1,
"trade_symbol": "USO"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 55
}
},
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1_xom",
"name": "SMA/RSI/ADX Crossover Short (XOM@4h)",
"priority": 2,
"trade_symbol": "XOM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 55
}
},
{
"left": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1_cvx",
"name": "SMA/RSI/ADX Crossover Short (CVX@4h)",
"priority": 3,
"trade_symbol": "CVX"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_uso",
"name": "Position Exit Rule (USO@4h)",
"priority": 1,
"purpose": "signal",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_xom",
"name": "Position Exit Rule (XOM@4h)",
"priority": 2,
"purpose": "signal",
"target_symbol": "XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_cvx",
"name": "Position Exit Rule (CVX@4h)",
"priority": 3,
"purpose": "signal",
"target_symbol": "CVX"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_uso",
"name": "TP: Near Resistance[2] (USO@4h)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_xom",
"name": "TP: Near Resistance[2] (XOM@4h)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_cvx",
"name": "TP: Near Resistance[2] (CVX@4h)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "CVX"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_3_uso",
"name": "SL: Below Support[1] (USO@4h)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "USO"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_3_xom",
"name": "SL: Below Support[1] (XOM@4h)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "XOM"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_3_cvx",
"name": "SL: Below Support[1] (CVX@4h)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "CVX"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"resistance_stop_rank": 2,
"risk_percent": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "4h",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "sma",
"period": 20
},
{
"name": "rsi",
"period": 14
},
{
"name": "adx",
"period": 14
},
{
"name": "sma",
"period": 20
},
{
"name": "rsi",
"period": 14
},
{
"name": "adx",
"period": 14
},
{
"name": "sma",
"period": 20
},
{
"name": "rsi",
"period": 14
},
{
"name": "adx",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "USO",
"timeframe": "4h"
},
{
"symbol": "XOM",
"timeframe": "4h"
},
{
"symbol": "CVX",
"timeframe": "4h"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 55
}
},
{
"left": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1_uso",
"name": "SMA/RSI/ADX Crossover Short (USO@4h)",
"priority": 1,
"trade_symbol": "USO"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 55
}
},
{
"left": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1_xom",
"name": "SMA/RSI/ADX Crossover Short (XOM@4h)",
"priority": 2,
"trade_symbol": "XOM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 55
}
},
{
"left": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_1_cvx",
"name": "SMA/RSI/ADX Crossover Short (CVX@4h)",
"priority": 3,
"trade_symbol": "CVX"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_uso",
"name": "Position Exit Rule (USO@4h)",
"priority": 1,
"purpose": "signal",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_xom",
"name": "Position Exit Rule (XOM@4h)",
"priority": 2,
"purpose": "signal",
"target_symbol": "XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_cvx",
"name": "Position Exit Rule (CVX@4h)",
"priority": 3,
"purpose": "signal",
"target_symbol": "CVX"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_uso",
"name": "TP: Near Resistance[2] (USO@4h)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_xom",
"name": "TP: Near Resistance[2] (XOM@4h)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_cvx",
"name": "TP: Near Resistance[2] (CVX@4h)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "CVX"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "USO",
"timeframe": "4h"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_3_uso",
"name": "SL: Below Support[1] (USO@4h)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "USO"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "XOM",
"timeframe": "4h"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_3_xom",
"name": "SL: Below Support[1] (XOM@4h)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "XOM"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CVX",
"timeframe": "4h"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_3_cvx",
"name": "SL: Below Support[1] (CVX@4h)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "CVX"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"resistance_stop_rank": 2,
"risk_percent": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "4h",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Peace deal means more oil supply — short energy and oil names'. Thesis: A peace deal in the Middle East is reopening shipping routes, which prompted Iraq to push its oil production back above 3 million barrels a day. When big producers flood the market with extra supply, prices tend to fall because there is more than enough oil to go around. This creates a tough environment for oil companies, making energy stocks vulnerable to a pullback as profit margins shrink.
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 thesis and strategy approach describe a market view. They do not show whether an entry or exit condition is currently met.
- 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