Loading…
Public trading strategy

Eli Lilly's new weight-loss drug wows Wall Street — ride the breakout higher

Created

Thesis

Eli Lilly is already a dominant player in the obesity drug market, but these strong trial results confirm their pipeline has staying power against competitors. Analysts at major banks have pointed out that the company's portfolio is well-diversified and not reliant on just one hit product. When a company beating expectations this significantly, institutional money usually flows in over the following days and weeks as portfolios rebalance, driving the price even higher.

Strategy approach

Build a momentum strategy for LLY on the daily timeframe. Enter long when the stock closes above its 5-day high, with an entry condition requiring the daily RSI(14) to be above 60. Exit the position if the stock closes below its 10-day moving average, or use a 5% trailing stop, whichever triggers first. Cap the holding period at 15 trading days.

Markets and timeframes

LLY1D

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/RSI Crossover Long (LLY@1d) (3 conditions)
  • Exit: Stop Loss at 5.0% (LLY@1d) (2 conditions)
  • Exit: TP: Fib Extension 127.2% (LLY@1d) (1 condition)
  • Exit: SL: Below Support[1] (LLY@1d) (1 condition)
  • Exit: Take Profit at 10.0% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:LLY",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1",
      "name": "DONCHIAN/RSI Crossover Long (LLY@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:LLY"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 10
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "Stop Loss at 5.0% (LLY@1d)",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "TP: Fib Extension 127.2% (LLY@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:LLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "SL: Below Support[1] (LLY@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:LLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 10
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 10.0%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.4211666666666667,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "donchian",
      "period": 5
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "sma",
      "period": 10
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:LLY",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 5
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 60
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1",
      "name": "DONCHIAN/RSI Crossover Long (LLY@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:LLY"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 10
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "enabled": true,
      "id": "exit_1",
      "name": "Stop Loss at 5.0% (LLY@1d)",
      "priority": 1,
      "purpose": "signal"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:LLY",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "TP: Fib Extension 127.2% (LLY@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:LLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "SL: Below Support[1] (LLY@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "STOCK:LLY"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 10
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 10.0%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2.4211666666666667,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Eli Lilly's new weight-loss drug wows Wall Street — ride the breakout higher'. Thesis: Eli Lilly is already a dominant player in the obesity drug market, but these strong trial results confirm their pipeline has staying power against competitors. Analysts at major banks have pointed out that the company's portfolio is well-diversified and not reliant on just one hit product. When a company beating expectations this significantly, institutional money usually flows in over the following days and weeks as portfolios rebalance, driving the price even higher.

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 thesis and strategy approach describe a market view. They do not show whether an entry or exit condition is currently met.
  • 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