Reports that Iran is making moves in the Strait of Hormuz are causing a spike in
Created
Thesis
Reports that Iran is making moves in the Strait of Hormuz are causing a spike in oil prices, and this geopolitical tension is unlikely to disappear overnight. Just a day earlier, Petrobras announced its third-highest profit ever specifically because of rising oil prices. As long as the Middle East situation keeps a premium on oil, companies that pull it out of the ground will see a direct boost to their bottom line.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
PBR · 1d
6 of 18 published entry conditions marked met.
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — met
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — met
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — met
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — met
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — met
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — met
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
USO · 1d
0 of 18 published entry conditions marked met.
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — far
- RSI (14) above 50 — far
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
XOP · 1d
6 of 18 published entry conditions marked met.
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — met
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — met
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — met
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — met
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — met
- RSI (14) above 50 — far
- EMA (9) crossed above EMA (21) — near
- ADX (14) above 25 — met
- RSI (14) above 50 — far
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
- RSI (14) above 75 — far
- EMA (9) crossed below EMA (21) — near
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/ADX/RSI Crossover Long (USO@1d) (4 conditions)
- Entry: EMA/ADX/RSI Crossover Long (XOP@1d) (4 conditions)
- Entry: EMA/ADX/RSI Crossover Long (PBR@1d) (4 conditions)
- Entry: EMA/ADX/RSI Crossover Long (XLE@1d) (4 conditions)
- Entry: EMA/ADX/RSI Crossover Long (XOM@1d) (4 conditions)
- Entry: EMA/ADX/RSI Crossover Long (USO@1d) (3 conditions)
- Entry: EMA/ADX/RSI Crossover Long (XOP@1d) (3 conditions)
- Entry: EMA/ADX/RSI Crossover Long (PBR@1d) (3 conditions)
- Entry: EMA/ADX/RSI Crossover Long (XLE@1d) (3 conditions)
- Entry: EMA/ADX/RSI Crossover Long (XOM@1d) (3 conditions)
- Entry: Crossover Long (USO@1d) (1 condition)
- Entry: Crossover Long (XOP@1d) (1 condition)
- Entry: Crossover Long (PBR@1d) (1 condition)
- Entry: Crossover Long (XLE@1d) (1 condition)
- Entry: Crossover Long (XOM@1d) (1 condition)
- Exit: Overbought RSI Exit (USO@1d) (3 conditions)
- Exit: Overbought RSI Exit (XOP@1d) (3 conditions)
- Exit: Overbought RSI Exit (PBR@1d) (3 conditions)
- Exit: Overbought RSI Exit (XLE@1d) (3 conditions)
- Exit: Overbought RSI Exit (XOM@1d) (3 conditions)
- Exit: TP: Fib Extension 127.2% (USO@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (XOP@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (PBR@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (XLE@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (XOM@1d) (1 condition)
- Exit: TP: Near Resistance[2] (USO@1d) (1 condition)
- Exit: TP: Near Resistance[2] (XOP@1d) (1 condition)
- Exit: TP: Near Resistance[2] (PBR@1d) (1 condition)
- Exit: TP: Near Resistance[2] (XLE@1d) (1 condition)
- Exit: TP: Near Resistance[2] (XOM@1d) (1 condition)
- Exit: SL: Fib Retracement 78.6% (USO@1d) (2 conditions)
- Exit: SL: Fib Retracement 78.6% (XOP@1d) (2 conditions)
- Exit: SL: Fib Retracement 78.6% (PBR@1d) (2 conditions)
- Exit: SL: Fib Retracement 78.6% (XLE@1d) (2 conditions)
- Exit: SL: Fib Retracement 78.6% (XOM@1d) (2 conditions)
- Exit: Stop Loss at 2.3% (1 condition)
- Exit: Take Profit at 4.6% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "STOCK:USO",
"timeframe": "1d"
},
{
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
{
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
{
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
{
"symbol": "STOCK:XOM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_uso",
"name": "EMA/ADX/RSI Crossover Long (USO@1d)",
"priority": 1,
"trade_symbol": "STOCK:USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xop",
"name": "EMA/ADX/RSI Crossover Long (XOP@1d)",
"priority": 2,
"trade_symbol": "STOCK:XOP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_pbr",
"name": "EMA/ADX/RSI Crossover Long (PBR@1d)",
"priority": 3,
"trade_symbol": "STOCK:PBR"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xle",
"name": "EMA/ADX/RSI Crossover Long (XLE@1d)",
"priority": 4,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xom",
"name": "EMA/ADX/RSI Crossover Long (XOM@1d)",
"priority": 5,
"trade_symbol": "STOCK:XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_uso",
"name": "EMA/ADX/RSI Crossover Long (USO@1d)",
"priority": 2,
"trade_symbol": "STOCK:USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xop",
"name": "EMA/ADX/RSI Crossover Long (XOP@1d)",
"priority": 3,
"trade_symbol": "STOCK:XOP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_pbr",
"name": "EMA/ADX/RSI Crossover Long (PBR@1d)",
"priority": 4,
"trade_symbol": "STOCK:PBR"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xle",
"name": "EMA/ADX/RSI Crossover Long (XLE@1d)",
"priority": 5,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xom",
"name": "EMA/ADX/RSI Crossover Long (XOM@1d)",
"priority": 6,
"trade_symbol": "STOCK:XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_uso",
"name": "Crossover Long (USO@1d)",
"priority": 2,
"trade_symbol": "STOCK:USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xop",
"name": "Crossover Long (XOP@1d)",
"priority": 3,
"trade_symbol": "STOCK:XOP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_pbr",
"name": "Crossover Long (PBR@1d)",
"priority": 4,
"trade_symbol": "STOCK:PBR"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xle",
"name": "Crossover Long (XLE@1d)",
"priority": 5,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xom",
"name": "Crossover Long (XOM@1d)",
"priority": 6,
"trade_symbol": "STOCK:XOM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_uso",
"name": "Overbought RSI Exit (USO@1d)",
"priority": 1,
"target_symbol": "STOCK:USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_xop",
"name": "Overbought RSI Exit (XOP@1d)",
"priority": 2,
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_pbr",
"name": "Overbought RSI Exit (PBR@1d)",
"priority": 3,
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_xle",
"name": "Overbought RSI Exit (XLE@1d)",
"priority": 4,
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_xom",
"name": "Overbought RSI Exit (XOM@1d)",
"priority": 5,
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_uso",
"name": "TP: Fib Extension 127.2% (USO@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xop",
"name": "TP: Fib Extension 127.2% (XOP@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_pbr",
"name": "TP: Fib Extension 127.2% (PBR@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xle",
"name": "TP: Fib Extension 127.2% (XLE@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xom",
"name": "TP: Fib Extension 127.2% (XOM@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_uso",
"name": "TP: Near Resistance[2] (USO@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_xop",
"name": "TP: Near Resistance[2] (XOP@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_pbr",
"name": "TP: Near Resistance[2] (PBR@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_xle",
"name": "TP: Near Resistance[2] (XLE@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_xom",
"name": "TP: Near Resistance[2] (XOM@1d)",
"priority": 101,
"purpose": "take_profit",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_uso",
"name": "SL: Fib Retracement 78.6% (USO@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:USO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_xop",
"name": "SL: Fib Retracement 78.6% (XOP@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_pbr",
"name": "SL: Fib Retracement 78.6% (PBR@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_xle",
"name": "SL: Fib Retracement 78.6% (XLE@1d)",
"priority": 103,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_xom",
"name": "SL: Fib Retracement 78.6% (XOM@1d)",
"priority": 104,
"purpose": "stop_loss",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.315
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Stop Loss at 2.3%",
"priority": 100,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 4.63
}
}
],
"enabled": true,
"id": "exit_6",
"name": "Take Profit at 4.6%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 20,
"method": {
"fib_stop_ratio": 786,
"risk_percent": 2.315,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "rsi",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "STOCK:USO",
"timeframe": "1d"
},
{
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
{
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
{
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
{
"symbol": "STOCK:XOM",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_uso",
"name": "EMA/ADX/RSI Crossover Long (USO@1d)",
"priority": 1,
"trade_symbol": "STOCK:USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xop",
"name": "EMA/ADX/RSI Crossover Long (XOP@1d)",
"priority": 2,
"trade_symbol": "STOCK:XOP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_pbr",
"name": "EMA/ADX/RSI Crossover Long (PBR@1d)",
"priority": 3,
"trade_symbol": "STOCK:PBR"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xle",
"name": "EMA/ADX/RSI Crossover Long (XLE@1d)",
"priority": 4,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_xom",
"name": "EMA/ADX/RSI Crossover Long (XOM@1d)",
"priority": 5,
"trade_symbol": "STOCK:XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_uso",
"name": "EMA/ADX/RSI Crossover Long (USO@1d)",
"priority": 2,
"trade_symbol": "STOCK:USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xop",
"name": "EMA/ADX/RSI Crossover Long (XOP@1d)",
"priority": 3,
"trade_symbol": "STOCK:XOP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_pbr",
"name": "EMA/ADX/RSI Crossover Long (PBR@1d)",
"priority": 4,
"trade_symbol": "STOCK:PBR"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xle",
"name": "EMA/ADX/RSI Crossover Long (XLE@1d)",
"priority": 5,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_above",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 25
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 50
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_xom",
"name": "EMA/ADX/RSI Crossover Long (XOM@1d)",
"priority": 6,
"trade_symbol": "STOCK:XOM"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_uso",
"name": "Crossover Long (USO@1d)",
"priority": 2,
"trade_symbol": "STOCK:USO"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xop",
"name": "Crossover Long (XOP@1d)",
"priority": 3,
"trade_symbol": "STOCK:XOP"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_pbr",
"name": "Crossover Long (PBR@1d)",
"priority": 4,
"trade_symbol": "STOCK:PBR"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xle",
"name": "Crossover Long (XLE@1d)",
"priority": 5,
"trade_symbol": "STOCK:XLE"
},
{
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_xom",
"name": "Crossover Long (XOM@1d)",
"priority": 6,
"trade_symbol": "STOCK:XOM"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_uso",
"name": "Overbought RSI Exit (USO@1d)",
"priority": 1,
"target_symbol": "STOCK:USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_xop",
"name": "Overbought RSI Exit (XOP@1d)",
"priority": 2,
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_pbr",
"name": "Overbought RSI Exit (PBR@1d)",
"priority": 3,
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_xle",
"name": "Overbought RSI Exit (XLE@1d)",
"priority": 4,
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "rsi",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 75
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "crossed_below",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "holding_period_bars",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 42
}
}
],
"enabled": true,
"id": "exit_1_xom",
"name": "Overbought RSI Exit (XOM@1d)",
"priority": 5,
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_uso",
"name": "TP: Fib Extension 127.2% (USO@1d)",
"priority": 96,
"purpose": "take_profit",
"target_symbol": "STOCK:USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xop",
"name": "TP: Fib Extension 127.2% (XOP@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_pbr",
"name": "TP: Fib Extension 127.2% (PBR@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xle",
"name": "TP: Fib Extension 127.2% (XLE@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_xom",
"name": "TP: Fib Extension 127.2% (XOM@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_uso",
"name": "TP: Near Resistance[2] (USO@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "STOCK:USO"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_xop",
"name": "TP: Near Resistance[2] (XOP@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_pbr",
"name": "TP: Near Resistance[2] (PBR@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_xle",
"name": "TP: Near Resistance[2] (XLE@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "greater_than_or_equal",
"right": {
"rank": 2,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_xom",
"name": "TP: Near Resistance[2] (XOM@1d)",
"priority": 101,
"purpose": "take_profit",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:USO",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_uso",
"name": "SL: Fib Retracement 78.6% (USO@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "STOCK:USO"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOP",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_xop",
"name": "SL: Fib Retracement 78.6% (XOP@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "STOCK:XOP"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:PBR",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_pbr",
"name": "SL: Fib Retracement 78.6% (PBR@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "STOCK:PBR"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XLE",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_xle",
"name": "SL: Fib Retracement 78.6% (XLE@1d)",
"priority": 103,
"purpose": "stop_loss",
"target_symbol": "STOCK:XLE"
},
{
"applies_to": "long",
"conditions": [
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"ratio": 786,
"type": "fibonacci_retracement"
}
},
{
"left": {
"chart_ref": {
"symbol": "STOCK:XOM",
"timeframe": "1d"
},
"field": "close",
"type": "price"
},
"operator": "crossed_above",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"enabled": true,
"id": "exit_4_xom",
"name": "SL: Fib Retracement 78.6% (XOM@1d)",
"priority": 104,
"purpose": "stop_loss",
"target_symbol": "STOCK:XOM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2.315
}
}
],
"enabled": true,
"id": "exit_5",
"name": "Stop Loss at 2.3%",
"priority": 100,
"purpose": "stop_loss"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than_or_equal",
"right": {
"type": "constant",
"value": 4.63
}
}
],
"enabled": true,
"id": "exit_6",
"name": "Take Profit at 4.6%",
"priority": 100,
"purpose": "take_profit"
}
],
"position_sizing": {
"max_position_percent": 20,
"method": {
"fib_stop_ratio": 786,
"risk_percent": 2.315,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Reports that Iran is making moves in the Strait of Hormuz are causing a spike in oil prices, and this geopolitical tension is unlikely to disappear overnight. Just a day earlier, Petrobras announced its third-highest profit ever specifically because of ri'. Thesis: Reports that Iran is making moves in the Strait of Hormuz are causing a spike in oil prices, and this geopolitical tension is unlikely to disappear overnight. Just a day earlier, Petrobras announced its third-highest profit ever specifically because of rising oil prices. As long as the Middle East situation keeps a premium on oil, companies that pull it out of the ground will see a direct boost to their bottom line.
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