Loading…
Public trading strategy

Chip stocks are carrying the entire market while tech giants bleed — long Nvidia

Created

Thesis

There is a massive split happening in the stock market right now. The headlines say the S&P 500 and Nasdaq are having their best quarter in six years, powered almost entirely by chip and semiconductor companies. But at the exact same time, the seven biggest tech giants — Apple, Microsoft, Amazon, and the rest — have watched $2.3 trillion evaporate. This means the market's gains are concentrated in a narrow group of hardware companies while the software and internet giants are sinking. By betting on chipmakers like Nvidia and AMD while simultaneously betting against the struggling giants, you're positioning for the trend that's already working.

Strategy approach

Build a pairs strategy on D1 timeframe. Enter long SMH (VanEck Semiconductor ETF) and short equal dollar amount of AAPL, MSFT, AMZN, and GOOGL (equal-weighted basket). Enter when SMH makes a new 20-day high while the Mag 7 short basket is down at least 1% on the week. Exit the entire pair after 21 days or if the spread narrows by 3%.

Markets and timeframes

Latest published rule evaluation

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

AAPL · 1d

9 of 44 published entry conditions marked met.

  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Donchian (20) above 1 — met
  • ROC (12) above 0.5 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met

AMD · 1d

2 of 44 published entry conditions marked met.

  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far
  • Donchian (20) above 1 — met
  • ROC (12) above 0.5 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — far

MSFT · 1d

9 of 44 published entry conditions marked met.

  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Donchian (20) above 1 — met
  • ROC (12) above 0.5 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met

NVDA · 1d

9 of 44 published entry conditions marked met.

  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Donchian (20) above 1 — met
  • ROC (12) above 0.5 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — met
  • Price crossed above 0 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • Price below -1 — far
  • ADX (14) above 25 — 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: ADX/DONCHIAN/ROC Crossover Long (SMH@1d) (9 conditions)
  • Entry: ADX Crossover Short (AAPL@1d) (6 conditions)
  • Entry: ADX Crossover Short (MSFT@1d) (6 conditions)
  • Entry: ADX Crossover Short (AMZN@1d) (6 conditions)
  • Entry: ADX Crossover Short (GOOGL@1d) (6 conditions)
  • Entry: ADX Crossover Long (NVDA@1d) (6 conditions)
  • Entry: ADX Crossover Long (AMD@1d) (6 conditions)
  • Exit: TP: Near Resistance[1] (SMH@1d) (1 condition)
  • Exit: SL: Fib Retracement 78.6% (SMH@1d) (1 condition)
  • Exit: Stop Loss at 2.5% (1 condition)
  • Exit: Take Profit at 4.9% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "SMH",
      "timeframe": "1d"
    },
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "MSFT",
      "timeframe": "1d"
    },
    {
      "symbol": "AMZN",
      "timeframe": "1d"
    },
    {
      "symbol": "GOOGL",
      "timeframe": "1d"
    },
    {
      "symbol": "NVDA",
      "timeframe": "1d"
    },
    {
      "symbol": "AMD",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 12
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1",
      "name": "ADX/DONCHIAN/ROC Crossover Long (SMH@1d)",
      "priority": 1,
      "trade_symbol": "SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_2",
      "name": "ADX Crossover Short (AAPL@1d)",
      "priority": 2,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_3",
      "name": "ADX Crossover Short (MSFT@1d)",
      "priority": 3,
      "trade_symbol": "MSFT"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_4",
      "name": "ADX Crossover Short (AMZN@1d)",
      "priority": 4,
      "trade_symbol": "AMZN"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_5",
      "name": "ADX Crossover Short (GOOGL@1d)",
      "priority": 5,
      "trade_symbol": "GOOGL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_6",
      "name": "ADX Crossover Long (NVDA@1d)",
      "priority": 6,
      "trade_symbol": "NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_7",
      "name": "ADX Crossover Long (AMD@1d)",
      "priority": 7,
      "trade_symbol": "AMD"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "TP: Near Resistance[1] (SMH@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "SL: Fib Retracement 78.6% (SMH@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.463
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "Stop Loss at 2.5%",
      "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.926
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 4.9%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 14.285714285714286,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2.463,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "roc",
      "period": 12
    },
    {
      "name": "adx",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "SMH",
      "timeframe": "1d"
    },
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "MSFT",
      "timeframe": "1d"
    },
    {
      "symbol": "AMZN",
      "timeframe": "1d"
    },
    {
      "symbol": "GOOGL",
      "timeframe": "1d"
    },
    {
      "symbol": "NVDA",
      "timeframe": "1d"
    },
    {
      "symbol": "AMD",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 12
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1",
      "name": "ADX/DONCHIAN/ROC Crossover Long (SMH@1d)",
      "priority": 1,
      "trade_symbol": "SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_2",
      "name": "ADX Crossover Short (AAPL@1d)",
      "priority": 2,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_3",
      "name": "ADX Crossover Short (MSFT@1d)",
      "priority": 3,
      "trade_symbol": "MSFT"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_4",
      "name": "ADX Crossover Short (AMZN@1d)",
      "priority": 4,
      "trade_symbol": "AMZN"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "short",
      "enabled": true,
      "id": "entry_5",
      "name": "ADX Crossover Short (GOOGL@1d)",
      "priority": 5,
      "trade_symbol": "GOOGL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_6",
      "name": "ADX Crossover Long (NVDA@1d)",
      "priority": 6,
      "trade_symbol": "NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_7",
      "name": "ADX Crossover Long (AMD@1d)",
      "priority": 7,
      "trade_symbol": "AMD"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "TP: Near Resistance[1] (SMH@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "SMH",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "SL: Fib Retracement 78.6% (SMH@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.463
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "Stop Loss at 2.5%",
      "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.926
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 4.9%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 14.285714285714286,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2.463,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Chip stocks are carrying the entire market while tech giants bleed — long Nvidia and AMD, short Microsoft and Apple'. Thesis: There is a massive split happening in the stock market right now. The headlines say the S&P 500 and Nasdaq are having their best quarter in six years, powered almost entirely by chip and semiconductor companies. But at the exact same time, the seven biggest tech giants — Apple, Microsoft, Amazon, and the rest — have watched $2.3 trillion evaporate. This means the market's gains are concentrated in a narrow group of hardware companies while the software and internet giants are sinking. By betting on chipmakers like Nvidia and AMD while simultaneously betting against the struggling giants, you're positioning for the trend that's already working.

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