Loading…
Public trading strategy

Fed hints at rate hikes while Europe cuts — ride the surging U.S. Dollar

Created

Thesis

When the U.S. Federal Reserve talks about raising interest rates while Europe's central bank talks about cutting them, money flows into the dollar to chase those higher returns. A strong dollar means U.S. buying power goes up and European exports get cheaper. This widening gap makes the dollar highly attractive, and betting on that trend continuing is a classic way to play diverging central bank policies.

Strategy approach

Build a trend-following strategy that enters long EURUSD on the H4 timeframe when the 50-period EMA is bearish (price trading below it) but enters long UUP (Invesco DB US Dollar Index Bullish Fund) on the daily timeframe when it makes a new 20-day high and RSI(14) is above 60. Exit either position on a 3% trailing stop. Focus on capturing the momentum of the divergence between US and European monetary policy.

Markets and timeframes

EURUUP1DH4

Latest published rule evaluation

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

UUP · 1d

10 of 20 published entry conditions marked met.

  • Price above 0 — met
  • RSI (14) above 60 — far
  • ADX (14) above 25 — far
  • Donchian (20) above 1 — met
  • Price above 0 — met
  • RSI (14) above 60 — far
  • ADX (14) above 25 — far
  • Donchian (20) above 1 — met
  • Price above 0 — met
  • RSI (14) above 60 — far
  • ADX (14) above 25 — far
  • Donchian (20) above 1 — met
  • Price above 0 — met
  • RSI (14) above 60 — far
  • ADX (14) above 25 — far
  • Donchian (20) above 1 — met
  • Price above 0 — met
  • RSI (14) above 60 — far
  • ADX (14) above 25 — far
  • Donchian (20) above 1 — met
  • Price below EMA (50) — met
  • Price below EMA (50) — met
  • Price below EMA (50) — met
  • Price below EMA (50) — met
  • Price below EMA (50) — met

Entry and exit at a glance

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

  • Entry: RSI/ADX/DONCHIAN Crossover Long (UUP@1d) (5 conditions)
  • Entry: RSI/ADX/DONCHIAN Crossover Long (PG@1d) (5 conditions)
  • Entry: RSI/ADX/DONCHIAN Crossover Long (JNJ@1d) (5 conditions)
  • Entry: RSI/ADX/DONCHIAN Crossover Long (AAPL@1d) (5 conditions)
  • Entry: RSI/ADX/DONCHIAN Crossover Long (PEP@1d) (5 conditions)
  • Exit: Position Exit Rule (UUP@1d) (1 condition)
  • Exit: Position Exit Rule (PG@1d) (1 condition)
  • Exit: Position Exit Rule (JNJ@1d) (1 condition)
  • Exit: Position Exit Rule (AAPL@1d) (1 condition)
  • Exit: Position Exit Rule (PEP@1d) (1 condition)
  • Exit: TP: Near Resistance[2] (UUP@1d) (1 condition)
  • Exit: TP: Near Resistance[2] (PG@1d) (1 condition)
  • Exit: TP: Near Resistance[2] (JNJ@1d) (1 condition)
  • Exit: TP: Near Resistance[2] (AAPL@1d) (1 condition)
  • Exit: TP: Near Resistance[2] (PEP@1d) (1 condition)
  • Exit: SL: Fib Retracement 78.6% (UUP@1d) (1 condition)
  • Exit: SL: Fib Retracement 78.6% (PG@1d) (1 condition)
  • Exit: SL: Fib Retracement 78.6% (JNJ@1d) (1 condition)
  • Exit: SL: Fib Retracement 78.6% (AAPL@1d) (1 condition)
  • Exit: SL: Fib Retracement 78.6% (PEP@1d) (1 condition)
  • Exit: Stop Loss at 2.8% (1 condition)
  • Exit: Take Profit at 5.6% (1 condition)
  • Exit: SL: Below Support[1] (UUP@1d) (1 condition)
  • Exit: SL: Below Support[1] (PG@1d) (1 condition)
  • Exit: SL: Below Support[1] (JNJ@1d) (1 condition)
  • Exit: SL: Below Support[1] (AAPL@1d) (1 condition)
  • Exit: SL: Below Support[1] (PEP@1d) (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "UUP",
      "timeframe": "1d"
    },
    {
      "symbol": "PG",
      "timeframe": "1d"
    },
    {
      "symbol": "JNJ",
      "timeframe": "1d"
    },
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "PEP",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_uup",
      "name": "RSI/ADX/DONCHIAN Crossover Long (UUP@1d)",
      "priority": 1,
      "trade_symbol": "UUP"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_pg",
      "name": "RSI/ADX/DONCHIAN Crossover Long (PG@1d)",
      "priority": 2,
      "trade_symbol": "PG"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_jnj",
      "name": "RSI/ADX/DONCHIAN Crossover Long (JNJ@1d)",
      "priority": 3,
      "trade_symbol": "JNJ"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_aapl",
      "name": "RSI/ADX/DONCHIAN Crossover Long (AAPL@1d)",
      "priority": 4,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_pep",
      "name": "RSI/ADX/DONCHIAN Crossover Long (PEP@1d)",
      "priority": 5,
      "trade_symbol": "PEP"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_uup",
      "name": "Position Exit Rule (UUP@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PG",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_pg",
      "name": "Position Exit Rule (PG@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "PG"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "JNJ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_jnj",
      "name": "Position Exit Rule (JNJ@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_aapl",
      "name": "Position Exit Rule (AAPL@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PEP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_pep",
      "name": "Position Exit Rule (PEP@1d)",
      "priority": 5,
      "purpose": "signal",
      "target_symbol": "PEP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_uup",
      "name": "TP: Near Resistance[2] (UUP@1d)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_pg",
      "name": "TP: Near Resistance[2] (PG@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "PG"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_jnj",
      "name": "TP: Near Resistance[2] (JNJ@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_aapl",
      "name": "TP: Near Resistance[2] (AAPL@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_pep",
      "name": "TP: Near Resistance[2] (PEP@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "PEP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_uup",
      "name": "SL: Fib Retracement 78.6% (UUP@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PG",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_pg",
      "name": "SL: Fib Retracement 78.6% (PG@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "PG"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "JNJ",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_jnj",
      "name": "SL: Fib Retracement 78.6% (JNJ@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_aapl",
      "name": "SL: Fib Retracement 78.6% (AAPL@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PEP",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_pep",
      "name": "SL: Fib Retracement 78.6% (PEP@1d)",
      "priority": 104,
      "purpose": "stop_loss",
      "target_symbol": "PEP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.7868666666666666
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.8%",
      "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": 5.573733333333333
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.6%",
      "priority": 100,
      "purpose": "take_profit"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_uup",
      "name": "SL: Below Support[1] (UUP@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_pg",
      "name": "SL: Below Support[1] (PG@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "PG"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_jnj",
      "name": "SL: Below Support[1] (JNJ@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_aapl",
      "name": "SL: Below Support[1] (AAPL@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_pep",
      "name": "SL: Below Support[1] (PEP@1d)",
      "priority": 104,
      "purpose": "stop_loss",
      "target_symbol": "PEP"
    }
  ],
  "position_sizing": {
    "max_position_percent": 20,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2.7868666666666666,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

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

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "UUP",
      "timeframe": "1d"
    },
    {
      "symbol": "PG",
      "timeframe": "1d"
    },
    {
      "symbol": "JNJ",
      "timeframe": "1d"
    },
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "PEP",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_uup",
      "name": "RSI/ADX/DONCHIAN Crossover Long (UUP@1d)",
      "priority": 1,
      "trade_symbol": "UUP"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_pg",
      "name": "RSI/ADX/DONCHIAN Crossover Long (PG@1d)",
      "priority": 2,
      "trade_symbol": "PG"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_jnj",
      "name": "RSI/ADX/DONCHIAN Crossover Long (JNJ@1d)",
      "priority": 3,
      "trade_symbol": "JNJ"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_aapl",
      "name": "RSI/ADX/DONCHIAN Crossover Long (AAPL@1d)",
      "priority": 4,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 25
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_pep",
      "name": "RSI/ADX/DONCHIAN Crossover Long (PEP@1d)",
      "priority": 5,
      "trade_symbol": "PEP"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_uup",
      "name": "Position Exit Rule (UUP@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PG",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_pg",
      "name": "Position Exit Rule (PG@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "PG"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "JNJ",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_jnj",
      "name": "Position Exit Rule (JNJ@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_aapl",
      "name": "Position Exit Rule (AAPL@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PEP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_pep",
      "name": "Position Exit Rule (PEP@1d)",
      "priority": 5,
      "purpose": "signal",
      "target_symbol": "PEP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_uup",
      "name": "TP: Near Resistance[2] (UUP@1d)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_pg",
      "name": "TP: Near Resistance[2] (PG@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "PG"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_jnj",
      "name": "TP: Near Resistance[2] (JNJ@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_aapl",
      "name": "TP: Near Resistance[2] (AAPL@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_pep",
      "name": "TP: Near Resistance[2] (PEP@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "PEP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "UUP",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_uup",
      "name": "SL: Fib Retracement 78.6% (UUP@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PG",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_pg",
      "name": "SL: Fib Retracement 78.6% (PG@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "PG"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "JNJ",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_jnj",
      "name": "SL: Fib Retracement 78.6% (JNJ@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_aapl",
      "name": "SL: Fib Retracement 78.6% (AAPL@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "PEP",
              "timeframe": "1d"
            },
            "ratio": 786,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_pep",
      "name": "SL: Fib Retracement 78.6% (PEP@1d)",
      "priority": 104,
      "purpose": "stop_loss",
      "target_symbol": "PEP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.7868666666666666
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.8%",
      "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": 5.573733333333333
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.6%",
      "priority": 100,
      "purpose": "take_profit"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_uup",
      "name": "SL: Below Support[1] (UUP@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "UUP"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_pg",
      "name": "SL: Below Support[1] (PG@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "PG"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_jnj",
      "name": "SL: Below Support[1] (JNJ@1d)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "JNJ"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_aapl",
      "name": "SL: Below Support[1] (AAPL@1d)",
      "priority": 103,
      "purpose": "stop_loss",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_6_pep",
      "name": "SL: Below Support[1] (PEP@1d)",
      "priority": 104,
      "purpose": "stop_loss",
      "target_symbol": "PEP"
    }
  ],
  "position_sizing": {
    "max_position_percent": 20,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2.7868666666666666,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Fed hints at rate hikes while Europe cuts — ride the surging U.S. Dollar'. Thesis: When the U.S. Federal Reserve talks about raising interest rates while Europe's central bank talks about cutting them, money flows into the dollar to chase those higher returns. A strong dollar means U.S. buying power goes up and European exports get cheaper. This widening gap makes the dollar highly attractive, and betting on that trend continuing is a classic way to play diverging central bank policies.

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