Peace talks progress and Kuwait floods the market with oil — bet against energy
Created
Thesis
Oil prices spiked because of the Iran war, but peace talks are now advancing. Kuwait offering oil to Asia for the first time since the war started proves the physical oil market is loosening up. If a peace deal is reached, the 'war premium' built into energy stocks will rapidly deflate, making a bet against energy producers a timely move.
Strategy approach
Build a rule-based strategy that enters short XLE on the daily timeframe when the RSI(14) drops below 60 and the price closes below the 5-day EMA. Set a stop loss just above the recent swing high, with a max hold of 10 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
0 of 2 published entry conditions marked met.
- RSI (14) below 60 — far
- Price below EMA (5) — near
XLE · 1d
0 of 2 published entry conditions marked met.
- RSI (14) below 60 — far
- Price below EMA (5) — near
XOM · 1d
1 of 2 published entry conditions marked met.
- RSI (14) below 60 — met
- Price below EMA (5) — 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: RSI/EMA Signal Long (XLE@1d) (4 conditions)
- Entry: RSI/EMA Signal Long (CVX@1d) (4 conditions)
- Entry: RSI/EMA Signal Long (XOM@1d) (4 conditions)
- Entry: Long Entry Signal (XLE@1d) (2 conditions)
- Entry: Long Entry Signal (CVX@1d) (2 conditions)
- Entry: Long Entry Signal (XOM@1d) (2 conditions)
- Exit: SL: Fib Retracement 61.8% (XLE@1d) (1 condition)
- Exit: SL: Fib Retracement 61.8% (CVX@1d) (1 condition)
- Exit: SL: Fib Retracement 61.8% (XOM@1d) (1 condition)
- Exit: Stop Loss at 2.4% (1 condition)
- Exit: Take Profit at 4.9% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
{
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
{
"symbol": "STOCK:XOM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 5
},
"type": "indicator"
}
},
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xle",
"name": "RSI/EMA Signal Long (XLE@1d)",
"priority": 1,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 5
},
"type": "indicator"
}
},
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_cvx",
"name": "RSI/EMA Signal Long (CVX@1d)",
"priority": 2,
"trade_symbol": "STOCK:CVX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 5
},
"type": "indicator"
}
},
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xom",
"name": "RSI/EMA Signal Long (XOM@1d)",
"priority": 3,
"trade_symbol": "STOCK:XOM"
},
{
"conditions": [
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xle",
"name": "Long Entry Signal (XLE@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_cvx",
"name": "Long Entry Signal (CVX@1d)",
"priority": 3,
"trade_symbol": "STOCK:CVX"
},
{
"conditions": [
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xom",
"name": "Long Entry Signal (XOM@1d)",
"priority": 4,
"trade_symbol": "STOCK:XOM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_1_xle",
"name": "SL: Fib Retracement 61.8% (XLE@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_1_cvx",
"name": "SL: Fib Retracement 61.8% (CVX@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:CVX"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_1_xom",
"name": "SL: Fib Retracement 61.8% (XOM@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.4471333333333334
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 2.4%",
"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": 4.894266666666667
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 4.9%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"resistance_stop_rank": 1,
"risk_percent": 2.4471333333333334,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 5
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 5
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 5
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
{
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
{
"symbol": "STOCK:XOM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 5
},
"type": "indicator"
}
},
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xle",
"name": "RSI/EMA Signal Long (XLE@1d)",
"priority": 1,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 5
},
"type": "indicator"
}
},
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_cvx",
"name": "RSI/EMA Signal Long (CVX@1d)",
"priority": 2,
"trade_symbol": "STOCK:CVX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 5
},
"type": "indicator"
}
},
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xom",
"name": "RSI/EMA Signal Long (XOM@1d)",
"priority": 3,
"trade_symbol": "STOCK:XOM"
},
{
"conditions": [
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xle",
"name": "Long Entry Signal (XLE@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_cvx",
"name": "Long Entry Signal (CVX@1d)",
"priority": 3,
"trade_symbol": "STOCK:CVX"
},
{
"conditions": [
{
"left": {
"field": "high",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xom",
"name": "Long Entry Signal (XOM@1d)",
"priority": 4,
"trade_symbol": "STOCK:XOM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_1_xle",
"name": "SL: Fib Retracement 61.8% (XLE@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:CVX",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_1_cvx",
"name": "SL: Fib Retracement 61.8% (CVX@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:CVX"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_1_xom",
"name": "SL: Fib Retracement 61.8% (XOM@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.4471333333333334
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 2.4%",
"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": 4.894266666666667
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 4.9%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"resistance_stop_rank": 1,
"risk_percent": 2.4471333333333334,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Peace talks progress and Kuwait floods the market with oil — bet against energy stocks'. Thesis: Oil prices spiked because of the Iran war, but peace talks are now advancing. Kuwait offering oil to Asia for the first time since the war started proves the physical oil market is loosening up. If a peace deal is reached, the 'war premium' built into energy stocks will rapidly deflate, making a bet against energy producers a timely move.
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