Loading…
Public trading strategy

Iran peace deal opens oil shipping lanes — ride the wave in emerging market stoc

Created

Thesis

The end of the Strait of Hormuz blockade means global oil prices are dropping fast, which acts like a giant tax cut for the world economy. Developing countries benefit the most from cheaper energy because they rely heavily on imported oil. With this geopolitical pressure removed, international stocks are already breaking out to record highs as investors globally pile back into riskier markets.

Strategy approach

Build a trend-following strategy that enters long EEM on the daily timeframe when the price closes at a 20-day high. Exit conditions: 5% trailing stop, or a 14-day max hold.

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: DONCHIAN/ADX/ATR Crossover Long (EEM@1d) (4 conditions)
  • Entry: DONCHIAN/ADX/ATR Crossover Long (VWO@1d) (4 conditions)
  • Exit: TP: Near Resistance[2] (EEM@1d) (1 condition)
  • Exit: TP: Near Resistance[2] (VWO@1d) (1 condition)
  • Exit: SL: Below Support[1] (EEM@1d) (1 condition)
  • Exit: SL: Below Support[1] (VWO@1d) (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "EEM",
      "timeframe": "1d"
    },
    {
      "symbol": "VWO",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_eem",
      "name": "DONCHIAN/ADX/ATR Crossover Long (EEM@1d)",
      "priority": 1,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_vwo",
      "name": "DONCHIAN/ADX/ATR Crossover Long (VWO@1d)",
      "priority": 2,
      "trade_symbol": "VWO"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_eem",
      "name": "TP: Near Resistance[2] (EEM@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_vwo",
      "name": "TP: Near Resistance[2] (VWO@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "VWO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_eem",
      "name": "SL: Below Support[1] (EEM@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_vwo",
      "name": "SL: Below Support[1] (VWO@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "VWO"
    }
  ],
  "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": "donchian",
      "period": 20
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "atr",
      "period": 14
    },
    {
      "name": "donchian",
      "period": 20
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "atr",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "EEM",
      "timeframe": "1d"
    },
    {
      "symbol": "VWO",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_eem",
      "name": "DONCHIAN/ADX/ATR Crossover Long (EEM@1d)",
      "priority": 1,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "field": "upper",
            "indicator": {
              "name": "donchian",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "field": "adx",
            "indicator": {
              "name": "adx",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 20
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "atr",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 0.5
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_vwo",
      "name": "DONCHIAN/ADX/ATR Crossover Long (VWO@1d)",
      "priority": 2,
      "trade_symbol": "VWO"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_eem",
      "name": "TP: Near Resistance[2] (EEM@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 2,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_vwo",
      "name": "TP: Near Resistance[2] (VWO@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "VWO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_eem",
      "name": "SL: Below Support[1] (EEM@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_vwo",
      "name": "SL: Below Support[1] (VWO@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "VWO"
    }
  ],
  "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 'Iran peace deal opens oil shipping lanes — ride the wave in emerging market stocks'. Thesis: The end of the Strait of Hormuz blockade means global oil prices are dropping fast, which acts like a giant tax cut for the world economy. Developing countries benefit the most from cheaper energy because they rely heavily on imported oil. With this geopolitical pressure removed, international stocks are already breaking out to record highs as investors globally pile back into riskier markets.

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