July consumer prices came in soft while July producer prices were completely fla
Created
Thesis
July consumer prices came in soft while July producer prices were completely flat, confirming inflation pressure is fading for two straight months. When inflation cools, the dollar typically weakens because traders expect the Federal Reserve to stop raising interest rates — and a weaker dollar makes gold cheaper for foreign buyers. At the same time, the yen's appreciation against the dollar confirms that currency market forces are already pulling capital out of the greenback. The critical catalyst is the Hormuz Strait standoff: if oil spikes to $120 on a supply disruption, it acts as both a geopolitical shock and a tax on consumers, which historically drives rapid safe-haven buying of gold.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
GDX · 1d
2 of 5 published entry conditions marked met.
- Price at or below Bollinger (20) — far
- Price at or below EMA (50) — far
- Price at or above EMA (50) — met
- RSI (14) below 45 — far
- RSI (14) above 30 — met
- Price below EMA (50) — far
GLD · 1d
2 of 5 published entry conditions marked met.
- Price at or below Bollinger (20) — near
- Price at or below EMA (50) — near
- Price at or above EMA (50) — met
- RSI (14) below 45 — far
- RSI (14) above 30 — met
- Price below EMA (50) — near
NEM · 1d
2 of 5 published entry conditions marked met.
- Price at or below Bollinger (20) — far
- Price at or below EMA (50) — far
- Price at or above EMA (50) — met
- RSI (14) below 45 — far
- RSI (14) above 30 — met
- Price below EMA (50) — 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: Pullback to EMA50 with RSI Recovery (GLD@1d) (5 conditions)
- Entry: Pullback to EMA50 with RSI Recovery (GDX@1d) (5 conditions)
- Entry: Pullback to EMA50 with RSI Recovery (NEM@1d) (5 conditions)
- Exit: Stop Loss at 2.4% (1 condition)
- Exit: Take Profit at 4.7% (1 condition)
- Exit: Time Stop 60 bars (1 condition)
- Exit: Support Lost - Close below EMA50 after 5 bars (GLD@1d) (2 conditions)
- Exit: Support Lost - Close below EMA50 after 5 bars (GDX@1d) (2 conditions)
- Exit: Support Lost - Close below EMA50 after 5 bars (NEM@1d) (2 conditions)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
{
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
{
"symbol": "STOCK:NEM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "middle",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 30
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_gld",
"name": "Pullback to EMA50 with RSI Recovery (GLD@1d)",
"priority": 1,
"trade_symbol": "STOCK:GLD"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "middle",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 30
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_gdx",
"name": "Pullback to EMA50 with RSI Recovery (GDX@1d)",
"priority": 2,
"trade_symbol": "STOCK:GDX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "middle",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 30
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_nem",
"name": "Pullback to EMA50 with RSI Recovery (NEM@1d)",
"priority": 3,
"trade_symbol": "STOCK:NEM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.355434782608696
}
}
],
"enabled": true,
"id": "exit_sl",
"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.710869565217392
}
}
],
"enabled": true,
"id": "exit_tp",
"name": "Take Profit at 4.7%",
"priority": 96,
"purpose": "take_profit"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 60
}
}
],
"enabled": true,
"id": "exit_time",
"name": "Time Stop 60 bars",
"priority": 99,
"purpose": "signal"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5
}
}
],
"enabled": true,
"id": "exit_invalid_gld",
"name": "Support Lost - Close below EMA50 after 5 bars (GLD@1d)",
"priority": 101,
"purpose": "signal",
"target_symbol": "STOCK:GLD"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5
}
}
],
"enabled": true,
"id": "exit_invalid_gdx",
"name": "Support Lost - Close below EMA50 after 5 bars (GDX@1d)",
"priority": 102,
"purpose": "signal",
"target_symbol": "STOCK:GDX"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5
}
}
],
"enabled": true,
"id": "exit_invalid_nem",
"name": "Support Lost - Close below EMA50 after 5 bars (NEM@1d)",
"priority": 103,
"purpose": "signal",
"target_symbol": "STOCK:NEM"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 618,
"risk_percent": 2.355434782608696,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 2
}Indicator configuration
{
"indicators": [
{
"name": "ema",
"period": 50
},
{
"name": "ema",
"period": 21
},
{
"name": "rsi",
"period": 14
},
{
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
{
"name": "ema",
"period": 50
},
{
"name": "ema",
"period": 21
},
{
"name": "rsi",
"period": 14
},
{
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
{
"name": "ema",
"period": 50
},
{
"name": "ema",
"period": 21
},
{
"name": "rsi",
"period": 14
},
{
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
{
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
{
"symbol": "STOCK:NEM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "middle",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 30
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_gld",
"name": "Pullback to EMA50 with RSI Recovery (GLD@1d)",
"priority": 1,
"trade_symbol": "STOCK:GLD"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "middle",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 30
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_gdx",
"name": "Pullback to EMA50 with RSI Recovery (GDX@1d)",
"priority": 2,
"trade_symbol": "STOCK:GDX"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "middle",
"indicator": {
"name": "bollinger_bands",
"period": 20,
"std_dev": 2
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "low",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"type": "constant",
"value": 45
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 30
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_nem",
"name": "Pullback to EMA50 with RSI Recovery (NEM@1d)",
"priority": 3,
"trade_symbol": "STOCK:NEM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.355434782608696
}
}
],
"enabled": true,
"id": "exit_sl",
"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.710869565217392
}
}
],
"enabled": true,
"id": "exit_tp",
"name": "Take Profit at 4.7%",
"priority": 96,
"purpose": "take_profit"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 60
}
}
],
"enabled": true,
"id": "exit_time",
"name": "Time Stop 60 bars",
"priority": 99,
"purpose": "signal"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:GLD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5
}
}
],
"enabled": true,
"id": "exit_invalid_gld",
"name": "Support Lost - Close below EMA50 after 5 bars (GLD@1d)",
"priority": 101,
"purpose": "signal",
"target_symbol": "STOCK:GLD"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:GDX",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5
}
}
],
"enabled": true,
"id": "exit_invalid_gdx",
"name": "Support Lost - Close below EMA50 after 5 bars (GDX@1d)",
"priority": 102,
"purpose": "signal",
"target_symbol": "STOCK:GDX"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:NEM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 5
}
}
],
"enabled": true,
"id": "exit_invalid_nem",
"name": "Support Lost - Close below EMA50 after 5 bars (NEM@1d)",
"priority": 103,
"purpose": "signal",
"target_symbol": "STOCK:NEM"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 618,
"risk_percent": 2.355434782608696,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 2
}Strategy instructions
Trading agent generated from recommendation idea 'July consumer prices came in soft while July producer prices were completely flat, confirming inflation pressure is fading for two straight months. When inflation cools, the dollar typically weakens because traders expect the Federal Reserve to stop raisi'. Thesis: July consumer prices came in soft while July producer prices were completely flat, confirming inflation pressure is fading for two straight months. When inflation cools, the dollar typically weakens because traders expect the Federal Reserve to stop raising interest rates — and a weaker dollar makes gold cheaper for foreign buyers. At the same time, the yen's appreciation against the dollar confirms that currency market forces are already pulling capital out of the greenback. The critical catalyst is the Hormuz Strait standoff: if oil spikes to $120 on a supply disruption, it acts as both a geopolitical shock and a tax on consumers, which historically drives rapid safe-haven buying of gold.
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