Loading…
Public trading strategy

TSMC beats but chip stocks slump on sky-high expectations — short the semiconduc

Created

Thesis

The semiconductor sector is facing a reality check as even blowout earnings from industry leader TSMC are being heavily sold because they failed to clear an incredibly high bar. Reports confirm that AI jitters are causing a massive multi-trillion dollar rotation away from chip stocks and into the 'Magnificent 7' mega-cap tech stocks. With the broader market indices stalling and futures weighed down by these AI woes, the near-term momentum for chip manufacturers has shifted negative as investors take profits and de-risk from high-valuing hardware suppliers.

Strategy approach

Build a rule-based momentum strategy on D1 timeframe that enters short SMH (VanEck Semiconductor ETF) when it closes below its 20-day simple moving average after a down day where TSM gaps down on earnings. Exit the trade if SMH closes back above the 20-day SMA, with a 10% hard stop loss and a 21-day max holding period.

Markets and timeframes

Latest published rule evaluation

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

AMD · 1d

2 of 5 published entry conditions marked met.

  • Price below SMA (20) — far
  • Price below Price — met
  • ADX (14) above 20 — met
  • OBV crossed below SMA (20) — unknown
  • RSI (14) below 40 — far
  • Price above SMA (20) — met

NVDA · 1d

2 of 5 published entry conditions marked met.

  • Price below SMA (20) — met
  • Price below Price — met
  • ADX (14) above 20 — far
  • OBV crossed below SMA (20) — unknown
  • RSI (14) below 40 — far
  • Price above SMA (20) — near

SMH · 1d

1 of 5 published entry conditions marked met.

  • Price below SMA (20) — near
  • Price below Price — met
  • ADX (14) above 20 — far
  • OBV crossed below SMA (20) — unknown
  • RSI (14) below 40 — far
  • Price above SMA (20) — met

TSM · 1d

1 of 5 published entry conditions marked met.

  • Price below SMA (20) — near
  • Price below Price — met
  • ADX (14) above 20 — far
  • OBV crossed below SMA (20) — unknown
  • RSI (14) below 40 — far
  • Price above SMA (20) — met

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/ADX/OBV/RSI Crossover Long (SMH@1d) (6 conditions)
  • Entry: SMA/ADX/OBV/RSI Crossover Long (TSM@1d) (6 conditions)
  • Entry: SMA/ADX/OBV/RSI Crossover Long (AMD@1d) (6 conditions)
  • Entry: SMA/ADX/OBV/RSI Crossover Long (NVDA@1d) (6 conditions)
  • Exit: Position Exit Rule (SMH@1d) (2 conditions)
  • Exit: Position Exit Rule (TSM@1d) (2 conditions)
  • Exit: Position Exit Rule (AMD@1d) (2 conditions)
  • Exit: Position Exit Rule (NVDA@1d) (2 conditions)
  • Exit: SL: Below Support[1] (SMH@1d) (1 condition)
  • Exit: SL: Below Support[1] (TSM@1d) (1 condition)
  • Exit: SL: Below Support[1] (AMD@1d) (1 condition)
  • Exit: SL: Below Support[1] (NVDA@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (SMH@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (TSM@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (AMD@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (NVDA@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:SMH",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:TSM",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:AMD",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:NVDA",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_smh",
      "name": "SMA/ADX/OBV/RSI Crossover Long (SMH@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_tsm",
      "name": "SMA/ADX/OBV/RSI Crossover Long (TSM@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:TSM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_amd",
      "name": "SMA/ADX/OBV/RSI Crossover Long (AMD@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:AMD"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_nvda",
      "name": "SMA/ADX/OBV/RSI Crossover Long (NVDA@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:NVDA"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_smh",
      "name": "Position Exit Rule (SMH@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_tsm",
      "name": "Position Exit Rule (TSM@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:TSM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_amd",
      "name": "Position Exit Rule (AMD@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nvda",
      "name": "Position Exit Rule (NVDA@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_smh",
      "name": "SL: Below Support[1] (SMH@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_tsm",
      "name": "SL: Below Support[1] (TSM@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:TSM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_amd",
      "name": "SL: Below Support[1] (AMD@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_nvda",
      "name": "SL: Below Support[1] (NVDA@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_smh",
      "name": "TP: Near Resistance[1] (SMH@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_tsm",
      "name": "TP: Near Resistance[1] (TSM@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:TSM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_amd",
      "name": "TP: Near Resistance[1] (AMD@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_nvda",
      "name": "TP: Near Resistance[1] (NVDA@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.439166666666667
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "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.878333333333334
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "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.439166666666667,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

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

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:SMH",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:TSM",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:AMD",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:NVDA",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_smh",
      "name": "SMA/ADX/OBV/RSI Crossover Long (SMH@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_tsm",
      "name": "SMA/ADX/OBV/RSI Crossover Long (TSM@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:TSM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_amd",
      "name": "SMA/ADX/OBV/RSI Crossover Long (AMD@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:AMD"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "open",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_nvda",
      "name": "SMA/ADX/OBV/RSI Crossover Long (NVDA@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:NVDA"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_smh",
      "name": "Position Exit Rule (SMH@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_tsm",
      "name": "Position Exit Rule (TSM@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:TSM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_amd",
      "name": "Position Exit Rule (AMD@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 21
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nvda",
      "name": "Position Exit Rule (NVDA@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_smh",
      "name": "SL: Below Support[1] (SMH@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_tsm",
      "name": "SL: Below Support[1] (TSM@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:TSM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_amd",
      "name": "SL: Below Support[1] (AMD@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_nvda",
      "name": "SL: Below Support[1] (NVDA@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_smh",
      "name": "TP: Near Resistance[1] (SMH@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TSM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_tsm",
      "name": "TP: Near Resistance[1] (TSM@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:TSM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:AMD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_amd",
      "name": "TP: Near Resistance[1] (AMD@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_nvda",
      "name": "TP: Near Resistance[1] (NVDA@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.439166666666667
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "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.878333333333334
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "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.439166666666667,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'TSMC beats but chip stocks slump on sky-high expectations — short the semiconductor rally'. Thesis: The semiconductor sector is facing a reality check as even blowout earnings from industry leader TSMC are being heavily sold because they failed to clear an incredibly high bar. Reports confirm that AI jitters are causing a massive multi-trillion dollar rotation away from chip stocks and into the 'Magnificent 7' mega-cap tech stocks. With the broader market indices stalling and futures weighed down by these AI woes, the near-term momentum for chip manufacturers has shifted negative as investors take profits and de-risk from high-valuing hardware suppliers.

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