Loading…
Public trading strategy

Record fuel prices squeeze household budgets first — every dollar at the pump is

Created

Thesis

Record fuel prices squeeze household budgets first — every dollar at the pump is a dollar not spent at stores and restaurants. The central bank now faces energy-driven inflation that could force an actual rate hike, and markets have sold off four straight days partly on that fear. Companies selling optional goods face a double squeeze: weaker consumer spending and more expensive borrowing. Unlike energy or gold, no published idea today targets the spending side of this squeeze, making short consumer discretionary the clean way to trade it.

Strategy approach

Record fuel prices squeeze household budgets first — every dollar at the pump is a dollar not spent at stores and restaurants. The central bank now faces energy-driven inflation that could force an actual rate hike, and markets have sold off four straight days partly on that fear. Companies selling optional goods face a double squeeze: weaker consumer spending and more expensive borrowing. Unlike energy or gold, no published idea today targets the spending side of this squeeze, making short consumer discretionary the clean way to trade it. Decision analysis profile: value. Required dimensions: valuation_method, valuation_sensitivity, business_economics, cash_quality, balance_sheet_leverage, dilution_capital_allocation, moat, catalysts, counterevidence, invalidation.

Markets and timeframes

Latest published rule evaluation

Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.

HD · 1d

4 of 4 published entry conditions marked met.

  • Price below Donchian (20) — met
  • MACD (12,26,9) below 0 — met
  • EMA (9) below EMA (21) — met
  • ADX (14) above 20 — met
  • RSI (14) below 35 — met
  • Bollinger (20) below 50 — far

MCD · 1d

4 of 4 published entry conditions marked met.

  • Price below Donchian (20) — met
  • MACD (12,26,9) below 0 — met
  • EMA (9) below EMA (21) — met
  • ADX (14) above 20 — met
  • RSI (14) below 35 — met
  • Bollinger (20) below 50 — far

TGT · 1d

1 of 4 published entry conditions marked met.

  • Price below Donchian (20) — met
  • MACD (12,26,9) below 0 — far
  • EMA (9) below EMA (21) — near
  • ADX (14) above 20 — far
  • RSI (14) below 35 — far
  • Bollinger (20) below 50 — far

XLY · 1d

4 of 4 published entry conditions marked met.

  • Price below Donchian (20) — met
  • MACD (12,26,9) below 0 — met
  • EMA (9) below EMA (21) — met
  • ADX (14) above 20 — met
  • RSI (14) below 35 — near
  • Bollinger (20) below 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: DONCHIAN/MACD/EMA/ADX Signal Long (XLY@1d) (4 conditions)
  • Entry: DONCHIAN/MACD/EMA/ADX Signal Long (HD@1d) (4 conditions)
  • Entry: DONCHIAN/MACD/EMA/ADX Signal Long (MCD@1d) (4 conditions)
  • Entry: DONCHIAN/MACD/EMA/ADX Signal Long (TGT@1d) (4 conditions)
  • Exit: BB Threshold Exit (XLY@1d) (3 conditions)
  • Exit: BB Threshold Exit (HD@1d) (3 conditions)
  • Exit: BB Threshold Exit (MCD@1d) (3 conditions)
  • Exit: BB Threshold Exit (TGT@1d) (3 conditions)
  • Exit: SL: Below Support[1] (XLY@1d) (1 condition)
  • Exit: SL: Below Support[1] (HD@1d) (1 condition)
  • Exit: SL: Below Support[1] (MCD@1d) (1 condition)
  • Exit: SL: Below Support[1] (TGT@1d) (1 condition)
  • Exit: SL: Below Support[2] (XLY@1d) (1 condition)
  • Exit: SL: Below Support[2] (HD@1d) (1 condition)
  • Exit: SL: Below Support[2] (MCD@1d) (1 condition)
  • Exit: SL: Below Support[2] (TGT@1d) (1 condition)
  • Exit: Stop Loss at 2.3% (1 condition)
  • Exit: Take Profit at 4.6% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:XLY",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:HD",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:MCD",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:TGT",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xly",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (XLY@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:XLY"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_hd",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (HD@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:HD"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_mcd",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (MCD@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:MCD"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_tgt",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (TGT@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:TGT"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xly",
      "name": "BB Threshold Exit (XLY@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:XLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_hd",
      "name": "BB Threshold Exit (HD@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:HD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_mcd",
      "name": "BB Threshold Exit (MCD@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:MCD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_tgt",
      "name": "BB Threshold Exit (TGT@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:TGT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xly",
      "name": "SL: Below Support[1] (XLY@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_hd",
      "name": "SL: Below Support[1] (HD@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:HD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_mcd",
      "name": "SL: Below Support[1] (MCD@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:MCD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_tgt",
      "name": "SL: Below Support[1] (TGT@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:TGT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xly",
      "name": "SL: Below Support[2] (XLY@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_hd",
      "name": "SL: Below Support[2] (HD@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:HD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_mcd",
      "name": "SL: Below Support[2] (MCD@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:MCD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_tgt",
      "name": "SL: Below Support[2] (TGT@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:TGT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.2992857142857144
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.3%",
      "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.598571428571429
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 4.6%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.2992857142857144,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "donchian",
      "period": 20
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 9
    },
    {
      "name": "ema",
      "period": 21
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 9
    },
    {
      "name": "ema",
      "period": 21
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 9
    },
    {
      "name": "ema",
      "period": 21
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 9
    },
    {
      "name": "ema",
      "period": 21
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:XLY",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:HD",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:MCD",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:TGT",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xly",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (XLY@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:XLY"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_hd",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (HD@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:HD"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_mcd",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (MCD@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:MCD"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 9
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 21
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_tgt",
      "name": "DONCHIAN/MACD/EMA/ADX Signal Long (TGT@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:TGT"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xly",
      "name": "BB Threshold Exit (XLY@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:XLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_hd",
      "name": "BB Threshold Exit (HD@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:HD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_mcd",
      "name": "BB Threshold Exit (MCD@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:MCD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 40
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_tgt",
      "name": "BB Threshold Exit (TGT@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:TGT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xly",
      "name": "SL: Below Support[1] (XLY@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_hd",
      "name": "SL: Below Support[1] (HD@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:HD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_mcd",
      "name": "SL: Below Support[1] (MCD@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:MCD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_tgt",
      "name": "SL: Below Support[1] (TGT@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:TGT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xly",
      "name": "SL: Below Support[2] (XLY@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:HD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_hd",
      "name": "SL: Below Support[2] (HD@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:HD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:MCD",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_mcd",
      "name": "SL: Below Support[2] (MCD@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:MCD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:TGT",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_tgt",
      "name": "SL: Below Support[2] (TGT@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:TGT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.2992857142857144
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.3%",
      "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.598571428571429
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 4.6%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.2992857142857144,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Record fuel prices squeeze household budgets first — every dollar at the pump is a dollar not spent at stores and restaurants. The central bank now faces energy-driven inflation that could force an actual rate hike, and markets have sold off four straight'. Thesis: Record fuel prices squeeze household budgets first — every dollar at the pump is a dollar not spent at stores and restaurants. The central bank now faces energy-driven inflation that could force an actual rate hike, and markets have sold off four straight days partly on that fear. Companies selling optional goods face a double squeeze: weaker consumer spending and more expensive borrowing. Unlike energy or gold, no published idea today targets the spending side of this squeeze, making short consumer discretionary the clean way to trade it.

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