Loading…
Public trading strategy

Middle East peace boosts global travel — Goldman says buy the airline merger win

Created

Thesis

Airline stocks thrive when the economy is stable and people feel confident traveling, which is exactly the environment created by the new Middle East peace deal. When a major bank like Goldman Sachs explicitly upgrades a stock because of a merger, it signals that Wall Street sees clear, easy profits ahead for the sector. Buying into major airlines captures both the optimism of returning travelers and the financial efficiency benefits of industry mergers.

Strategy approach

Build a momentum strategy that enters long on major airline stocks (JBLU, DAL, LUV) on the daily timeframe when the stock price breaks above the 50-day Simple Moving Average (SMA) and the 14-day Average Directional Index (ADX) is above 25, indicating a strong trend. Exit if the price falls below the 50-day SMA.

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: SMA/ADX Crossover Long (DAL@1d) (2 conditions)
  • Entry: SMA/ADX Crossover Long (JBLU@1d) (2 conditions)
  • Entry: SMA/ADX Crossover Long (LUV@1d) (2 conditions)
  • Exit: Position Exit Rule (DAL@1d) (1 condition)
  • Exit: SL: Position Exit Rule (DAL@1d) (1 condition)
  • Exit: TP: Position Exit Rule (DAL@1d) (1 condition)
  • Exit: Position Exit Rule (JBLU@1d) (1 condition)
  • Exit: SL: Position Exit Rule (JBLU@1d) (1 condition)
  • Exit: TP: Position Exit Rule (JBLU@1d) (1 condition)
  • Exit: Position Exit Rule (LUV@1d) (1 condition)
  • Exit: SL: Position Exit Rule (LUV@1d) (1 condition)
  • Exit: TP: Position Exit Rule (LUV@1d) (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "DAL",
      "timeframe": "1d"
    },
    {
      "symbol": "JBLU",
      "timeframe": "1d"
    },
    {
      "symbol": "LUV",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_dal",
      "name": "SMA/ADX Crossover Long (DAL@1d)",
      "priority": 1,
      "trade_symbol": "DAL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "JBLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "JBLU",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_jblu",
      "name": "SMA/ADX Crossover Long (JBLU@1d)",
      "priority": 2,
      "trade_symbol": "JBLU"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "LUV",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "LUV",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_luv",
      "name": "SMA/ADX Crossover Long (LUV@1d)",
      "priority": 3,
      "trade_symbol": "LUV"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_dal",
      "name": "Position Exit Rule (DAL@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Subtract",
            "right": {
              "left": {
                "type": "constant",
                "value": 2
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "DAL",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "stop_dal",
      "name": "SL: Position Exit Rule (DAL@1d)",
      "priority": 2,
      "purpose": "stop_loss",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Add",
            "right": {
              "left": {
                "type": "constant",
                "value": 3
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "DAL",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "tp_dal",
      "name": "TP: Position Exit Rule (DAL@1d)",
      "priority": 3,
      "purpose": "take_profit",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "JBLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_jblu",
      "name": "Position Exit Rule (JBLU@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "JBLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Subtract",
            "right": {
              "left": {
                "type": "constant",
                "value": 2
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "JBLU",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "stop_jblu",
      "name": "SL: Position Exit Rule (JBLU@1d)",
      "priority": 2,
      "purpose": "stop_loss",
      "target_symbol": "JBLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Add",
            "right": {
              "left": {
                "type": "constant",
                "value": 3
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "JBLU",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "tp_jblu",
      "name": "TP: Position Exit Rule (JBLU@1d)",
      "priority": 3,
      "purpose": "take_profit",
      "target_symbol": "JBLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "LUV",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_luv",
      "name": "Position Exit Rule (LUV@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "LUV"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Subtract",
            "right": {
              "left": {
                "type": "constant",
                "value": 2
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "LUV",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "stop_luv",
      "name": "SL: Position Exit Rule (LUV@1d)",
      "priority": 2,
      "purpose": "stop_loss",
      "target_symbol": "LUV"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Add",
            "right": {
              "left": {
                "type": "constant",
                "value": 3
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "LUV",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "tp_luv",
      "name": "TP: Position Exit Rule (LUV@1d)",
      "priority": 3,
      "purpose": "take_profit",
      "target_symbol": "LUV"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "atr",
      "period": 14
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "atr",
      "period": 14
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "atr",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "DAL",
      "timeframe": "1d"
    },
    {
      "symbol": "JBLU",
      "timeframe": "1d"
    },
    {
      "symbol": "LUV",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_dal",
      "name": "SMA/ADX Crossover Long (DAL@1d)",
      "priority": 1,
      "trade_symbol": "DAL"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "JBLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "JBLU",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_jblu",
      "name": "SMA/ADX Crossover Long (JBLU@1d)",
      "priority": 2,
      "trade_symbol": "JBLU"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "LUV",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "LUV",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_luv",
      "name": "SMA/ADX Crossover Long (LUV@1d)",
      "priority": 3,
      "trade_symbol": "LUV"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "DAL",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_dal",
      "name": "Position Exit Rule (DAL@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Subtract",
            "right": {
              "left": {
                "type": "constant",
                "value": 2
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "DAL",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "stop_dal",
      "name": "SL: Position Exit Rule (DAL@1d)",
      "priority": 2,
      "purpose": "stop_loss",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Add",
            "right": {
              "left": {
                "type": "constant",
                "value": 3
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "DAL",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "tp_dal",
      "name": "TP: Position Exit Rule (DAL@1d)",
      "priority": 3,
      "purpose": "take_profit",
      "target_symbol": "DAL"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "JBLU",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_jblu",
      "name": "Position Exit Rule (JBLU@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "JBLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Subtract",
            "right": {
              "left": {
                "type": "constant",
                "value": 2
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "JBLU",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "stop_jblu",
      "name": "SL: Position Exit Rule (JBLU@1d)",
      "priority": 2,
      "purpose": "stop_loss",
      "target_symbol": "JBLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Add",
            "right": {
              "left": {
                "type": "constant",
                "value": 3
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "JBLU",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "tp_jblu",
      "name": "TP: Position Exit Rule (JBLU@1d)",
      "priority": 3,
      "purpose": "take_profit",
      "target_symbol": "JBLU"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_below",
          "right": {
            "chart_ref": {
              "symbol": "LUV",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_luv",
      "name": "Position Exit Rule (LUV@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "LUV"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Subtract",
            "right": {
              "left": {
                "type": "constant",
                "value": 2
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "LUV",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "stop_luv",
      "name": "SL: Position Exit Rule (LUV@1d)",
      "priority": 2,
      "purpose": "stop_loss",
      "target_symbol": "LUV"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "left": {
              "field": "entry_price",
              "type": "position"
            },
            "op": "Add",
            "right": {
              "left": {
                "type": "constant",
                "value": 3
              },
              "op": "Multiply",
              "right": {
                "chart_ref": {
                  "symbol": "LUV",
                  "timeframe": "1d"
                },
                "field": "value",
                "indicator": {
                  "name": "atr",
                  "period": 14
                },
                "type": "indicator"
              },
              "type": "arithmetic"
            },
            "type": "arithmetic"
          }
        }
      ],
      "enabled": true,
      "id": "tp_luv",
      "name": "TP: Position Exit Rule (LUV@1d)",
      "priority": 3,
      "purpose": "take_profit",
      "target_symbol": "LUV"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2,
      "support_stop_rank": 1,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'Middle East peace boosts global travel — Goldman says buy the airline merger winner'. Thesis: Airline stocks thrive when the economy is stable and people feel confident traveling, which is exactly the environment created by the new Middle East peace deal. When a major bank like Goldman Sachs explicitly upgrades a stock because of a merger, it signals that Wall Street sees clear, easy profits ahead for the sector. Buying into major airlines captures both the optimism of returning travelers and the financial efficiency benefits of industry mergers.

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