Loading…
Public trading strategy

Middle East tensions and dropping oil supplies — ride the energy squeeze on Chev

Created

Thesis

The ongoing conflict near the Strait of Hormuz is severely disrupting global oil supplies, and military strikes are only increasing the risk of further disruptions. When you combine this geopolitical tension with reports of rapidly falling U.S. oil storage levels, it creates a massive supply squeeze. As long as the threat to oil shipping remains, companies that produce oil are positioned to see their profits and stock prices climb higher.

Strategy approach

Build a rule-based strategy that enters long USO on the daily timeframe when price closes above its 20-day simple moving average and the 14-day RSI is between 50 and 70. Exit the position if the price closes below the 20-day SMA, or use a 5% trailing stop, with a maximum holding period of 15 trading 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

No entry condition values were published.

USO · 1d

2 of 3 published entry conditions marked met.

  • Price above SMA (20) — met
  • RSI (14) above 50 — met
  • RSI (14) below 70 — far
  • Price below SMA (20) — far

XLE · 1d

No entry condition values were published.

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 Signal Long (USO@1d) (3 conditions)
  • Exit: Long Exit Rule (USO@1d) (1 condition)
  • Exit: Stop Loss at 5.0% (1 condition)
  • Exit: Take Profit at 10.0% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:USO",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_uso",
      "name": "SMA/RSI Signal Long (USO@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:USO"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_uso",
      "name": "Long Exit Rule (USO@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:USO"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_trailing_stop_approx",
      "name": "Stop Loss at 5.0%",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:USO"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 10
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_take_profit",
      "name": "Take Profit at 10.0%",
      "priority": 90,
      "purpose": "take_profit",
      "target_symbol": "STOCK:USO"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.5,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "rsi",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:USO",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_uso",
      "name": "SMA/RSI Signal Long (USO@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:USO"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:USO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_uso",
      "name": "Long Exit Rule (USO@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:USO"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_trailing_stop_approx",
      "name": "Stop Loss at 5.0%",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:USO"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 10
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_take_profit",
      "name": "Take Profit at 10.0%",
      "priority": 90,
      "purpose": "take_profit",
      "target_symbol": "STOCK:USO"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.5,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Middle East tensions and dropping oil supplies — ride the energy squeeze on Chevron and Exxon'. Thesis: The ongoing conflict near the Strait of Hormuz is severely disrupting global oil supplies, and military strikes are only increasing the risk of further disruptions. When you combine this geopolitical tension with reports of rapidly falling U.S. oil storage levels, it creates a massive supply squeeze. As long as the threat to oil shipping remains, companies that produce oil are positioned to see their profits and stock prices climb higher.

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