Boeing hits the brakes while defense spending soars — long Lockheed Martin
Created
Thesis
Boeing's decision to shelve a new commercial jet for years hands massive market share and pricing power to its only real rival, Airbus. At the same time, global military demand is at multi-decade highs and Lockheed is innovating on cost to capture that surge. Buying top-tier defense names while a struggling competitor like Boeing hits multi-year lows offers a compelling risk/reward skew.
Strategy approach
Build a rule-based strategy that goes long LMT and EADSF on D1 when the following conditions are met: LMT is above its 50-day moving average and BA is below its 50-day moving average. Enter when the 10-day moving average of LMT crosses above its 20-day moving average. Exit if LMT closes below its 20-day moving average or after a 30-day holding period.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
EADSF · 1d
1 of 3 published entry conditions marked met.
- SMA (8) crossed above SMA (20) — near
- Price above SMA (50) — met
- Price below SMA (50) — far
- Price below SMA (20) — near
LMT · 1d
1 of 3 published entry conditions marked met.
- SMA (8) crossed above SMA (20) — near
- Price above SMA (50) — far
- Price below SMA (50) — met
- Price below SMA (20) — met
Entry and exit at a glance
These are the named rules in the shared configuration. Review the full conditions below before using a strategy.
- Entry: SMA(10) Cross Above SMA(20) While LMT Trend Up and BA Trend Down (LMT@1d) (3 conditions)
- Entry: SMA(10) Cross Above SMA(20) While LMT Trend Up and BA Trend Down (EADSF@1d) (3 conditions)
- Exit: Signal Exit: Close Below SMA(20) (LMT@1d) (1 condition)
- Exit: Time Stop: 30 Bars (LMT@1d) (1 condition)
- Exit: Signal Exit: Close Below SMA(20) (EADSF@1d) (1 condition)
- Exit: Time Stop: 30 Bars (EADSF@1d) (1 condition)
- Exit: Stop Loss at 2.3% (1 condition)
- Exit: Take Profit at 4.6% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
{
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
{
"symbol": "STOCK:BA",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 8
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_lmt",
"name": "SMA(10) Cross Above SMA(20) While LMT Trend Up and BA Trend Down (LMT@1d)",
"priority": 1,
"trade_symbol": "STOCK:LMT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 8
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_eadsf",
"name": "SMA(10) Cross Above SMA(20) While LMT Trend Up and BA Trend Down (EADSF@1d)",
"priority": 2,
"trade_symbol": "STOCK:EADSF"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_lmt",
"name": "Signal Exit: Close Below SMA(20) (LMT@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "STOCK:LMT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 30
}
}
],
"enabled": true,
"id": "exit_2_lmt",
"name": "Time Stop: 30 Bars (LMT@1d)",
"priority": 2,
"purpose": "signal",
"target_symbol": "STOCK:LMT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_eadsf",
"name": "Signal Exit: Close Below SMA(20) (EADSF@1d)",
"priority": 3,
"purpose": "signal",
"target_symbol": "STOCK:EADSF"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 30
}
}
],
"enabled": true,
"id": "exit_2_eadsf",
"name": "Time Stop: 30 Bars (EADSF@1d)",
"priority": 4,
"purpose": "signal",
"target_symbol": "STOCK:EADSF"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.29
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Stop Loss at 2.3%",
"priority": 100,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 4.58
}
}
],
"enabled": true,
"id": "exit_6",
"name": "Take Profit at 4.6%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 786,
"risk_percent": 2.29,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "sma",
"period": 10
},
{
"name": "sma",
"period": 50
},
{
"name": "sma",
"period": 20
},
{
"name": "sma",
"period": 10
},
{
"name": "sma",
"period": 50
},
{
"name": "sma",
"period": 20
},
{
"name": "sma",
"period": 10
},
{
"name": "sma",
"period": 50
},
{
"name": "sma",
"period": 20
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
{
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
{
"symbol": "STOCK:BA",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 8
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_lmt",
"name": "SMA(10) Cross Above SMA(20) While LMT Trend Up and BA Trend Down (LMT@1d)",
"priority": 1,
"trade_symbol": "STOCK:LMT"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 8
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:BA",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 50
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_eadsf",
"name": "SMA(10) Cross Above SMA(20) While LMT Trend Up and BA Trend Down (EADSF@1d)",
"priority": 2,
"trade_symbol": "STOCK:EADSF"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:LMT",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_lmt",
"name": "Signal Exit: Close Below SMA(20) (LMT@1d)",
"priority": 1,
"purpose": "signal",
"target_symbol": "STOCK:LMT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 30
}
}
],
"enabled": true,
"id": "exit_2_lmt",
"name": "Time Stop: 30 Bars (LMT@1d)",
"priority": 2,
"purpose": "signal",
"target_symbol": "STOCK:LMT"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:EADSF",
"timeframe": "1d"
},
"indicator": {
"name": "sma",
"period": 20
},
"type": "indicator"
}
}
],
"enabled": true,
"id": "exit_1_eadsf",
"name": "Signal Exit: Close Below SMA(20) (EADSF@1d)",
"priority": 3,
"purpose": "signal",
"target_symbol": "STOCK:EADSF"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 30
}
}
],
"enabled": true,
"id": "exit_2_eadsf",
"name": "Time Stop: 30 Bars (EADSF@1d)",
"priority": 4,
"purpose": "signal",
"target_symbol": "STOCK:EADSF"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.29
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Stop Loss at 2.3%",
"priority": 100,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 4.58
}
}
],
"enabled": true,
"id": "exit_6",
"name": "Take Profit at 4.6%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 25,
"method": {
"fib_stop_ratio": 786,
"risk_percent": 2.29,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Boeing hits the brakes while defense spending soars — long Lockheed Martin'. Thesis: Boeing's decision to shelve a new commercial jet for years hands massive market share and pricing power to its only real rival, Airbus. At the same time, global military demand is at multi-decade highs and Lockheed is innovating on cost to capture that surge. Buying top-tier defense names while a struggling competitor like Boeing hits multi-year lows offers a compelling risk/reward skew.
Performance
No trade count, win rate, or realized P&L figures are provided in this public preview. The thesis and shared rules do not establish a performance record.
What this public preview can establish
- The dated rule snapshot above shows the conditions evaluated at that time. It does not prove a current trigger or executed trade.
- Technical strategy fields are shared above. Inspect the actual conditions and check when they were evaluated before relying on them.
- No trade count, win rate, or P&L figure is published in this preview. It cannot establish a performance record.
Explore
How CommonQuant researches and tests strategies · Public paper-trading record and its limits · Discover public strategies