Tech heavyweights stumble but the broader market is having its best quarter in 6
Created
Thesis
Even with recent jitters, the overall market is incredibly strong, finishing the best quarter in six years largely on the back of semiconductor dominance. Articles note that while chip stocks have seen wild swings lately, Wall Street is responding to any dips by upgrading key AI suppliers like Micron to unanimous 'Strong Buy' ratings. This combination of a powerful macro tailwind and optimistic analyst support creates a prime opportunity to buy top-tier chipmakers on temporary pullbacks.
Strategy approach
Build a rule-based strategy that enters long MU on D1 when the Nasdaq (QQQ) is above its 50-day moving average and MU experiences a 3% pullback over 2 days, exiting on a 5-day high or with an 8% stop loss.
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: SMA/ROC Signal Long (QQQ@1d) (2 conditions)
- Entry: SMA/ROC Signal Long (AVGO@1d) (2 conditions)
- Entry: SMA/ROC Signal Long (NVDA@1d) (2 conditions)
- Exit: Long Exit Rule (QQQ@1d) (1 condition)
- Exit: Long Exit Rule (AVGO@1d) (1 condition)
- Exit: Long Exit Rule (NVDA@1d) (1 condition)
- Exit: Stop Loss at 8.0% (1 condition)
- Exit: Take Profit at 10.0% (1 condition)
- Exit: TP: Fib Extension 161.8% (QQQ@1d) (1 condition)
- Exit: TP: Fib Extension 161.8% (AVGO@1d) (1 condition)
- Exit: TP: Fib Extension 161.8% (NVDA@1d) (1 condition)
- Exit: SL: Fib Retracement 61.8% (QQQ@1d) (1 condition)
- Exit: SL: Fib Retracement 61.8% (AVGO@1d) (1 condition)
- Exit: SL: Fib Retracement 61.8% (NVDA@1d) (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "QQQ",
"timeframe": "1d"
},
{
"symbol": "AVGO",
"timeframe": "1d"
},
{
"symbol": "NVDA",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "roc",
"period": 2
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": -3
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_qqq",
"name": "SMA/ROC Signal Long (QQQ@1d)",
"priority": 1,
"trade_symbol": "QQQ"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"indicator": {
"name": "roc",
"period": 2
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": -3
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_avgo",
"name": "SMA/ROC Signal Long (AVGO@1d)",
"priority": 2,
"trade_symbol": "AVGO"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"indicator": {
"name": "roc",
"period": 2
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": -3
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_nvda",
"name": "SMA/ROC Signal Long (NVDA@1d)",
"priority": 3,
"trade_symbol": "NVDA"
}
],
"exit_rules": [
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "donchian",
"period": 5
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_qqq",
"name": "Long Exit Rule (QQQ@1d)",
"priority": 1,
"target_symbol": "QQQ"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "donchian",
"period": 5
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_avgo",
"name": "Long Exit Rule (AVGO@1d)",
"priority": 2,
"target_symbol": "AVGO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "donchian",
"period": 5
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_nvda",
"name": "Long Exit Rule (NVDA@1d)",
"priority": 3,
"target_symbol": "NVDA"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -8
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 8.0%",
"priority": 10,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 10.0%",
"priority": 11,
"purpose": "take_profit"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"ratio": 1618,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_4_qqq",
"name": "TP: Fib Extension 161.8% (QQQ@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "QQQ"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"ratio": 1618,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_4_avgo",
"name": "TP: Fib Extension 161.8% (AVGO@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "AVGO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"ratio": 1618,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_4_nvda",
"name": "TP: Fib Extension 161.8% (NVDA@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "NVDA"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_5_qqq",
"name": "SL: Fib Retracement 61.8% (QQQ@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "QQQ"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_5_avgo",
"name": "SL: Fib Retracement 61.8% (AVGO@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "AVGO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_5_nvda",
"name": "SL: Fib Retracement 61.8% (NVDA@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "NVDA"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.4748666666666668,
"stop_loss_percent": 8,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "sma",
"period": 50
},
{
"name": "roc",
"period": 2
},
{
"name": "donchian",
"period": 5
},
{
"name": "sma",
"period": 50
},
{
"name": "roc",
"period": 2
},
{
"name": "donchian",
"period": 5
},
{
"name": "sma",
"period": 50
},
{
"name": "roc",
"period": 2
},
{
"name": "donchian",
"period": 5
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "QQQ",
"timeframe": "1d"
},
{
"symbol": "AVGO",
"timeframe": "1d"
},
{
"symbol": "NVDA",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "roc",
"period": 2
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": -3
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_qqq",
"name": "SMA/ROC Signal Long (QQQ@1d)",
"priority": 1,
"trade_symbol": "QQQ"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"indicator": {
"name": "roc",
"period": 2
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": -3
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_avgo",
"name": "SMA/ROC Signal Long (AVGO@1d)",
"priority": 2,
"trade_symbol": "AVGO"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"indicator": {
"name": "roc",
"period": 2
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": -3
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_nvda",
"name": "SMA/ROC Signal Long (NVDA@1d)",
"priority": 3,
"trade_symbol": "NVDA"
}
],
"exit_rules": [
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "donchian",
"period": 5
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_qqq",
"name": "Long Exit Rule (QQQ@1d)",
"priority": 1,
"target_symbol": "QQQ"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "donchian",
"period": 5
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_avgo",
"name": "Long Exit Rule (AVGO@1d)",
"priority": 2,
"target_symbol": "AVGO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "donchian",
"period": 5
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_nvda",
"name": "Long Exit Rule (NVDA@1d)",
"priority": 3,
"target_symbol": "NVDA"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -8
}
}
],
"enabled": true,
"id": "exit_2",
"name": "Stop Loss at 8.0%",
"priority": 10,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
}
],
"enabled": true,
"id": "exit_3",
"name": "Take Profit at 10.0%",
"priority": 11,
"purpose": "take_profit"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"ratio": 1618,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_4_qqq",
"name": "TP: Fib Extension 161.8% (QQQ@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "QQQ"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"ratio": 1618,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_4_avgo",
"name": "TP: Fib Extension 161.8% (AVGO@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "AVGO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"ratio": 1618,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_4_nvda",
"name": "TP: Fib Extension 161.8% (NVDA@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "NVDA"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "QQQ",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_5_qqq",
"name": "SL: Fib Retracement 61.8% (QQQ@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "QQQ"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "AVGO",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_5_avgo",
"name": "SL: Fib Retracement 61.8% (AVGO@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "AVGO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "NVDA",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_5_nvda",
"name": "SL: Fib Retracement 61.8% (NVDA@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "NVDA"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.4748666666666668,
"stop_loss_percent": 8,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Tech heavyweights stumble but the broader market is having its best quarter in 6 years — buy the dip on Micron as analysts unanimously upgrade'. Thesis: Even with recent jitters, the overall market is incredibly strong, finishing the best quarter in six years largely on the back of semiconductor dominance. Articles note that while chip stocks have seen wild swings lately, Wall Street is responding to any dips by upgrading key AI suppliers like Micron to unanimous 'Strong Buy' ratings. This combination of a powerful macro tailwind and optimistic analyst support creates a prime opportunity to buy top-tier chipmakers on temporary pullbacks.
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