Loading…
Public trading strategy

US-Iran peace deal opens shipping lanes and sinks oil prices — jump on emerging

Created

Thesis

The breakthrough in the Middle East is a game-changer for global shipping costs because one of the world's most important waterways is finally open again. Falling oil prices directly benefit developing countries, which are often heavy importers of energy. When the cost of energy drops, inflation cools down, consumers have more spending money, and local businesses become more profitable. This creates a perfect environment for emerging market stocks to continue their record-breaking run as global investors look to move their money into these cheaper, fast-growing economies.

Strategy approach

Build a rule-based strategy that enters long on the MSCI Emerging Markets Index ETF (EEM) on the daily chart. Entry: go long when the 50-day SMA crosses above the 200-day SMA (Golden Cross) AND the 14-day RSI is between 50 and 70. Exit: close position if the 14-day RSI exceeds 75 (overbought), or if the price drops below the 20-day SMA. Max hold period: 60 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: SMA/RSI Crossover Long (EEM@1d) (5 conditions)
  • Entry: SMA/RSI Crossover Long (VWO@1d) (5 conditions)
  • Entry: SMA/RSI Crossover Long (EEM@1d) (3 conditions)
  • Entry: SMA/RSI Crossover Long (VWO@1d) (3 conditions)
  • Entry: Long Entry Signal (EEM@1d) (2 conditions)
  • Entry: Long Entry Signal (VWO@1d) (2 conditions)
  • Exit: Overbought RSI Exit (EEM@1d) (2 conditions)
  • Exit: Overbought RSI Exit (VWO@1d) (2 conditions)
  • Exit: TP: Fib Extension 127.2% (EEM@1d) (1 condition)
  • Exit: TP: Fib Extension 127.2% (VWO@1d) (1 condition)
  • Exit: SL: Below Support[2] (EEM@1d) (1 condition)
  • Exit: SL: Below Support[2] (VWO@1d) (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "EEM",
      "timeframe": "1d"
    },
    {
      "symbol": "VWO",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_eem",
      "name": "SMA/RSI Crossover Long (EEM@1d)",
      "priority": 1,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_vwo",
      "name": "SMA/RSI Crossover Long (VWO@1d)",
      "priority": 2,
      "trade_symbol": "VWO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_eem",
      "name": "SMA/RSI Crossover Long (EEM@1d)",
      "priority": 2,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_vwo",
      "name": "SMA/RSI Crossover Long (VWO@1d)",
      "priority": 3,
      "trade_symbol": "VWO"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_eem",
      "name": "Long Entry Signal (EEM@1d)",
      "priority": 2,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_vwo",
      "name": "Long Entry Signal (VWO@1d)",
      "priority": 3,
      "trade_symbol": "VWO"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 75
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_eem",
      "name": "Overbought RSI Exit (EEM@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 75
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_vwo",
      "name": "Overbought RSI Exit (VWO@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "VWO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_eem",
      "name": "TP: Fib Extension 127.2% (EEM@1d)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_vwo",
      "name": "TP: Fib Extension 127.2% (VWO@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "VWO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_eem",
      "name": "SL: Below Support[2] (EEM@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_vwo",
      "name": "SL: Below Support[2] (VWO@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "VWO"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 200
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "sma",
      "period": 50
    },
    {
      "name": "sma",
      "period": 200
    },
    {
      "name": "sma",
      "period": 20
    },
    {
      "name": "rsi",
      "period": 14
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "EEM",
      "timeframe": "1d"
    },
    {
      "symbol": "VWO",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_eem",
      "name": "SMA/RSI Crossover Long (EEM@1d)",
      "priority": 1,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        },
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1_vwo",
      "name": "SMA/RSI Crossover Long (VWO@1d)",
      "priority": 2,
      "trade_symbol": "VWO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_eem",
      "name": "SMA/RSI Crossover Long (EEM@1d)",
      "priority": 2,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 200
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 50
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": 70
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_2_vwo",
      "name": "SMA/RSI Crossover Long (VWO@1d)",
      "priority": 3,
      "trade_symbol": "VWO"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_eem",
      "name": "Long Entry Signal (EEM@1d)",
      "priority": 2,
      "trade_symbol": "EEM"
    },
    {
      "conditions": [
        {
          "left": {
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 618,
            "type": "fibonacci_retracement"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_vwo",
      "name": "Long Entry Signal (VWO@1d)",
      "priority": 3,
      "trade_symbol": "VWO"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 75
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_eem",
      "name": "Overbought RSI Exit (EEM@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "greater_than",
          "right": {
            "type": "constant",
            "value": 75
          }
        },
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_vwo",
      "name": "Overbought RSI Exit (VWO@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "VWO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "EEM",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_eem",
      "name": "TP: Fib Extension 127.2% (EEM@1d)",
      "priority": 96,
      "purpose": "take_profit",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "VWO",
              "timeframe": "1d"
            },
            "ratio": 1272,
            "type": "fibonacci_extension"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_vwo",
      "name": "TP: Fib Extension 127.2% (VWO@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "VWO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_eem",
      "name": "SL: Below Support[2] (EEM@1d)",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "EEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "rank": 2,
            "type": "support_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_3_vwo",
      "name": "SL: Below Support[2] (VWO@1d)",
      "priority": 101,
      "purpose": "stop_loss",
      "target_symbol": "VWO"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "fib_stop_ratio": 786,
      "risk_percent": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'US-Iran peace deal opens shipping lanes and sinks oil prices — jump on emerging market funds'. Thesis: The breakthrough in the Middle East is a game-changer for global shipping costs because one of the world's most important waterways is finally open again. Falling oil prices directly benefit developing countries, which are often heavy importers of energy. When the cost of energy drops, inflation cools down, consumers have more spending money, and local businesses become more profitable. This creates a perfect environment for emerging market stocks to continue their record-breaking run as global investors look to move their money into these cheaper, fast-growing economies.

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