With Alphabet's free cash flow turning negative from AI capex, investors are fle
Thesis
With Alphabet's free cash flow turning negative from AI capex, investors are fleeing companies burning cash on data centers and piling into Apple, which just touched $5 trillion. Microsoft and Meta are reporting this week into a wall of pessimism about their AI spending with no clear return. This divergence creates a pairs trade opportunity: go long the company winning the AI debate without the massive spending risk, and short the companies most exposed to an AI spending backlash. ## Story development — 2026-07-30 09:01 UTC **Microsoft just proved AI spending works while Meta faces skeptical questions — long MSFT, short META** Microsoft just proved its massive AI spending is paying off with stronger-than-expected cloud growth, and analysts loved the earnings call. Meanwhile, Meta is catchi
Markets and timeframes
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
{
"symbol": "STOCK:META",
"timeframe": "1d"
},
{
"symbol": "STOCK:AAPL",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 500
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 20
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 22
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1",
"name": "EMA/ADX/RSI Crossover Long (MSFT@1d)",
"priority": 1,
"trade_symbol": "STOCK:MSFT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 500
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 20
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 22
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_2",
"name": "EMA/ADX/RSI Crossover Short (META@1d)",
"priority": 2,
"trade_symbol": "STOCK:META"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 500
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 20
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 22
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3",
"name": "EMA/ADX/RSI Crossover Long (AAPL@1d)",
"priority": 3,
"trade_symbol": "STOCK:AAPL"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 495
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 70
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 65
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Overbought RSI Exit (META/MSFT@1d)",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_msft",
"name": "TP: Fib Extension 127.2% (MSFT@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_meta",
"name": "TP: Fib Extension 127.2% (MSFT@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:META"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_aapl",
"name": "TP: Fib Extension 127.2% (MSFT@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_msft",
"name": "SL: Below Support[2] (MSFT@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_meta",
"name": "SL: Below Support[2] (MSFT@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_aapl",
"name": "SL: Below Support[2] (MSFT@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.4729666666666668
}
}
],
"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": 4.9459333333333335
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 4.9%",
"priority": 100,
"purpose": "take_profit"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_6_msft",
"name": "SL: Fib Retracement 61.8% (MSFT@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_6_meta",
"name": "SL: Fib Retracement 61.8% (MSFT@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_6_aapl",
"name": "SL: Fib Retracement 61.8% (MSFT@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_7_msft",
"name": "SL: Fib Retracement 61.8% (META@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_7_meta",
"name": "SL: Fib Retracement 61.8% (META@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_7_aapl",
"name": "SL: Fib Retracement 61.8% (META@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_8_msft",
"name": "SL: Fib Retracement 61.8% (AAPL@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_8_meta",
"name": "SL: Fib Retracement 61.8% (AAPL@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_8_aapl",
"name": "SL: Fib Retracement 61.8% (AAPL@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 618,
"risk_percent": 2.4729666666666668,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "ema",
"period": 20
},
{
"name": "ema",
"period": 50
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 20
},
{
"name": "ema",
"period": 50
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
{
"symbol": "STOCK:META",
"timeframe": "1d"
},
{
"symbol": "STOCK:AAPL",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 500
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 20
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 22
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1",
"name": "EMA/ADX/RSI Crossover Long (MSFT@1d)",
"priority": 1,
"trade_symbol": "STOCK:MSFT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 500
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 20
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 22
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
}
],
"direction": "short",
"enabled": true,
"id": "entry_2",
"name": "EMA/ADX/RSI Crossover Short (META@1d)",
"priority": 2,
"trade_symbol": "STOCK:META"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 500
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 20
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 22
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 60
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3",
"name": "EMA/ADX/RSI Crossover Long (AAPL@1d)",
"priority": 3,
"trade_symbol": "STOCK:AAPL"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 495
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 70
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 65
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Overbought RSI Exit (META/MSFT@1d)",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_msft",
"name": "TP: Fib Extension 127.2% (MSFT@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_meta",
"name": "TP: Fib Extension 127.2% (MSFT@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:META"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_aapl",
"name": "TP: Fib Extension 127.2% (MSFT@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_msft",
"name": "SL: Below Support[2] (MSFT@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_meta",
"name": "SL: Below Support[2] (MSFT@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_aapl",
"name": "SL: Below Support[2] (MSFT@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.4729666666666668
}
}
],
"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": 4.9459333333333335
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 4.9%",
"priority": 100,
"purpose": "take_profit"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_6_msft",
"name": "SL: Fib Retracement 61.8% (MSFT@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_6_meta",
"name": "SL: Fib Retracement 61.8% (MSFT@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:MSFT",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_6_aapl",
"name": "SL: Fib Retracement 61.8% (MSFT@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_7_msft",
"name": "SL: Fib Retracement 61.8% (META@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_7_meta",
"name": "SL: Fib Retracement 61.8% (META@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:META",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_7_aapl",
"name": "SL: Fib Retracement 61.8% (META@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_8_msft",
"name": "SL: Fib Retracement 61.8% (AAPL@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:MSFT"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_8_meta",
"name": "SL: Fib Retracement 61.8% (AAPL@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:META"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"ratio": 618,
"type": "fibonacci_retracement"
}
}
],
"enabled": true,
"id": "exit_8_aapl",
"name": "SL: Fib Retracement 61.8% (AAPL@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 618,
"risk_percent": 2.4729666666666668,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'With Alphabet's free cash flow turning negative from AI capex, investors are fleeing companies burning cash on data centers and piling into Apple, which just touched $5 trillion. Microsoft and Meta are reporting this week into a wall of pessimism about th'. Thesis: With Alphabet's free cash flow turning negative from AI capex, investors are fleeing companies burning cash on data centers and piling into Apple, which just touched $5 trillion. Microsoft and Meta are reporting this week into a wall of pessimism about their AI spending with no clear return. This divergence creates a pairs trade opportunity: go long the company winning the AI debate without the massive spending risk, and short the companies most exposed to an AI spending backlash. ## Story development — 2026-07-30 09:01 UTC **Microsoft just proved AI spending works while Meta faces skeptical questions — long MSFT, short META** Microsoft just proved its massive AI spending is paying off with stronger-than-expected cloud growth, and analysts loved the earnings call. Meanwhile, Meta is catchi
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.