Loading…
Public trading strategy

Oil has surged past $100 because the US-Iran conflict has spread to critical shi

Created

Thesis

Oil has surged past $100 because the US-Iran conflict has spread to critical shipping lanes, creating a structural squeeze on supply. American Airlines just proved how quickly this hits the other side — they actually beat earnings expectations but their stock dropped because higher fuel costs forced a cautious outlook. When the market is broadly selling off on tech spending fears, capital tends to rotate into areas that benefit from the underlying shock. An oil producer captures the full upside of rising crude prices, while shorting an airline index captures the pain of their rising costs — together you profit from the divergence.

Markets and timeframes

Latest published rule evaluation

Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.

XAL · 1d

Incomplete evidence; No entry condition values were published.

XLE · 1d

17 of 24 published entry conditions marked met.

  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — near
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) below 60 — met
  • OBV below 0 — unknown
  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — near
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) below 60 — met
  • OBV below 0 — unknown
  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — near
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) below 60 — met
  • OBV below 0 — unknown
  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — near
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) above 40 — met
  • Price above SMA (50) — met
  • RSI (14) below 30 — far
  • RSI (14) below 30 — far
  • RSI (14) above 70 — far

XOM · 1d

14 of 24 published entry conditions marked met.

  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — far
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) below 60 — far
  • OBV below 0 — unknown
  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — far
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) below 60 — far
  • OBV below 0 — unknown
  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — far
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) below 60 — far
  • OBV below 0 — unknown
  • Price at or above SMA (50) — met
  • Price at or below SMA (50) — far
  • Price below Price — met
  • RSI (14) above 35 — met
  • RSI (14) above 40 — met
  • Price above SMA (50) — met
  • RSI (14) below 30 — far
  • RSI (14) below 30 — far
  • RSI (14) above 70 — 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: Breakdown Reversal Short (XLE) (6 conditions)
  • Entry: Breakdown Reversal Short (XOM) (6 conditions)
  • Entry: Breakdown Reversal Short (COP) (6 conditions)
  • Entry: Divergence Long (JETS) (6 conditions)
  • Exit: Time Stop 60 Bars (1 condition)
  • Exit: RSI Oversold Exit (XLE Short) (1 condition)
  • Exit: RSI Oversold Exit (XOM Short) (1 condition)
  • Exit: RSI Oversold Exit (COP Short) (1 condition)
  • Exit: RSI Overbought Exit (JETS Long) (1 condition)
  • Exit: Stop Loss at 2.4% (1 condition)
  • Exit: Take Profit at 4.8% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:XLE",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XOM",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:COP",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:JETS",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_1",
      "name": "Breakdown Reversal Short (XLE)",
      "priority": 1,
      "trade_symbol": "STOCK:XLE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_2",
      "name": "Breakdown Reversal Short (XOM)",
      "priority": 2,
      "trade_symbol": "STOCK:XOM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_3",
      "name": "Breakdown Reversal Short (COP)",
      "priority": 3,
      "trade_symbol": "STOCK:COP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_4",
      "name": "Divergence Long (JETS)",
      "priority": 4,
      "trade_symbol": "STOCK:JETS"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 60
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "Time Stop 60 Bars",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "short",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 30
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xle",
      "name": "RSI Oversold Exit (XLE Short)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:XLE"
    },
    {
      "applies_to": "short",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XOM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 30
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xom",
      "name": "RSI Oversold Exit (XOM Short)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:XOM"
    },
    {
      "applies_to": "short",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:COP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 30
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_cop",
      "name": "RSI Oversold Exit (COP Short)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:COP"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_jets",
      "name": "RSI Overbought Exit (JETS Long)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:JETS"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.382375
          }
        }
      ],
      "enabled": true,
      "id": "exit_7",
      "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.76475
          }
        }
      ],
      "enabled": true,
      "id": "exit_8",
      "name": "Take Profit at 4.8%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2.382375,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 3
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "obv"
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "obv"
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "obv"
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "obv"
    },
    {
      "name": "adx",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:XLE",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XOM",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:COP",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:JETS",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_1",
      "name": "Breakdown Reversal Short (XLE)",
      "priority": 1,
      "trade_symbol": "STOCK:XLE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_2",
      "name": "Breakdown Reversal Short (XOM)",
      "priority": 2,
      "trade_symbol": "STOCK:XOM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_3",
      "name": "Breakdown Reversal Short (COP)",
      "priority": 3,
      "trade_symbol": "STOCK:COP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_4",
      "name": "Divergence Long (JETS)",
      "priority": 4,
      "trade_symbol": "STOCK:JETS"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 60
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "Time Stop 60 Bars",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "short",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 30
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xle",
      "name": "RSI Oversold Exit (XLE Short)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:XLE"
    },
    {
      "applies_to": "short",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XOM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 30
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xom",
      "name": "RSI Oversold Exit (XOM Short)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:XOM"
    },
    {
      "applies_to": "short",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:COP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 30
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_cop",
      "name": "RSI Oversold Exit (COP Short)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:COP"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:JETS",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_jets",
      "name": "RSI Overbought Exit (JETS Long)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:JETS"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.382375
          }
        }
      ],
      "enabled": true,
      "id": "exit_7",
      "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.76475
          }
        }
      ],
      "enabled": true,
      "id": "exit_8",
      "name": "Take Profit at 4.8%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2.382375,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 3
}

Strategy instructions

Trading agent generated from recommendation idea 'Oil has surged past $100 because the US-Iran conflict has spread to critical shipping lanes, creating a structural squeeze on supply. American Airlines just proved how quickly this hits the other side — they actually beat earnings expectations but their s'. Thesis: Oil has surged past $100 because the US-Iran conflict has spread to critical shipping lanes, creating a structural squeeze on supply. American Airlines just proved how quickly this hits the other side — they actually beat earnings expectations but their stock dropped because higher fuel costs forced a cautious outlook. When the market is broadly selling off on tech spending fears, capital tends to rotate into areas that benefit from the underlying shock. An oil producer captures the full upside of rising crude prices, while shorting an airline index captures the pain of their rising costs — together you profit from the divergence.

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