Public trading strategy

A seven-day losing streak into earnings means a lot of bad news is already price

Thesis

A seven-day losing streak into earnings means a lot of bad news is already priced in — sellers who wanted out have largely sold. Analysts still frame this as Nvidia's most important quarter, so a decent report could catch the market off guard to the upside. With the whole week's direction hinging on this print, the post-earnings reaction tends to be large and directional, favoring a buyer at depressed prices. The risk is that weak guidance extends the slide, which is why a tight trailing stop matters.

Strategy approach

A seven-day losing streak into earnings means a lot of bad news is already priced in — sellers who wanted out have largely sold. Analysts still frame this as Nvidia's most important quarter, so a decent report could catch the market off guard to the upside. With the whole week's direction hinging on this print, the post-earnings reaction tends to be large and directional, favoring a buyer at depressed prices. The risk is that weak guidance extends the slide, which is why a tight trailing stop matters. Decision analysis profile: near_term. Required dimensions: as_of_session, catalyst_timing, expectations_priced_in, price_volume, liquidity_spread_volatility, dilution_capital_allocation, downside, actionability.

Markets and timeframes

NVDASMH1D

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:NVDA",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:SMH",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_nvda",
      "name": "RSI/EMA/MACD Crossover Long (NVDA@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_smh",
      "name": "RSI/EMA/MACD Crossover Long (SMH@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_nvda",
      "name": "RSI/EMA/MACD Crossover Long (NVDA@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_smh",
      "name": "RSI/EMA/MACD Crossover Long (SMH@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_nvda",
      "name": "Crossover Long (NVDA@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_smh",
      "name": "Crossover Long (SMH@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:SMH"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 45
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "line",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nvda",
      "name": "MACD Crosses Below Exit (NVDA@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 45
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "line",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_smh",
      "name": "MACD Crosses Below Exit (SMH@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_nvda",
      "name": "TP: Fib Extension 127.2% (NVDA@1d)",
      "priority": 96,
      "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_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_smh",
      "name": "TP: Fib Extension 127.2% (SMH@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_nvda",
      "name": "SL: Below Support[2] (NVDA@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_smh",
      "name": "SL: Below Support[2] (SMH@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.5460000000000003
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "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": 5.0920000000000005
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.1%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.5460000000000003,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "rsi",
      "period": 14
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 9
    },
    {
      "name": "ema",
      "period": 21
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 9
    },
    {
      "name": "ema",
      "period": 21
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:NVDA",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:SMH",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_nvda",
      "name": "RSI/EMA/MACD Crossover Long (NVDA@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_smh",
      "name": "RSI/EMA/MACD Crossover Long (SMH@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_nvda",
      "name": "RSI/EMA/MACD Crossover Long (NVDA@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "high",
            "type": "price"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_smh",
      "name": "RSI/EMA/MACD Crossover Long (SMH@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:SMH"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_nvda",
      "name": "Crossover Long (NVDA@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_smh",
      "name": "Crossover Long (SMH@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:SMH"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 45
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "line",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nvda",
      "name": "MACD Crosses Below Exit (NVDA@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 45
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "line",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "signal",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_smh",
      "name": "MACD Crosses Below Exit (SMH@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_nvda",
      "name": "TP: Fib Extension 127.2% (NVDA@1d)",
      "priority": 96,
      "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_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_smh",
      "name": "TP: Fib Extension 127.2% (SMH@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NVDA",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_nvda",
      "name": "SL: Below Support[2] (NVDA@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:SMH",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_smh",
      "name": "SL: Below Support[2] (SMH@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:SMH"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.5460000000000003
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "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": 5.0920000000000005
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.1%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.5460000000000003,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'A seven-day losing streak into earnings means a lot of bad news is already priced in — sellers who wanted out have largely sold. Analysts still frame this as Nvidia's most important quarter, so a decent report could catch the market off guard to the upsid'. Thesis: A seven-day losing streak into earnings means a lot of bad news is already priced in — sellers who wanted out have largely sold. Analysts still frame this as Nvidia's most important quarter, so a decent report could catch the market off guard to the upside. With the whole week's direction hinging on this print, the post-earnings reaction tends to be large and directional, favoring a buyer at depressed prices. The risk is that weak guidance extends the slide, which is why a tight trailing stop matters.

How CommonQuant strategies work

  • Each strategy is generated from a plain-English thesis with fresh, LLM-selected news headlines, grounded in SEC XBRL fundamentals and peer percentiles.
  • The strategy is expressed in an auditable DSL checked by a real compiler, and passes an adversarial AI review before it can be published.
  • Every AI-generated strategy is automatically backtested over 12-month and 5-year windows (walk-forward tuned) and stress-tested across drawdowns and best/worst windows — it stays gated until that evidence run completes.
  • Once live, an AI news judge re-reads fresh headlines hourly and can conclude the campaign when they confirm the strategy’s thesis-invalidation conditions, notifying the owner and followers.

Explore

Discover public strategies · Latest market news