When interest rates stay high and companies start laying off workers, families p
Created
Thesis
When interest rates stay high and companies start laying off workers, families pull back on big purchases and focus on basic needs. The Challenger job-cuts report confirms real pain in the labor market, while warnings about prolonged high rates mean mortgage, credit card, and auto loan bills will keep squeezing household budgets. In this environment, consumers trade down to discount groceries and household essentials, which makes defensive companies that sell everyday necessities a safe place to park money. These companies generate steady cash flow regardless of the economic weather, and their stock prices tend to hold up far better than the broader market when consumers feel the pinch.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
KHC · 1d
2 of 4 published entry conditions marked met.
- Price at or below EMA (50) — near
- Price above Bollinger (20) — near
- RSI (14) below 45 — met
- RSI (14) above RSI (14) — met
- Price at or above Bollinger (20) — near
- Price below EMA (50) — near
- Price below Bollinger (20) — met
- RSI (14) below RSI (14) — met
PG · 1d
3 of 4 published entry conditions marked met.
- Price at or below EMA (50) — met
- Price above Bollinger (20) — near
- RSI (14) below 45 — met
- RSI (14) above RSI (14) — met
- Price at or above Bollinger (20) — near
- Price below EMA (50) — met
- Price below Bollinger (20) — met
- RSI (14) below RSI (14) — met
XLP · 1d
3 of 4 published entry conditions marked met.
- Price at or below EMA (50) — met
- Price above Bollinger (20) — near
- RSI (14) below 45 — met
- RSI (14) above RSI (14) — met
- Price at or above Bollinger (20) — near
- Price below EMA (50) — met
- Price below Bollinger (20) — met
- RSI (14) below RSI (14) — met
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: Pullback-to-Support Reversal Long (XLP@1d) (4 conditions)
- Entry: Pullback-to-Support Reversal Long (PG@1d) (4 conditions)
- Entry: Pullback-to-Support Reversal Long (KHC@1d) (4 conditions)
- Exit: Position Exit Rule (1 condition)
- Exit: TP: Upper BB Overextension (XLP@1d) (1 condition)
- Exit: TP: Upper BB Overextension (PG@1d) (1 condition)
- Exit: TP: Upper BB Overextension (KHC@1d) (1 condition)
- Exit: SL: Support Break (XLP@1d) (2 conditions)
- Exit: SL: Support Break (PG@1d) (2 conditions)
- Exit: SL: Support Break (KHC@1d) (2 conditions)
- Exit: Failed Reversal Invalidation (XLP@1d) (2 conditions)
- Exit: Failed Reversal Invalidation (PG@1d) (2 conditions)
- Exit: Failed Reversal Invalidation (KHC@1d) (2 conditions)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
{
"symbol": "STOCK:PG",
"timeframe": "1d"
},
{
"symbol": "STOCK:KHC",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xlp",
"name": "Pullback-to-Support Reversal Long (XLP@1d)",
"priority": 1,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_pg",
"name": "Pullback-to-Support Reversal Long (PG@1d)",
"priority": 2,
"trade_symbol": "STOCK:PG"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_khc",
"name": "Pullback-to-Support Reversal Long (KHC@1d)",
"priority": 3,
"trade_symbol": "STOCK:KHC"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule",
"priority": 1,
"purpose": "signal"
},
{
"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"
},
"field": "upper",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_2_xlp",
"name": "TP: Upper BB Overextension (XLP@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_2_pg",
"name": "TP: Upper BB Overextension (PG@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:PG"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_2_khc",
"name": "TP: Upper BB Overextension (KHC@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:KHC"
},
{
"applies_to": "long",
"conditions": [
{
"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": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_3_xlp",
"name": "SL: Support Break (XLP@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_3_pg",
"name": "SL: Support Break (PG@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:PG"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_3_khc",
"name": "SL: Support Break (KHC@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:KHC"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_4_xlp",
"name": "Failed Reversal Invalidation (XLP@1d)",
"priority": 99,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_4_pg",
"name": "Failed Reversal Invalidation (PG@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:PG"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_4_khc",
"name": "Failed Reversal Invalidation (KHC@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:KHC"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 786,
"risk_percent": 2.3740833333333335,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "ema",
"period": 50
},
{
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 50
},
{
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 50
},
{
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
{
"name": "rsi",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
{
"symbol": "STOCK:PG",
"timeframe": "1d"
},
{
"symbol": "STOCK:KHC",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xlp",
"name": "Pullback-to-Support Reversal Long (XLP@1d)",
"priority": 1,
"trade_symbol": "STOCK:XLP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_pg",
"name": "Pullback-to-Support Reversal Long (PG@1d)",
"priority": 2,
"trade_symbol": "STOCK:PG"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_khc",
"name": "Pullback-to-Support Reversal Long (KHC@1d)",
"priority": 3,
"trade_symbol": "STOCK:KHC"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule",
"priority": 1,
"purpose": "signal"
},
{
"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"
},
"field": "upper",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_2_xlp",
"name": "TP: Upper BB Overextension (XLP@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_2_pg",
"name": "TP: Upper BB Overextension (PG@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:PG"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "upper",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_2_khc",
"name": "TP: Upper BB Overextension (KHC@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:KHC"
},
{
"applies_to": "long",
"conditions": [
{
"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": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_3_xlp",
"name": "SL: Support Break (XLP@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_3_pg",
"name": "SL: Support Break (PG@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:PG"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_3_khc",
"name": "SL: Support Break (KHC@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:KHC"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_4_xlp",
"name": "Failed Reversal Invalidation (XLP@1d)",
"priority": 99,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PG",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_4_pg",
"name": "Failed Reversal Invalidation (PG@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:PG"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 10
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:KHC",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_4_khc",
"name": "Failed Reversal Invalidation (KHC@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:KHC"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 786,
"risk_percent": 2.3740833333333335,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'When interest rates stay high and companies start laying off workers, families pull back on big purchases and focus on basic needs. The Challenger job-cuts report confirms real pain in the labor market, while warnings about prolonged high rates mean mortg'. Thesis: When interest rates stay high and companies start laying off workers, families pull back on big purchases and focus on basic needs. The Challenger job-cuts report confirms real pain in the labor market, while warnings about prolonged high rates mean mortgage, credit card, and auto loan bills will keep squeezing household budgets. In this environment, consumers trade down to discount groceries and household essentials, which makes defensive companies that sell everyday necessities a safe place to park money. These companies generate steady cash flow regardless of the economic weather, and their stock prices tend to hold up far better than the broader market when consumers feel the pinch.
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