Loading…
Public trading strategy

Micron profit growth approaching 1,000% — ride the earnings momentum

Created

Thesis

Micron is signaling extraordinary profit growth right now, driven heavily by demand for memory chips in AI technology. When a tech company shows this kind of explosive, highly profitable growth, investors tend to pile in both before and after the actual earnings report. We want to ride that wave of optimism. We'll stay in the trade as long as the stock maintains its upward momentum, but we'll cut our losses if the stock price starts dropping below its recent average.

Strategy approach

Build a rule-based strategy that enters long MU on D1 when the stock closes higher than the previous day's close on above-average volume (volume > 20-day SMA volume). Exit if the stock closes below the 20-day simple moving average, or hold for a maximum of 15 trading days. Set a 5% trailing stop loss.

Markets and timeframes

MUD1

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: SMA/OBV Signal Long (MU@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (AAPL@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (MSFT@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (NVDA@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (GOOGL@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (META@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (AMZN@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (AMD@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (WDC@1d) (3 conditions)
  • Entry: SMA/OBV Signal Long (STX@1d) (3 conditions)
  • Exit: Position Exit Rule (MU@1d) (1 condition)
  • Exit: Position Exit Rule (AAPL@1d) (1 condition)
  • Exit: Position Exit Rule (MSFT@1d) (1 condition)
  • Exit: Position Exit Rule (NVDA@1d) (1 condition)
  • Exit: Position Exit Rule (GOOGL@1d) (1 condition)
  • Exit: Position Exit Rule (META@1d) (1 condition)
  • Exit: Position Exit Rule (AMZN@1d) (1 condition)
  • Exit: Position Exit Rule (AMD@1d) (1 condition)
  • Exit: Position Exit Rule (WDC@1d) (1 condition)
  • Exit: Position Exit Rule (STX@1d) (1 condition)
  • Exit: Stop Loss at 5.0% (1 condition)
  • Exit: Take Profit at 10.0% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "MU",
      "timeframe": "1d"
    },
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "MSFT",
      "timeframe": "1d"
    },
    {
      "symbol": "NVDA",
      "timeframe": "1d"
    },
    {
      "symbol": "GOOGL",
      "timeframe": "1d"
    },
    {
      "symbol": "META",
      "timeframe": "1d"
    },
    {
      "symbol": "AMZN",
      "timeframe": "1d"
    },
    {
      "symbol": "AMD",
      "timeframe": "1d"
    },
    {
      "symbol": "WDC",
      "timeframe": "1d"
    },
    {
      "symbol": "STX",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_mu",
      "name": "SMA/OBV Signal Long (MU@1d)",
      "priority": 1,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_aapl",
      "name": "SMA/OBV Signal Long (AAPL@1d)",
      "priority": 2,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_msft",
      "name": "SMA/OBV Signal Long (MSFT@1d)",
      "priority": 3,
      "trade_symbol": "MSFT"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_nvda",
      "name": "SMA/OBV Signal Long (NVDA@1d)",
      "priority": 4,
      "trade_symbol": "NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_googl",
      "name": "SMA/OBV Signal Long (GOOGL@1d)",
      "priority": 5,
      "trade_symbol": "GOOGL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_meta",
      "name": "SMA/OBV Signal Long (META@1d)",
      "priority": 6,
      "trade_symbol": "META"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_amzn",
      "name": "SMA/OBV Signal Long (AMZN@1d)",
      "priority": 7,
      "trade_symbol": "AMZN"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_amd",
      "name": "SMA/OBV Signal Long (AMD@1d)",
      "priority": 8,
      "trade_symbol": "AMD"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_wdc",
      "name": "SMA/OBV Signal Long (WDC@1d)",
      "priority": 9,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_stx",
      "name": "SMA/OBV Signal Long (STX@1d)",
      "priority": 10,
      "trade_symbol": "STX"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_mu",
      "name": "Position Exit Rule (MU@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "MU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_aapl",
      "name": "Position Exit Rule (AAPL@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_msft",
      "name": "Position Exit Rule (MSFT@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "MSFT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nvda",
      "name": "Position Exit Rule (NVDA@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_googl",
      "name": "Position Exit Rule (GOOGL@1d)",
      "priority": 5,
      "purpose": "signal",
      "target_symbol": "GOOGL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_meta",
      "name": "Position Exit Rule (META@1d)",
      "priority": 6,
      "purpose": "signal",
      "target_symbol": "META"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_amzn",
      "name": "Position Exit Rule (AMZN@1d)",
      "priority": 7,
      "purpose": "signal",
      "target_symbol": "AMZN"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_amd",
      "name": "Position Exit Rule (AMD@1d)",
      "priority": 8,
      "purpose": "signal",
      "target_symbol": "AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_wdc",
      "name": "Position Exit Rule (WDC@1d)",
      "priority": 9,
      "purpose": "signal",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_stx",
      "name": "Position Exit Rule (STX@1d)",
      "priority": 10,
      "purpose": "signal",
      "target_symbol": "STX"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "Stop Loss at 5.0%",
      "priority": 10,
      "purpose": "stop_loss"
    },
    {
      "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_3",
      "name": "Take Profit at 10.0%",
      "priority": 11,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 10,
    "method": {
      "risk_percent": 2,
      "stop_loss_percent": 5,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "obv"
    },
    {
      "name": "sma",
      "period": 50
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "MU",
      "timeframe": "1d"
    },
    {
      "symbol": "AAPL",
      "timeframe": "1d"
    },
    {
      "symbol": "MSFT",
      "timeframe": "1d"
    },
    {
      "symbol": "NVDA",
      "timeframe": "1d"
    },
    {
      "symbol": "GOOGL",
      "timeframe": "1d"
    },
    {
      "symbol": "META",
      "timeframe": "1d"
    },
    {
      "symbol": "AMZN",
      "timeframe": "1d"
    },
    {
      "symbol": "AMD",
      "timeframe": "1d"
    },
    {
      "symbol": "WDC",
      "timeframe": "1d"
    },
    {
      "symbol": "STX",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_mu",
      "name": "SMA/OBV Signal Long (MU@1d)",
      "priority": 1,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_aapl",
      "name": "SMA/OBV Signal Long (AAPL@1d)",
      "priority": 2,
      "trade_symbol": "AAPL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_msft",
      "name": "SMA/OBV Signal Long (MSFT@1d)",
      "priority": 3,
      "trade_symbol": "MSFT"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_nvda",
      "name": "SMA/OBV Signal Long (NVDA@1d)",
      "priority": 4,
      "trade_symbol": "NVDA"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_googl",
      "name": "SMA/OBV Signal Long (GOOGL@1d)",
      "priority": 5,
      "trade_symbol": "GOOGL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_meta",
      "name": "SMA/OBV Signal Long (META@1d)",
      "priority": 6,
      "trade_symbol": "META"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_amzn",
      "name": "SMA/OBV Signal Long (AMZN@1d)",
      "priority": 7,
      "trade_symbol": "AMZN"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_amd",
      "name": "SMA/OBV Signal Long (AMD@1d)",
      "priority": 8,
      "trade_symbol": "AMD"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_wdc",
      "name": "SMA/OBV Signal Long (WDC@1d)",
      "priority": 9,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "field": "open",
            "type": "price"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "obv"
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_stx",
      "name": "SMA/OBV Signal Long (STX@1d)",
      "priority": 10,
      "trade_symbol": "STX"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_mu",
      "name": "Position Exit Rule (MU@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "MU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "AAPL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_aapl",
      "name": "Position Exit Rule (AAPL@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "AAPL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "MSFT",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_msft",
      "name": "Position Exit Rule (MSFT@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "MSFT"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "NVDA",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nvda",
      "name": "Position Exit Rule (NVDA@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "NVDA"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "GOOGL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_googl",
      "name": "Position Exit Rule (GOOGL@1d)",
      "priority": 5,
      "purpose": "signal",
      "target_symbol": "GOOGL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "META",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_meta",
      "name": "Position Exit Rule (META@1d)",
      "priority": 6,
      "purpose": "signal",
      "target_symbol": "META"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "AMZN",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_amzn",
      "name": "Position Exit Rule (AMZN@1d)",
      "priority": 7,
      "purpose": "signal",
      "target_symbol": "AMZN"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "AMD",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_amd",
      "name": "Position Exit Rule (AMD@1d)",
      "priority": 8,
      "purpose": "signal",
      "target_symbol": "AMD"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_wdc",
      "name": "Position Exit Rule (WDC@1d)",
      "priority": 9,
      "purpose": "signal",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "STX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 20
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_stx",
      "name": "Position Exit Rule (STX@1d)",
      "priority": 10,
      "purpose": "signal",
      "target_symbol": "STX"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "enabled": true,
      "id": "exit_2",
      "name": "Stop Loss at 5.0%",
      "priority": 10,
      "purpose": "stop_loss"
    },
    {
      "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_3",
      "name": "Take Profit at 10.0%",
      "priority": 11,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 10,
    "method": {
      "risk_percent": 2,
      "stop_loss_percent": 5,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Micron profit growth approaching 1,000% — ride the earnings momentum'. Thesis: Micron is signaling extraordinary profit growth right now, driven heavily by demand for memory chips in AI technology. When a tech company shows this kind of explosive, highly profitable growth, investors tend to pile in both before and after the actual earnings report. We want to ride that wave of optimism. We'll stay in the trade as long as the stock maintains its upward momentum, but we'll cut our losses if the stock price starts dropping below its recent average.

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