Loading…
Public trading strategy

Bitcoin crashes to 21-month low while tech stocks crumble — risk-off meltdown pu

Created

Thesis

Bitcoin is crashing to 21-month lows at the exact same time the S&P and Nasdaq are on multi-day losing streaks, showing that investors are dumping high-risk tech and crypto assets in unison. Microsoft's recent historic sell-off over heavy spending perfectly illustrates this growing fear toward risk and cash-burning growth investments. When crypto and tech stocks break down together, it signals a broad 'risk-off' panic where the downward momentum in tech stocks is likely to continue as investors flee to safety.

Strategy approach

Build a rule-based strategy that enters short QQQ on D1 when Bitcoin (BTC-USD) closes at a 20-day low on the same day QQQ closes >1% lower. Exit conditions: 5% profit target, a 3% stop loss, or a 14-day max hold.

Markets and timeframes

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: DONCHIAN/ROC/ADX/VWAP Crossover Long (QQQ@1d) (5 conditions)
  • Entry: DONCHIAN/ROC/ADX/VWAP Crossover Long (BTC@1d) (5 conditions)
  • Entry: DONCHIAN/ROC/ADX/VWAP Crossover Long (MSFT@1d) (5 conditions)
  • Exit: Take Profit at 14.0% (1 condition)
  • Exit: TP: Fib Extension 127.2% (QQQ@1d) (1 condition)
  • Exit: TP: Fib Extension 127.2% (BTC@1d) (1 condition)
  • Exit: TP: Fib Extension 127.2% (MSFT@1d) (1 condition)
  • Exit: SL: Fib Retracement 38.2% (QQQ@1d) (1 condition)
  • Exit: SL: Fib Retracement 38.2% (BTC@1d) (1 condition)
  • Exit: SL: Fib Retracement 38.2% (MSFT@1d) (1 condition)
  • Exit: Stop Loss at 2.8% (1 condition)
  • Exit: Take Profit at 5.5% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "QQQ",
      "timeframe": "1d"
    },
    {
      "symbol": "BTC",
      "timeframe": "1d"
    },
    {
      "symbol": "MSFT",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "vwap"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_qqq",
      "name": "DONCHIAN/ROC/ADX/VWAP Crossover Long (QQQ@1d)",
      "priority": 1,
      "trade_symbol": "QQQ"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "vwap"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_btc",
      "name": "DONCHIAN/ROC/ADX/VWAP Crossover Long (BTC@1d)",
      "priority": 2,
      "trade_symbol": "BTC"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "vwap"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_msft",
      "name": "DONCHIAN/ROC/ADX/VWAP Crossover Long (MSFT@1d)",
      "priority": 3,
      "trade_symbol": "MSFT"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 14
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "Take Profit at 14.0%",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_qqq",
      "name": "TP: Fib Extension 127.2% (QQQ@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_btc",
      "name": "TP: Fib Extension 127.2% (BTC@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "BTC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_msft",
      "name": "TP: Fib Extension 127.2% (MSFT@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "MSFT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_qqq",
      "name": "SL: Fib Retracement 38.2% (QQQ@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_btc",
      "name": "SL: Fib Retracement 38.2% (BTC@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "BTC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_msft",
      "name": "SL: Fib Retracement 38.2% (MSFT@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "MSFT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.752
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.8%",
      "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.504
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.5%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 382,
      "risk_percent": 2.752,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

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

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "QQQ",
      "timeframe": "1d"
    },
    {
      "symbol": "BTC",
      "timeframe": "1d"
    },
    {
      "symbol": "MSFT",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "vwap"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_qqq",
      "name": "DONCHIAN/ROC/ADX/VWAP Crossover Long (QQQ@1d)",
      "priority": 1,
      "trade_symbol": "QQQ"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "vwap"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_btc",
      "name": "DONCHIAN/ROC/ADX/VWAP Crossover Long (BTC@1d)",
      "priority": 2,
      "trade_symbol": "BTC"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "crossed_below",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "roc",
              "period": 1
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "vwap"
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_msft",
      "name": "DONCHIAN/ROC/ADX/VWAP Crossover Long (MSFT@1d)",
      "priority": 3,
      "trade_symbol": "MSFT"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 14
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "Take Profit at 14.0%",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_qqq",
      "name": "TP: Fib Extension 127.2% (QQQ@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_btc",
      "name": "TP: Fib Extension 127.2% (BTC@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "BTC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_msft",
      "name": "TP: Fib Extension 127.2% (MSFT@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "MSFT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "QQQ",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_qqq",
      "name": "SL: Fib Retracement 38.2% (QQQ@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "BTC",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_btc",
      "name": "SL: Fib Retracement 38.2% (BTC@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "BTC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "ratio": 382,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_msft",
      "name": "SL: Fib Retracement 38.2% (MSFT@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "MSFT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.752
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.8%",
      "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.504
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.5%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 382,
      "risk_percent": 2.752,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Bitcoin crashes to 21-month low while tech stocks crumble — risk-off meltdown pushes tech lower'. Thesis: Bitcoin is crashing to 21-month lows at the exact same time the S&P and Nasdaq are on multi-day losing streaks, showing that investors are dumping high-risk tech and crypto assets in unison. Microsoft's recent historic sell-off over heavy spending perfectly illustrates this growing fear toward risk and cash-burning growth investments. When crypto and tech stocks break down together, it signals a broad 'risk-off' panic where the downward momentum in tech stocks is likely to continue as investors flee to safety.

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 thesis and strategy approach describe a market view. They do not show whether an entry or exit condition is currently met.
  • 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