The Fed's key inflation measure is still running at 3.3% a year — well above tar
Created
Thesis
The Fed's key inflation measure is still running at 3.3% a year — well above target — while inflation-adjusted consumer spending went flat in July, the weakest stretch in seven months. That's the textbook 'slowing economy, sticky prices' mix: it keeps interest rates high (Treasury yields rose on the data) while sapping the willingness of households to spend. High rates hit long-duration growth stocks like tech hardest, and a tired consumer hits anything dependent on discretionary spending — while companies selling groceries, medicine and utilities keep their revenue either way. Rotating into defensive sectors versus the tech-heavy QQQ is a way to profit from both forces at once.
Strategy approach
The Fed's key inflation measure is still running at 3.3% a year — well above target — while inflation-adjusted consumer spending went flat in July, the weakest stretch in seven months. That's the textbook 'slowing economy, sticky prices' mix: it keeps interest rates high (Treasury yields rose on the data) while sapping the willingness of households to spend. High rates hit long-duration growth stocks like tech hardest, and a tired consumer hits anything dependent on discretionary spending — while companies selling groceries, medicine and utilities keep their revenue either way. Rotating into defensive sectors versus the tech-heavy QQQ is a way to profit from both forces at once. Decision analysis profile: value. Required dimensions: valuation_method, valuation_sensitivity,…
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
QQQ · 1d
2 of 8 published entry conditions marked met.
- Price above EMA (9) — near
- EMA (9) crossed above EMA (50) — near
- RSI (14) above 50 — far
- Price below EMA (9) — met
- Price above EMA (9) — near
- EMA (9) crossed above EMA (50) — near
- RSI (14) above 50 — far
- Price below EMA (9) — met
- RSI (14) above 72 — far
- Price below EMA (9) — met
XLP · 1d
4 of 8 published entry conditions marked met.
- Price above EMA (9) — met
- EMA (9) crossed above EMA (50) — near
- RSI (14) above 50 — met
- Price below EMA (9) — near
- Price above EMA (9) — met
- EMA (9) crossed above EMA (50) — near
- RSI (14) above 50 — met
- Price below EMA (9) — near
- RSI (14) above 72 — far
- Price below EMA (9) — near
XLV · 1d
4 of 8 published entry conditions marked met.
- Price above EMA (9) — met
- EMA (9) crossed above EMA (50) — far
- RSI (14) above 50 — met
- Price below EMA (9) — near
- Price above EMA (9) — met
- EMA (9) crossed above EMA (50) — far
- RSI (14) above 50 — met
- Price below EMA (9) — near
- RSI (14) above 72 — far
- Price below EMA (9) — near
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: EMA/RSI Crossover Long (XLP@1d) (4 conditions)
- Entry: EMA/RSI Crossover Long (XLV@1d) (4 conditions)
- Entry: EMA/RSI Crossover Long (QQQ@1d) (4 conditions)
- Entry: EMA/RSI Crossover Long (XLP@1d) (4 conditions)
- Entry: EMA/RSI Crossover Long (XLV@1d) (4 conditions)
- Entry: EMA/RSI Crossover Long (QQQ@1d) (4 conditions)
- Entry: Long Entry Signal (XLP@1d) (2 conditions)
- Entry: Long Entry Signal (XLV@1d) (2 conditions)
- Entry: Long Entry Signal (QQQ@1d) (2 conditions)
- Exit: Overbought RSI Exit (XLP@1d) (3 conditions)
- Exit: Overbought RSI Exit (XLV@1d) (3 conditions)
- Exit: Overbought RSI Exit (QQQ@1d) (3 conditions)
- Exit: TP: Fib Extension 127.2% (XLP@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (XLV@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (QQQ@1d) (1 condition)
- Exit: SL: Below Support[2] (XLP@1d) (1 condition)
- Exit: SL: Below Support[2] (XLV@1d) (1 condition)
- Exit: SL: Below Support[2] (QQQ@1d) (1 condition)
- Exit: Stop Loss at 2.7% (1 condition)
- Exit: Take Profit at 5.4% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
{
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
{
"symbol": "STOCK:QQQ",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xlp",
"name": "EMA/RSI Crossover Long (XLP@1d)",
"priority": 1,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xlv",
"name": "EMA/RSI Crossover Long (XLV@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLV"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_qqq",
"name": "EMA/RSI Crossover Long (QQQ@1d)",
"priority": 3,
"trade_symbol": "STOCK:QQQ"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xlp",
"name": "EMA/RSI Crossover Long (XLP@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xlv",
"name": "EMA/RSI Crossover Long (XLV@1d)",
"priority": 3,
"trade_symbol": "STOCK:XLV"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_qqq",
"name": "EMA/RSI Crossover Long (QQQ@1d)",
"priority": 4,
"trade_symbol": "STOCK:QQQ"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xlp",
"name": "Long Entry Signal (XLP@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xlv",
"name": "Long Entry Signal (XLV@1d)",
"priority": 3,
"trade_symbol": "STOCK:XLV"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_qqq",
"name": "Long Entry Signal (QQQ@1d)",
"priority": 4,
"trade_symbol": "STOCK:QQQ"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 72
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 90
}
}
],
"enabled": true,
"id": "exit_1_xlp",
"name": "Overbought RSI Exit (XLP@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 72
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 90
}
}
],
"enabled": true,
"id": "exit_1_xlv",
"name": "Overbought RSI Exit (XLV@1d)",
"priority": 2,
"purpose": "signal",
"target_symbol": "STOCK:XLV"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 72
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 90
}
}
],
"enabled": true,
"id": "exit_1_qqq",
"name": "Overbought RSI Exit (QQQ@1d)",
"priority": 3,
"purpose": "signal",
"target_symbol": "STOCK:QQQ"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xlp",
"name": "TP: Fib Extension 127.2% (XLP@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xlv",
"name": "TP: Fib Extension 127.2% (XLV@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:XLV"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_qqq",
"name": "TP: Fib Extension 127.2% (QQQ@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:QQQ"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_xlp",
"name": "SL: Below Support[2] (XLP@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_xlv",
"name": "SL: Below Support[2] (XLV@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLV"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_qqq",
"name": "SL: Below Support[2] (QQQ@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:QQQ"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.713333333333334
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 2.7%",
"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.426666666666667
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 5.4%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.713333333333334,
"support_stop_rank": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 50
},
{
"name": "ema",
"period": 21
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 50
},
{
"name": "ema",
"period": 21
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 50
},
{
"name": "ema",
"period": 21
},
{
"name": "rsi",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
{
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
{
"symbol": "STOCK:QQQ",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xlp",
"name": "EMA/RSI Crossover Long (XLP@1d)",
"priority": 1,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xlv",
"name": "EMA/RSI Crossover Long (XLV@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLV"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_qqq",
"name": "EMA/RSI Crossover Long (QQQ@1d)",
"priority": 3,
"trade_symbol": "STOCK:QQQ"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xlp",
"name": "EMA/RSI Crossover Long (XLP@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xlv",
"name": "EMA/RSI Crossover Long (XLV@1d)",
"priority": 3,
"trade_symbol": "STOCK:XLV"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_qqq",
"name": "EMA/RSI Crossover Long (QQQ@1d)",
"priority": 4,
"trade_symbol": "STOCK:QQQ"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xlp",
"name": "Long Entry Signal (XLP@1d)",
"priority": 2,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xlv",
"name": "Long Entry Signal (XLV@1d)",
"priority": 3,
"trade_symbol": "STOCK:XLV"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"rank": 1,
"type": "support_level"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_qqq",
"name": "Long Entry Signal (QQQ@1d)",
"priority": 4,
"trade_symbol": "STOCK:QQQ"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 72
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 90
}
}
],
"enabled": true,
"id": "exit_1_xlp",
"name": "Overbought RSI Exit (XLP@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 72
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 90
}
}
],
"enabled": true,
"id": "exit_1_xlv",
"name": "Overbought RSI Exit (XLV@1d)",
"priority": 2,
"purpose": "signal",
"target_symbol": "STOCK:XLV"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 72
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 90
}
}
],
"enabled": true,
"id": "exit_1_qqq",
"name": "Overbought RSI Exit (QQQ@1d)",
"priority": 3,
"purpose": "signal",
"target_symbol": "STOCK:QQQ"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xlp",
"name": "TP: Fib Extension 127.2% (XLP@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xlv",
"name": "TP: Fib Extension 127.2% (XLV@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:XLV"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_qqq",
"name": "TP: Fib Extension 127.2% (QQQ@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:QQQ"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_xlp",
"name": "SL: Below Support[2] (XLP@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLV",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_xlv",
"name": "SL: Below Support[2] (XLV@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLV"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:QQQ",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_qqq",
"name": "SL: Below Support[2] (QQQ@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:QQQ"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.713333333333334
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 2.7%",
"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.426666666666667
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 5.4%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.713333333333334,
"support_stop_rank": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'The Fed's key inflation measure is still running at 3.3% a year — well above target — while inflation-adjusted consumer spending went flat in July, the weakest stretch in seven months. That's the textbook 'slowing economy, sticky prices' mix: it keeps int'. Thesis: The Fed's key inflation measure is still running at 3.3% a year — well above target — while inflation-adjusted consumer spending went flat in July, the weakest stretch in seven months. That's the textbook 'slowing economy, sticky prices' mix: it keeps interest rates high (Treasury yields rose on the data) while sapping the willingness of households to spend. High rates hit long-duration growth stocks like tech hardest, and a tired consumer hits anything dependent on discretionary spending — while companies selling groceries, medicine and utilities keep their revenue either way. Rotating into defensive sectors versus the tech-heavy QQQ is a way to profit from both forces at once.
Performance
No trade count, win rate, or realized P&L figures are provided in this public preview. The thesis and shared rules do not establish a performance record.
What this public preview can establish
- The dated rule snapshot above shows the conditions evaluated at that time. It does not prove a current trigger or executed trade.
- Technical strategy fields are shared above. Inspect the actual conditions and check when they were evaluated before relying on them.
- No trade count, win rate, or P&L figure is published in this preview. It cannot establish a performance record.
Explore
How CommonQuant researches and tests strategies · Public paper-trading record and its limits · Discover public strategies