Loading…
Public trading strategy

JPMorgan flags about $103 billion of bets against the yen that could unwind in a

Created

Thesis

JPMorgan flags about $103 billion of bets against the yen that could unwind in a rush if the yen strengthens past 155 — and that forced buying pushes the yen up further regardless of fundamentals. The second report warns Japan is heading toward a policy shift not seen since 1990, meaning the cheap yen money that has propped up US stocks gets expensive. When carry trades unwind, the crowded, high-multiple growth names tend to fall hardest while staples and utilities hold up. Rotating into defensives when the yen breaks that level captures the risk-off move without trying to time the whole market.

Strategy approach

JPMorgan flags about $103 billion of bets against the yen that could unwind in a rush if the yen strengthens past 155 — and that forced buying pushes the yen up further regardless of fundamentals. The second report warns Japan is heading toward a policy shift not seen since 1990, meaning the cheap yen money that has propped up US stocks gets expensive. When carry trades unwind, the crowded, high-multiple growth names tend to fall hardest while staples and utilities hold up. Rotating into defensives when the yen breaks that level captures the risk-off move without trying to time the whole market. Decision analysis profile: value. Required dimensions: valuation_method, valuation_sensitivity, business_economics, cash_quality, balance_sheet_leverage, dilution_capital_allocation, moat,…

Markets and timeframes

Latest published rule evaluation

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

FXY · 1d

1 of 3 published entry conditions marked met.

  • Price crossed above Donchian (20) — near
  • ADX (14) above 20 — met
  • Price below SMA (20) — near
  • Price crossed above SMA (20) — near
  • Price crossed below EMA (5) — near

QQQ · 1d

0 of 3 published entry conditions marked met.

  • Price crossed above Donchian (20) — near
  • ADX (14) above 20 — far
  • Price below SMA (20) — near
  • Price crossed above SMA (20) — near
  • Price crossed below EMA (5) — near

XLP · 1d

1 of 3 published entry conditions marked met.

  • Price crossed above Donchian (20) — near
  • ADX (14) above 20 — far
  • Price below SMA (20) — met
  • Price crossed above SMA (20) — near
  • Price crossed below EMA (5) — near

XLU · 1d

2 of 3 published entry conditions marked met.

  • Price crossed above Donchian (20) — near
  • ADX (14) above 20 — met
  • Price below SMA (20) — met
  • Price crossed above SMA (20) — near
  • Price crossed below EMA (5) — near

Entry and exit at a glance

These are the named rules in the shared configuration. Review the full conditions below before using a strategy.

  • Entry: DONCHIAN/ADX/SMA Crossover Long (QQQ@1d) (4 conditions)
  • Entry: DONCHIAN/ADX/SMA Crossover Long (FXY@1d) (4 conditions)
  • Entry: DONCHIAN/ADX/SMA Crossover Long (XLP@1d) (4 conditions)
  • Entry: DONCHIAN/ADX/SMA Crossover Long (XLU@1d) (4 conditions)
  • Exit: Position Exit Rule (QQQ@1d) (3 conditions)
  • Exit: Position Exit Rule (FXY@1d) (3 conditions)
  • Exit: Position Exit Rule (XLP@1d) (3 conditions)
  • Exit: Position Exit Rule (XLU@1d) (3 conditions)
  • Exit: SL: Below Support[1] (QQQ@1d) (1 condition)
  • Exit: SL: Below Support[1] (FXY@1d) (1 condition)
  • Exit: SL: Below Support[1] (XLP@1d) (1 condition)
  • Exit: SL: Below Support[1] (XLU@1d) (1 condition)
  • Exit: SL: Below Support[2] (QQQ@1d) (1 condition)
  • Exit: SL: Below Support[2] (FXY@1d) (1 condition)
  • Exit: SL: Below Support[2] (XLP@1d) (1 condition)
  • Exit: SL: Below Support[2] (XLU@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (QQQ@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (FXY@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (XLP@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (XLU@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:QQQ",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:FXY",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XLP",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XLU",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_qqq",
      "name": "DONCHIAN/ADX/SMA Crossover Long (QQQ@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:QQQ"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_fxy",
      "name": "DONCHIAN/ADX/SMA Crossover Long (FXY@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:FXY"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xlp",
      "name": "DONCHIAN/ADX/SMA Crossover Long (XLP@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:XLP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xlu",
      "name": "DONCHIAN/ADX/SMA Crossover Long (XLU@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:XLU"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_qqq",
      "name": "Position Exit Rule (QQQ@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_fxy",
      "name": "Position Exit Rule (FXY@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xlp",
      "name": "Position Exit Rule (XLP@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xlu",
      "name": "Position Exit Rule (XLU@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_qqq",
      "name": "SL: Below Support[1] (QQQ@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_fxy",
      "name": "SL: Below Support[1] (FXY@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xlp",
      "name": "SL: Below Support[1] (XLP@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xlu",
      "name": "SL: Below Support[1] (XLU@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_qqq",
      "name": "SL: Below Support[2] (QQQ@1d)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_fxy",
      "name": "SL: Below Support[2] (FXY@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xlp",
      "name": "SL: Below Support[2] (XLP@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xlu",
      "name": "SL: Below Support[2] (XLU@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_qqq",
      "name": "TP: Near Resistance[1] (QQQ@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_fxy",
      "name": "TP: Near Resistance[1] (FXY@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_xlp",
      "name": "TP: Near Resistance[1] (XLP@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_xlu",
      "name": "TP: Near Resistance[1] (XLU@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.425
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "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.85
          }
        }
      ],
      "enabled": true,
      "id": "exit_6",
      "name": "Take Profit at 4.8%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "resistance_stop_rank": 1,
      "risk_percent": 2.425,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "ema",
      "period": 5
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "ema",
      "period": 5
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "ema",
      "period": 5
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "ema",
      "period": 5
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "adx",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:QQQ",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:FXY",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XLP",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XLU",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_qqq",
      "name": "DONCHIAN/ADX/SMA Crossover Long (QQQ@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:QQQ"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_fxy",
      "name": "DONCHIAN/ADX/SMA Crossover Long (FXY@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:FXY"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xlp",
      "name": "DONCHIAN/ADX/SMA Crossover Long (XLP@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:XLP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 1
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_xlu",
      "name": "DONCHIAN/ADX/SMA Crossover Long (XLU@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:XLU"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_qqq",
      "name": "Position Exit Rule (QQQ@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_fxy",
      "name": "Position Exit Rule (FXY@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xlp",
      "name": "Position Exit Rule (XLP@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xlu",
      "name": "Position Exit Rule (XLU@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_qqq",
      "name": "SL: Below Support[1] (QQQ@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_fxy",
      "name": "SL: Below Support[1] (FXY@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xlp",
      "name": "SL: Below Support[1] (XLP@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xlu",
      "name": "SL: Below Support[1] (XLU@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_qqq",
      "name": "SL: Below Support[2] (QQQ@1d)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_fxy",
      "name": "SL: Below Support[2] (FXY@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xlp",
      "name": "SL: Below Support[2] (XLP@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_xlu",
      "name": "SL: Below Support[2] (XLU@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:QQQ",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_qqq",
      "name": "TP: Near Resistance[1] (QQQ@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:QQQ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FXY",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_fxy",
      "name": "TP: Near Resistance[1] (FXY@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:FXY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_xlp",
      "name": "TP: Near Resistance[1] (XLP@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XLU",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_4_xlu",
      "name": "TP: Near Resistance[1] (XLU@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:XLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.425
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "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.85
          }
        }
      ],
      "enabled": true,
      "id": "exit_6",
      "name": "Take Profit at 4.8%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "resistance_stop_rank": 1,
      "risk_percent": 2.425,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'JPMorgan flags about $103 billion of bets against the yen that could unwind in a rush if the yen strengthens past 155 — and that forced buying pushes the yen up further regardless of fundamentals. The second report warns Japan is heading toward a policy s'. Thesis: JPMorgan flags about $103 billion of bets against the yen that could unwind in a rush if the yen strengthens past 155 — and that forced buying pushes the yen up further regardless of fundamentals. The second report warns Japan is heading toward a policy shift not seen since 1990, meaning the cheap yen money that has propped up US stocks gets expensive. When carry trades unwind, the crowded, high-multiple growth names tend to fall hardest while staples and utilities hold up. Rotating into defensives when the yen breaks that level captures the risk-off move without trying to time the whole market.

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