Loading…
Public trading strategy

Micron quadrupled this year and earnings are imminent — ride the memory chip ral

Created

Thesis

Micron is at the center of the AI hardware boom, with Wall Street expecting earnings to surge nearly 10x year-over-year. They just landed a major deal with Anthropic, a leading AI startup, proving demand is real. When one memory chip company rips higher like this, it typically lifts the entire sector, which explains why Western Digital and SanDisk are also rallying. If Micron's earnings report impresses, these stocks could keep climbing.

Strategy approach

Build a rule-based strategy that enters long MU on H4 when RSI(14) > 55, MACD histogram > 0, and price is within 5% of its 20-day high. Also monitor WDC and SNDK for similar breakout entries. Exit conditions: 5% trailing stop, or close if price drops below the 10-day EMA. Max hold time: 14 days.

Markets and timeframes

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/MACD/DONCHIAN Crossover Long (MU@4h) (5 conditions)
  • Entry: RSI/MACD/DONCHIAN Crossover Long (WDC@4h) (5 conditions)
  • Entry: RSI/MACD/DONCHIAN Crossover Long (SNDK@4h) (5 conditions)
  • Entry: RSI/MACD Signal Long (MU@4h) (3 conditions)
  • Entry: RSI/MACD Signal Long (WDC@4h) (3 conditions)
  • Entry: RSI/MACD Signal Long (SNDK@4h) (3 conditions)
  • Entry: Crossover Long (MU@4h) (1 condition)
  • Entry: Crossover Long (WDC@4h) (1 condition)
  • Entry: Crossover Long (SNDK@4h) (1 condition)
  • Exit: Position Exit Rule (MU@4h) (1 condition)
  • Exit: Position Exit Rule (WDC@4h) (1 condition)
  • Exit: Position Exit Rule (SNDK@4h) (1 condition)
  • Exit: TP: Fib Extension 127.2% (MU@4h) (1 condition)
  • Exit: TP: Fib Extension 127.2% (WDC@4h) (1 condition)
  • Exit: TP: Fib Extension 127.2% (SNDK@4h) (1 condition)
  • Exit: SL: Below Support[1] (MU@4h) (1 condition)
  • Exit: SL: Below Support[1] (WDC@4h) (1 condition)
  • Exit: SL: Below Support[1] (SNDK@4h) (1 condition)
  • Exit: Stop Loss at 2.6% (1 condition)
  • Exit: Take Profit at 5.2% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "MU",
      "timeframe": "4h"
    },
    {
      "symbol": "WDC",
      "timeframe": "4h"
    },
    {
      "symbol": "SNDK",
      "timeframe": "4h"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_mu",
      "name": "RSI/MACD/DONCHIAN Crossover Long (MU@4h)",
      "priority": 1,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_wdc",
      "name": "RSI/MACD/DONCHIAN Crossover Long (WDC@4h)",
      "priority": 2,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_sndk",
      "name": "RSI/MACD/DONCHIAN Crossover Long (SNDK@4h)",
      "priority": 3,
      "trade_symbol": "SNDK"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_mu",
      "name": "RSI/MACD Signal Long (MU@4h)",
      "priority": 2,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_wdc",
      "name": "RSI/MACD Signal Long (WDC@4h)",
      "priority": 3,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_sndk",
      "name": "RSI/MACD Signal Long (SNDK@4h)",
      "priority": 4,
      "trade_symbol": "SNDK"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_mu",
      "name": "Crossover Long (MU@4h)",
      "priority": 2,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_wdc",
      "name": "Crossover Long (WDC@4h)",
      "priority": 3,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_sndk",
      "name": "Crossover Long (SNDK@4h)",
      "priority": 4,
      "trade_symbol": "SNDK"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "ema",
              "period": 10
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_mu",
      "name": "Position Exit Rule (MU@4h)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "MU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "ema",
              "period": 10
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_wdc",
      "name": "Position Exit Rule (WDC@4h)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "ema",
              "period": 10
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_sndk",
      "name": "Position Exit Rule (SNDK@4h)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "SNDK"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_mu",
      "name": "TP: Fib Extension 127.2% (MU@4h)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "MU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_wdc",
      "name": "TP: Fib Extension 127.2% (WDC@4h)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_sndk",
      "name": "TP: Fib Extension 127.2% (SNDK@4h)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "SNDK"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_mu",
      "name": "SL: Below Support[1] (MU@4h)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "MU"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_wdc",
      "name": "SL: Below Support[1] (WDC@4h)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_sndk",
      "name": "SL: Below Support[1] (SNDK@4h)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "SNDK"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.5924
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.6%",
      "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.1848
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.2%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 382,
      "risk_percent": 2.5924,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "4h",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "rsi",
      "period": 14
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 10
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 10
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    },
    {
      "name": "ema",
      "period": 10
    },
    {
      "name": "donchian",
      "period": 20
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "MU",
      "timeframe": "4h"
    },
    {
      "symbol": "WDC",
      "timeframe": "4h"
    },
    {
      "symbol": "SNDK",
      "timeframe": "4h"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_mu",
      "name": "RSI/MACD/DONCHIAN Crossover Long (MU@4h)",
      "priority": 1,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_wdc",
      "name": "RSI/MACD/DONCHIAN Crossover Long (WDC@4h)",
      "priority": 2,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 1
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_sndk",
      "name": "RSI/MACD/DONCHIAN Crossover Long (SNDK@4h)",
      "priority": 3,
      "trade_symbol": "SNDK"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_mu",
      "name": "RSI/MACD Signal Long (MU@4h)",
      "priority": 2,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_wdc",
      "name": "RSI/MACD Signal Long (WDC@4h)",
      "priority": 3,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 55
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": -5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_sndk",
      "name": "RSI/MACD Signal Long (SNDK@4h)",
      "priority": 4,
      "trade_symbol": "SNDK"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_mu",
      "name": "Crossover Long (MU@4h)",
      "priority": 2,
      "trade_symbol": "MU"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_wdc",
      "name": "Crossover Long (WDC@4h)",
      "priority": 3,
      "trade_symbol": "WDC"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_sndk",
      "name": "Crossover Long (SNDK@4h)",
      "priority": 4,
      "trade_symbol": "SNDK"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "ema",
              "period": 10
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_mu",
      "name": "Position Exit Rule (MU@4h)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "MU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "ema",
              "period": 10
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_wdc",
      "name": "Position Exit Rule (WDC@4h)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "indicator": {
              "name": "ema",
              "period": 10
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_sndk",
      "name": "Position Exit Rule (SNDK@4h)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "SNDK"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "MU",
              "timeframe": "4h"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_mu",
      "name": "TP: Fib Extension 127.2% (MU@4h)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "MU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "WDC",
              "timeframe": "4h"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_wdc",
      "name": "TP: Fib Extension 127.2% (WDC@4h)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "SNDK",
              "timeframe": "4h"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_sndk",
      "name": "TP: Fib Extension 127.2% (SNDK@4h)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "SNDK"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_mu",
      "name": "SL: Below Support[1] (MU@4h)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "MU"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_wdc",
      "name": "SL: Below Support[1] (WDC@4h)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "WDC"
    },
    {
      "applies_to": "long",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_sndk",
      "name": "SL: Below Support[1] (SNDK@4h)",
      "priority": 102,
      "purpose": "stop_loss",
      "target_symbol": "SNDK"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.5924
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Stop Loss at 2.6%",
      "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.1848
          }
        }
      ],
      "enabled": true,
      "id": "exit_5",
      "name": "Take Profit at 5.2%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 382,
      "risk_percent": 2.5924,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "4h",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Micron quadrupled this year and earnings are imminent — ride the memory chip rally'. Thesis: Micron is at the center of the AI hardware boom, with Wall Street expecting earnings to surge nearly 10x year-over-year. They just landed a major deal with Anthropic, a leading AI startup, proving demand is real. When one memory chip company rips higher like this, it typically lifts the entire sector, which explains why Western Digital and SanDisk are also rallying. If Micron's earnings report impresses, these stocks could keep climbing.

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