Loading…
Public trading strategy

The strike at Port Hedland directly threatens global iron ore supply, which hist

Created

Thesis

The strike at Port Hedland directly threatens global iron ore supply, which historically drives prices sharply higher as buyers scramble for inventory. At the same time, broader commodity markets are catching a bid from Middle East risk, creating a sympathetic tailwind for industrial materials. Finally, the weak US jobs report effectively takes further interest rate hikes off the table, weakening the dollar and making hard assets like metals much more attractive to hold.

Markets and timeframes

Latest published rule evaluation

Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.

BHP · 1d

20 of 40 published entry conditions marked met.

  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near

VALE · 1d

10 of 40 published entry conditions marked met.

  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price at or below EMA (20) — near
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — far
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near
  • Price below EMA (20) — near
  • Price below Bollinger (20) — near

XME · 1d

20 of 40 published entry conditions marked met.

  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price at or below EMA (20) — far
  • Price above EMA (20) — met
  • RSI (14) crossed above 35 — far
  • ADX (14) above 20 — met
  • Price below EMA (20) — far
  • Price below Bollinger (20) — far
  • Price below EMA (20) — far
  • Price below Bollinger (20) — far
  • Price below EMA (20) — far
  • Price below Bollinger (20) — far
  • Price below EMA (20) — far
  • Price below Bollinger (20) — far
  • Price below EMA (20) — far
  • Price below Bollinger (20) — far

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: EMA/RSI/ADX Crossover Long (BHP@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (VALE@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (XME@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (FCX@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (RIO@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (CLF@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (NEM@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (BHP@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (VALE@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (XME@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (FCX@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (RIO@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (CLF@1d) (4 conditions)
  • Entry: EMA/RSI/ADX Crossover Long (NEM@1d) (4 conditions)
  • Entry: Long Entry Signal (BHP@1d) (2 conditions)
  • Entry: Long Entry Signal (VALE@1d) (2 conditions)
  • Entry: Long Entry Signal (XME@1d) (2 conditions)
  • Entry: Long Entry Signal (FCX@1d) (2 conditions)
  • Entry: Long Entry Signal (RIO@1d) (2 conditions)
  • Entry: Long Entry Signal (CLF@1d) (2 conditions)
  • Entry: Long Entry Signal (NEM@1d) (2 conditions)
  • Exit: Position Exit Rule (BHP@1d) (3 conditions)
  • Exit: Position Exit Rule (VALE@1d) (3 conditions)
  • Exit: Position Exit Rule (XME@1d) (3 conditions)
  • Exit: Position Exit Rule (FCX@1d) (3 conditions)
  • Exit: Position Exit Rule (RIO@1d) (3 conditions)
  • Exit: Position Exit Rule (CLF@1d) (3 conditions)
  • Exit: Position Exit Rule (NEM@1d) (3 conditions)
  • Exit: TP: Near Resistance[1] (BHP@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (VALE@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (XME@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (FCX@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (RIO@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (CLF@1d) (1 condition)
  • Exit: TP: Near Resistance[1] (NEM@1d) (1 condition)
  • Exit: Stop Loss at 2.5% (1 condition)
  • Exit: Take Profit at 5.0% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "STOCK:BHP",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:VALE",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XME",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:FCX",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:RIO",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:CLF",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:NEM",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "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_1_bhp",
      "name": "EMA/RSI/ADX Crossover Long (BHP@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:BHP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "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_1_vale",
      "name": "EMA/RSI/ADX Crossover Long (VALE@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:VALE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "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_1_xme",
      "name": "EMA/RSI/ADX Crossover Long (XME@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:XME"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "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_1_fcx",
      "name": "EMA/RSI/ADX Crossover Long (FCX@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:FCX"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "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_1_rio",
      "name": "EMA/RSI/ADX Crossover Long (RIO@1d)",
      "priority": 5,
      "trade_symbol": "STOCK:RIO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "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_1_clf",
      "name": "EMA/RSI/ADX Crossover Long (CLF@1d)",
      "priority": 6,
      "trade_symbol": "STOCK:CLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "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_1_nem",
      "name": "EMA/RSI/ADX Crossover Long (NEM@1d)",
      "priority": 7,
      "trade_symbol": "STOCK:NEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "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_2_bhp",
      "name": "EMA/RSI/ADX Crossover Long (BHP@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:BHP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "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_2_vale",
      "name": "EMA/RSI/ADX Crossover Long (VALE@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:VALE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "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_2_xme",
      "name": "EMA/RSI/ADX Crossover Long (XME@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:XME"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "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_2_fcx",
      "name": "EMA/RSI/ADX Crossover Long (FCX@1d)",
      "priority": 5,
      "trade_symbol": "STOCK:FCX"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "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_2_rio",
      "name": "EMA/RSI/ADX Crossover Long (RIO@1d)",
      "priority": 6,
      "trade_symbol": "STOCK:RIO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "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_2_clf",
      "name": "EMA/RSI/ADX Crossover Long (CLF@1d)",
      "priority": 7,
      "trade_symbol": "STOCK:CLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "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_2_nem",
      "name": "EMA/RSI/ADX Crossover Long (NEM@1d)",
      "priority": 8,
      "trade_symbol": "STOCK:NEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_bhp",
      "name": "Long Entry Signal (BHP@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:BHP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_vale",
      "name": "Long Entry Signal (VALE@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:VALE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_xme",
      "name": "Long Entry Signal (XME@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:XME"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_fcx",
      "name": "Long Entry Signal (FCX@1d)",
      "priority": 5,
      "trade_symbol": "STOCK:FCX"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_rio",
      "name": "Long Entry Signal (RIO@1d)",
      "priority": 6,
      "trade_symbol": "STOCK:RIO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_clf",
      "name": "Long Entry Signal (CLF@1d)",
      "priority": 7,
      "trade_symbol": "STOCK:CLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_nem",
      "name": "Long Entry Signal (NEM@1d)",
      "priority": 8,
      "trade_symbol": "STOCK:NEM"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_bhp",
      "name": "Position Exit Rule (BHP@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:BHP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_vale",
      "name": "Position Exit Rule (VALE@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:VALE"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xme",
      "name": "Position Exit Rule (XME@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:XME"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_fcx",
      "name": "Position Exit Rule (FCX@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:FCX"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_rio",
      "name": "Position Exit Rule (RIO@1d)",
      "priority": 5,
      "purpose": "signal",
      "target_symbol": "STOCK:RIO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_clf",
      "name": "Position Exit Rule (CLF@1d)",
      "priority": 6,
      "purpose": "signal",
      "target_symbol": "STOCK:CLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nem",
      "name": "Position Exit Rule (NEM@1d)",
      "priority": 7,
      "purpose": "signal",
      "target_symbol": "STOCK:NEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_bhp",
      "name": "TP: Near Resistance[1] (BHP@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:BHP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_vale",
      "name": "TP: Near Resistance[1] (VALE@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:VALE"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xme",
      "name": "TP: Near Resistance[1] (XME@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XME"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_fcx",
      "name": "TP: Near Resistance[1] (FCX@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:FCX"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_rio",
      "name": "TP: Near Resistance[1] (RIO@1d)",
      "priority": 101,
      "purpose": "take_profit",
      "target_symbol": "STOCK:RIO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_clf",
      "name": "TP: Near Resistance[1] (CLF@1d)",
      "priority": 102,
      "purpose": "take_profit",
      "target_symbol": "STOCK:CLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_nem",
      "name": "TP: Near Resistance[1] (NEM@1d)",
      "priority": 103,
      "purpose": "take_profit",
      "target_symbol": "STOCK:NEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.475
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "Stop Loss at 2.5%",
      "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.95
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 5.0%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 14.285714285714286,
    "method": {
      "risk_percent": 2.475,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    },
    {
      "name": "ema",
      "period": 20
    },
    {
      "name": "ema",
      "period": 50
    },
    {
      "name": "rsi",
      "period": 14
    },
    {
      "name": "adx",
      "period": 14
    },
    {
      "name": "bollinger_bands",
      "period": 20,
      "std_dev": 2
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "STOCK:BHP",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:VALE",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:XME",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:FCX",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:RIO",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:CLF",
      "timeframe": "1d"
    },
    {
      "symbol": "STOCK:NEM",
      "timeframe": "1d"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "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_1_bhp",
      "name": "EMA/RSI/ADX Crossover Long (BHP@1d)",
      "priority": 1,
      "trade_symbol": "STOCK:BHP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "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_1_vale",
      "name": "EMA/RSI/ADX Crossover Long (VALE@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:VALE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "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_1_xme",
      "name": "EMA/RSI/ADX Crossover Long (XME@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:XME"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "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_1_fcx",
      "name": "EMA/RSI/ADX Crossover Long (FCX@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:FCX"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "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_1_rio",
      "name": "EMA/RSI/ADX Crossover Long (RIO@1d)",
      "priority": 5,
      "trade_symbol": "STOCK:RIO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "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_1_clf",
      "name": "EMA/RSI/ADX Crossover Long (CLF@1d)",
      "priority": 6,
      "trade_symbol": "STOCK:CLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "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_1_nem",
      "name": "EMA/RSI/ADX Crossover Long (NEM@1d)",
      "priority": 7,
      "trade_symbol": "STOCK:NEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "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_2_bhp",
      "name": "EMA/RSI/ADX Crossover Long (BHP@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:BHP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "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_2_vale",
      "name": "EMA/RSI/ADX Crossover Long (VALE@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:VALE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "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_2_xme",
      "name": "EMA/RSI/ADX Crossover Long (XME@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:XME"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "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_2_fcx",
      "name": "EMA/RSI/ADX Crossover Long (FCX@1d)",
      "priority": 5,
      "trade_symbol": "STOCK:FCX"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "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_2_rio",
      "name": "EMA/RSI/ADX Crossover Long (RIO@1d)",
      "priority": 6,
      "trade_symbol": "STOCK:RIO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "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_2_clf",
      "name": "EMA/RSI/ADX Crossover Long (CLF@1d)",
      "priority": 7,
      "trade_symbol": "STOCK:CLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "rsi",
              "period": 14
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 35
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "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_2_nem",
      "name": "EMA/RSI/ADX Crossover Long (NEM@1d)",
      "priority": 8,
      "trade_symbol": "STOCK:NEM"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_bhp",
      "name": "Long Entry Signal (BHP@1d)",
      "priority": 2,
      "trade_symbol": "STOCK:BHP"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_vale",
      "name": "Long Entry Signal (VALE@1d)",
      "priority": 3,
      "trade_symbol": "STOCK:VALE"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_xme",
      "name": "Long Entry Signal (XME@1d)",
      "priority": 4,
      "trade_symbol": "STOCK:XME"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_fcx",
      "name": "Long Entry Signal (FCX@1d)",
      "priority": 5,
      "trade_symbol": "STOCK:FCX"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_rio",
      "name": "Long Entry Signal (RIO@1d)",
      "priority": 6,
      "trade_symbol": "STOCK:RIO"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_clf",
      "name": "Long Entry Signal (CLF@1d)",
      "priority": 7,
      "trade_symbol": "STOCK:CLF"
    },
    {
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "low",
            "type": "price"
          },
          "operator": "less_than_or_equal",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than",
          "right": {
            "rank": 1,
            "type": "support_level"
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_3_nem",
      "name": "Long Entry Signal (NEM@1d)",
      "priority": 8,
      "trade_symbol": "STOCK:NEM"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_bhp",
      "name": "Position Exit Rule (BHP@1d)",
      "priority": 1,
      "purpose": "signal",
      "target_symbol": "STOCK:BHP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_vale",
      "name": "Position Exit Rule (VALE@1d)",
      "priority": 2,
      "purpose": "signal",
      "target_symbol": "STOCK:VALE"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_xme",
      "name": "Position Exit Rule (XME@1d)",
      "priority": 3,
      "purpose": "signal",
      "target_symbol": "STOCK:XME"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_fcx",
      "name": "Position Exit Rule (FCX@1d)",
      "priority": 4,
      "purpose": "signal",
      "target_symbol": "STOCK:FCX"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_rio",
      "name": "Position Exit Rule (RIO@1d)",
      "priority": 5,
      "purpose": "signal",
      "target_symbol": "STOCK:RIO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_clf",
      "name": "Position Exit Rule (CLF@1d)",
      "priority": 6,
      "purpose": "signal",
      "target_symbol": "STOCK:CLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "indicator": {
              "name": "ema",
              "period": 20
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "less_than",
          "right": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "lower",
            "indicator": {
              "name": "bollinger_bands",
              "period": 20,
              "std_dev": 2
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "field": "holding_period_bars",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 45
          }
        }
      ],
      "enabled": true,
      "id": "exit_1_nem",
      "name": "Position Exit Rule (NEM@1d)",
      "priority": 7,
      "purpose": "signal",
      "target_symbol": "STOCK:NEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:BHP",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_bhp",
      "name": "TP: Near Resistance[1] (BHP@1d)",
      "priority": 97,
      "purpose": "take_profit",
      "target_symbol": "STOCK:BHP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:VALE",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_vale",
      "name": "TP: Near Resistance[1] (VALE@1d)",
      "priority": 98,
      "purpose": "take_profit",
      "target_symbol": "STOCK:VALE"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:XME",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_xme",
      "name": "TP: Near Resistance[1] (XME@1d)",
      "priority": 99,
      "purpose": "take_profit",
      "target_symbol": "STOCK:XME"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:FCX",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_fcx",
      "name": "TP: Near Resistance[1] (FCX@1d)",
      "priority": 100,
      "purpose": "take_profit",
      "target_symbol": "STOCK:FCX"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:RIO",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_rio",
      "name": "TP: Near Resistance[1] (RIO@1d)",
      "priority": 101,
      "purpose": "take_profit",
      "target_symbol": "STOCK:RIO"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:CLF",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_clf",
      "name": "TP: Near Resistance[1] (CLF@1d)",
      "priority": 102,
      "purpose": "take_profit",
      "target_symbol": "STOCK:CLF"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "chart_ref": {
              "symbol": "STOCK:NEM",
              "timeframe": "1d"
            },
            "field": "close",
            "type": "price"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "rank": 1,
            "type": "resistance_level"
          }
        }
      ],
      "enabled": true,
      "id": "exit_2_nem",
      "name": "TP: Near Resistance[1] (NEM@1d)",
      "priority": 103,
      "purpose": "take_profit",
      "target_symbol": "STOCK:NEM"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than_or_equal",
          "right": {
            "type": "constant",
            "value": -2.475
          }
        }
      ],
      "enabled": true,
      "id": "exit_3",
      "name": "Stop Loss at 2.5%",
      "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.95
          }
        }
      ],
      "enabled": true,
      "id": "exit_4",
      "name": "Take Profit at 5.0%",
      "priority": 100,
      "purpose": "take_profit"
    }
  ],
  "position_sizing": {
    "max_position_percent": 14.285714285714286,
    "method": {
      "risk_percent": 2.475,
      "support_stop_rank": 2,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1d",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'The strike at Port Hedland directly threatens global iron ore supply, which historically drives prices sharply higher as buyers scramble for inventory. At the same time, broader commodity markets are catching a bid from Middle East risk, creating a sympat'. Thesis: The strike at Port Hedland directly threatens global iron ore supply, which historically drives prices sharply higher as buyers scramble for inventory. At the same time, broader commodity markets are catching a bid from Middle East risk, creating a sympathetic tailwind for industrial materials. Finally, the weak US jobs report effectively takes further interest rate hikes off the table, weakening the dollar and making hard assets like metals much more attractive to hold.

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