AAPL Calendar-anchored event trade with trend confirmation Strategy
Created
Thesis
Trump and Xi just met at the White House and have scheduled a follow-up meeting in China in November — two high-profile signals that both governments want the trade relationship kept on track rather than escalated. With China running a massive trade surplus that tariffs alone can't fix, both sides have an economic incentive to keep commerce flowing, making a breakdown less likely near-term. Companies with heavy China revenue have been beaten down on trade-war fears, so de-escalation headlines into the November summit create a runway for those stocks to re-rate. It's a calendar-based event trade with a clear date that anchors the holding period.
Strategy approach
Trump and Xi just met at the White House and have scheduled a follow-up meeting in China in November — two high-profile signals that both governments want the trade relationship kept on track rather than escalated. With China running a massive trade surplus that tariffs alone can't fix, both sides have an economic incentive to keep commerce flowing, making a breakdown less likely near-term. Companies with heavy China revenue have been beaten down on trade-war fears, so de-escalation headlines into the November summit create a runway for those stocks to re-rate. It's a calendar-based event trade with a clear date that anchors the holding period. Decision analysis profile: near_term. Required dimensions: as_of_session, catalyst_timing, expectations_priced_in, price_volume,…
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
AAPL · 1d
6 of 8 published entry conditions marked met.
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — met
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — met
BABA · 1d
4 of 8 published entry conditions marked met.
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — far
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — far
CAT · 1d
6 of 8 published entry conditions marked met.
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — met
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — met
YUM · 1d
4 of 8 published entry conditions marked met.
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — far
- Price above 0 — met
- RSI (14) above 20 — met
- MACD (12,26,9) crossed above MACD (12,26,9) — near
- RSI (14) above 45 — far
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: RSI/MACD Crossover Long (AAPL@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (BABA@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (CAT@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (YUM@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (AAPL@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (BABA@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (CAT@1d) (4 conditions)
- Entry: RSI/MACD Crossover Long (YUM@1d) (4 conditions)
- Entry: Crossover Long (AAPL@1d) (1 condition)
- Entry: Crossover Long (BABA@1d) (1 condition)
- Entry: Crossover Long (CAT@1d) (1 condition)
- Entry: Crossover Long (YUM@1d) (1 condition)
- Exit: Position Exit Rule (1 condition)
- Exit: TP: Near Resistance[1] (AAPL@1d) (1 condition)
- Exit: TP: Near Resistance[1] (BABA@1d) (1 condition)
- Exit: TP: Near Resistance[1] (CAT@1d) (1 condition)
- Exit: TP: Near Resistance[1] (YUM@1d) (1 condition)
- Exit: SL: Below Support[2] (AAPL@1d) (1 condition)
- Exit: SL: Below Support[2] (BABA@1d) (1 condition)
- Exit: SL: Below Support[2] (CAT@1d) (1 condition)
- Exit: SL: Below Support[2] (YUM@1d) (1 condition)
- Exit: Stop Loss at 2.4% (1 condition)
- Exit: Take Profit at 4.8% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
{
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
{
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
{
"symbol": "STOCK:YUM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_aapl",
"name": "RSI/MACD Crossover Long (AAPL@1d)",
"priority": 1,
"trade_symbol": "STOCK:AAPL"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_baba",
"name": "RSI/MACD Crossover Long (BABA@1d)",
"priority": 2,
"trade_symbol": "STOCK:BABA"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_cat",
"name": "RSI/MACD Crossover Long (CAT@1d)",
"priority": 3,
"trade_symbol": "STOCK:CAT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_yum",
"name": "RSI/MACD Crossover Long (YUM@1d)",
"priority": 4,
"trade_symbol": "STOCK:YUM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_aapl",
"name": "RSI/MACD Crossover Long (AAPL@1d)",
"priority": 2,
"trade_symbol": "STOCK:AAPL"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_baba",
"name": "RSI/MACD Crossover Long (BABA@1d)",
"priority": 3,
"trade_symbol": "STOCK:BABA"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_cat",
"name": "RSI/MACD Crossover Long (CAT@1d)",
"priority": 4,
"trade_symbol": "STOCK:CAT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_yum",
"name": "RSI/MACD Crossover Long (YUM@1d)",
"priority": 5,
"trade_symbol": "STOCK:YUM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_aapl",
"name": "Crossover Long (AAPL@1d)",
"priority": 2,
"trade_symbol": "STOCK:AAPL"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_baba",
"name": "Crossover Long (BABA@1d)",
"priority": 3,
"trade_symbol": "STOCK:BABA"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_cat",
"name": "Crossover Long (CAT@1d)",
"priority": 4,
"trade_symbol": "STOCK:CAT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_yum",
"name": "Crossover Long (YUM@1d)",
"priority": 5,
"trade_symbol": "STOCK:YUM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 75
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_aapl",
"name": "TP: Near Resistance[1] (AAPL@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_baba",
"name": "TP: Near Resistance[1] (BABA@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:BABA"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_cat",
"name": "TP: Near Resistance[1] (CAT@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "STOCK:CAT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_yum",
"name": "TP: Near Resistance[1] (YUM@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "STOCK:YUM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"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] (AAPL@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_baba",
"name": "SL: Below Support[2] (BABA@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:BABA"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_cat",
"name": "SL: Below Support[2] (CAT@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:CAT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_yum",
"name": "SL: Below Support[2] (YUM@1d)",
"priority": 103,
"purpose": "stop_loss",
"target_symbol": "STOCK:YUM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.408333333333333
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 2.4%",
"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.816666666666666
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 4.8%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.408333333333333,
"support_stop_rank": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
{
"name": "rsi",
"period": 14
},
{
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
{
"name": "rsi",
"period": 14
},
{
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
{
"name": "rsi",
"period": 14
},
{
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
{
"name": "rsi",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
{
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
{
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
{
"symbol": "STOCK:YUM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_aapl",
"name": "RSI/MACD Crossover Long (AAPL@1d)",
"priority": 1,
"trade_symbol": "STOCK:AAPL"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_baba",
"name": "RSI/MACD Crossover Long (BABA@1d)",
"priority": 2,
"trade_symbol": "STOCK:BABA"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_cat",
"name": "RSI/MACD Crossover Long (CAT@1d)",
"priority": 3,
"trade_symbol": "STOCK:CAT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_yum",
"name": "RSI/MACD Crossover Long (YUM@1d)",
"priority": 4,
"trade_symbol": "STOCK:YUM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_aapl",
"name": "RSI/MACD Crossover Long (AAPL@1d)",
"priority": 2,
"trade_symbol": "STOCK:AAPL"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_baba",
"name": "RSI/MACD Crossover Long (BABA@1d)",
"priority": 3,
"trade_symbol": "STOCK:BABA"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_cat",
"name": "RSI/MACD Crossover Long (CAT@1d)",
"priority": 4,
"trade_symbol": "STOCK:CAT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 0
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "line",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "signal",
"indicator": {
"fast": 12,
"name": "macd",
"signal": 9,
"slow": 26
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 45
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_yum",
"name": "RSI/MACD Crossover Long (YUM@1d)",
"priority": 5,
"trade_symbol": "STOCK:YUM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_aapl",
"name": "Crossover Long (AAPL@1d)",
"priority": 2,
"trade_symbol": "STOCK:AAPL"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_baba",
"name": "Crossover Long (BABA@1d)",
"priority": 3,
"trade_symbol": "STOCK:BABA"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_cat",
"name": "Crossover Long (CAT@1d)",
"priority": 4,
"trade_symbol": "STOCK:CAT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_yum",
"name": "Crossover Long (YUM@1d)",
"priority": 5,
"trade_symbol": "STOCK:YUM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 75
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Position Exit Rule",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_aapl",
"name": "TP: Near Resistance[1] (AAPL@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_baba",
"name": "TP: Near Resistance[1] (BABA@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:BABA"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_cat",
"name": "TP: Near Resistance[1] (CAT@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "STOCK:CAT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_2_yum",
"name": "TP: Near Resistance[1] (YUM@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "STOCK:YUM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:AAPL",
"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] (AAPL@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:AAPL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:BABA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_baba",
"name": "SL: Below Support[2] (BABA@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:BABA"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:CAT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_cat",
"name": "SL: Below Support[2] (CAT@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:CAT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:YUM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 2,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_3_yum",
"name": "SL: Below Support[2] (YUM@1d)",
"priority": 103,
"purpose": "stop_loss",
"target_symbol": "STOCK:YUM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.408333333333333
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 2.4%",
"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.816666666666666
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Take Profit at 4.8%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"risk_percent": 2.408333333333333,
"support_stop_rank": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Trump and Xi just met at the White House and have scheduled a follow-up meeting in China in November — two high-profile signals that both governments want the trade relationship kept on track rather than escalated. With China running a massive trade surpl'. Thesis: Trump and Xi just met at the White House and have scheduled a follow-up meeting in China in November — two high-profile signals that both governments want the trade relationship kept on track rather than escalated. With China running a massive trade surplus that tariffs alone can't fix, both sides have an economic incentive to keep commerce flowing, making a breakdown less likely near-term. Companies with heavy China revenue have been beaten down on trade-war fears, so de-escalation headlines into the November summit create a runway for those stocks to re-rate. It's a calendar-based event trade with a clear date that anchors the holding period.
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