Bird flu lockdowns crush chicken stocks — short the poultry producers
Created
Thesis
Bird flu outbreaks cause immediate panic in the food supply chain. The 14% drop in Inghams shows investors are terrified that the lockdowns will disrupt sales and lead to mass culling of chickens. Because it takes time to contain an outbreak, the uncertainty and fear often push stock prices even lower in the days following the initial news, creating an opportunity to bet against the sector.
Strategy approach
Build a rule-based strategy that enters short ING.AX (or related poultry ETF) on the daily timeframe when the price breaks below the previous day's low. Exit conditions: a 2-day bounce of more than 4% from the entry price, or a 7% profit target, or a 4% stop loss. Max hold 10 trading days.
Markets and timeframes
Latest published rule evaluation
Evaluated . This is a dated rule snapshot, not a live price or trade execution confirmation.
PPC · 1d
8 of 24 published entry conditions marked met.
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
- Price below Donchian (20) — far
- ADX (14) above 20 — met
- EMA (9) below EMA (21) — near
TSN · 1d
16 of 24 published entry conditions marked met.
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
- Price below Donchian (20) — met
- ADX (14) above 20 — far
- EMA (9) below EMA (21) — met
Entry and exit at a glance
These are the named rules in the shared configuration. Review the full conditions below before using a strategy.
- Entry: DONCHIAN/ADX/EMA Crossover Long (PPC@1d) (4 conditions)
- Entry: DONCHIAN/ADX/EMA Crossover Long (TSN@1d) (4 conditions)
- Entry: DONCHIAN/ADX/EMA Crossover Long (HRL@1d) (4 conditions)
- Entry: DONCHIAN/ADX/EMA Crossover Long (CALM@1d) (4 conditions)
- Entry: DONCHIAN/ADX/EMA Crossover Long (SFD@1d) (4 conditions)
- Entry: DONCHIAN/ADX/EMA Signal Long (PPC@1d) (3 conditions)
- Entry: DONCHIAN/ADX/EMA Signal Long (TSN@1d) (3 conditions)
- Entry: DONCHIAN/ADX/EMA Signal Long (HRL@1d) (3 conditions)
- Entry: DONCHIAN/ADX/EMA Signal Long (CALM@1d) (3 conditions)
- Entry: DONCHIAN/ADX/EMA Signal Long (SFD@1d) (3 conditions)
- Entry: Crossover Long (PPC@1d) (1 condition)
- Entry: Crossover Long (TSN@1d) (1 condition)
- Entry: Crossover Long (HRL@1d) (1 condition)
- Entry: Crossover Long (CALM@1d) (1 condition)
- Entry: Crossover Long (SFD@1d) (1 condition)
- Exit: Take Profit at 4.0% (1 condition)
- Exit: TP: Fib Extension 127.2% (PPC@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (TSN@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (HRL@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (CALM@1d) (1 condition)
- Exit: TP: Fib Extension 127.2% (SFD@1d) (1 condition)
- Exit: TP: Near Resistance[1] (PPC@1d) (1 condition)
- Exit: TP: Near Resistance[1] (TSN@1d) (1 condition)
- Exit: TP: Near Resistance[1] (HRL@1d) (1 condition)
- Exit: TP: Near Resistance[1] (CALM@1d) (1 condition)
- Exit: TP: Near Resistance[1] (SFD@1d) (1 condition)
- Exit: Stop Loss at 2.0% (1 condition)
Shared strategy rules
Rule configuration
{
"data_dependencies": [
{
"symbol": "PPC",
"timeframe": "1d"
},
{
"symbol": "TSN",
"timeframe": "1d"
},
{
"symbol": "HRL",
"timeframe": "1d"
},
{
"symbol": "CALM",
"timeframe": "1d"
},
{
"symbol": "SFD",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_ppc",
"name": "DONCHIAN/ADX/EMA Crossover Long (PPC@1d)",
"priority": 1,
"trade_symbol": "PPC"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_tsn",
"name": "DONCHIAN/ADX/EMA Crossover Long (TSN@1d)",
"priority": 2,
"trade_symbol": "TSN"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_hrl",
"name": "DONCHIAN/ADX/EMA Crossover Long (HRL@1d)",
"priority": 3,
"trade_symbol": "HRL"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_calm",
"name": "DONCHIAN/ADX/EMA Crossover Long (CALM@1d)",
"priority": 4,
"trade_symbol": "CALM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_sfd",
"name": "DONCHIAN/ADX/EMA Crossover Long (SFD@1d)",
"priority": 5,
"trade_symbol": "SFD"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_ppc",
"name": "DONCHIAN/ADX/EMA Signal Long (PPC@1d)",
"priority": 2,
"trade_symbol": "PPC"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_tsn",
"name": "DONCHIAN/ADX/EMA Signal Long (TSN@1d)",
"priority": 3,
"trade_symbol": "TSN"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_hrl",
"name": "DONCHIAN/ADX/EMA Signal Long (HRL@1d)",
"priority": 4,
"trade_symbol": "HRL"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_calm",
"name": "DONCHIAN/ADX/EMA Signal Long (CALM@1d)",
"priority": 5,
"trade_symbol": "CALM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_sfd",
"name": "DONCHIAN/ADX/EMA Signal Long (SFD@1d)",
"priority": 6,
"trade_symbol": "SFD"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_ppc",
"name": "Crossover Long (PPC@1d)",
"priority": 2,
"trade_symbol": "PPC"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_tsn",
"name": "Crossover Long (TSN@1d)",
"priority": 3,
"trade_symbol": "TSN"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_hrl",
"name": "Crossover Long (HRL@1d)",
"priority": 4,
"trade_symbol": "HRL"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_calm",
"name": "Crossover Long (CALM@1d)",
"priority": 5,
"trade_symbol": "CALM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_sfd",
"name": "Crossover Long (SFD@1d)",
"priority": 6,
"trade_symbol": "SFD"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 4
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Take Profit at 4.0%",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_ppc",
"name": "TP: Fib Extension 127.2% (PPC@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "PPC"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_tsn",
"name": "TP: Fib Extension 127.2% (TSN@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "TSN"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_hrl",
"name": "TP: Fib Extension 127.2% (HRL@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "HRL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_calm",
"name": "TP: Fib Extension 127.2% (CALM@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "CALM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_sfd",
"name": "TP: Fib Extension 127.2% (SFD@1d)",
"priority": 101,
"purpose": "take_profit",
"target_symbol": "SFD"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_ppc",
"name": "TP: Near Resistance[1] (PPC@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "PPC"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_tsn",
"name": "TP: Near Resistance[1] (TSN@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "TSN"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_hrl",
"name": "TP: Near Resistance[1] (HRL@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "HRL"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_calm",
"name": "TP: Near Resistance[1] (CALM@1d)",
"priority": 103,
"purpose": "stop_loss",
"target_symbol": "CALM"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_sfd",
"name": "TP: Near Resistance[1] (SFD@1d)",
"priority": 104,
"purpose": "stop_loss",
"target_symbol": "SFD"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 2.0%",
"priority": 100,
"purpose": "stop_loss"
}
],
"position_sizing": {
"max_position_percent": 20,
"method": {
"resistance_stop_rank": 1,
"risk_percent": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Indicator configuration
{
"indicators": [
{
"name": "donchian",
"period": 20
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "donchian",
"period": 20
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "donchian",
"period": 20
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "donchian",
"period": 20
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
},
{
"name": "donchian",
"period": 20
},
{
"name": "ema",
"period": 9
},
{
"name": "ema",
"period": 21
},
{
"name": "adx",
"period": 14
}
]
}Parsed strategy
{
"data_dependencies": [
{
"symbol": "PPC",
"timeframe": "1d"
},
{
"symbol": "TSN",
"timeframe": "1d"
},
{
"symbol": "HRL",
"timeframe": "1d"
},
{
"symbol": "CALM",
"timeframe": "1d"
},
{
"symbol": "SFD",
"timeframe": "1d"
}
],
"entry_rules": [
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_ppc",
"name": "DONCHIAN/ADX/EMA Crossover Long (PPC@1d)",
"priority": 1,
"trade_symbol": "PPC"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_tsn",
"name": "DONCHIAN/ADX/EMA Crossover Long (TSN@1d)",
"priority": 2,
"trade_symbol": "TSN"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_hrl",
"name": "DONCHIAN/ADX/EMA Crossover Long (HRL@1d)",
"priority": 3,
"trade_symbol": "HRL"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_calm",
"name": "DONCHIAN/ADX/EMA Crossover Long (CALM@1d)",
"priority": 4,
"trade_symbol": "CALM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
},
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_1_sfd",
"name": "DONCHIAN/ADX/EMA Crossover Long (SFD@1d)",
"priority": 5,
"trade_symbol": "SFD"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_ppc",
"name": "DONCHIAN/ADX/EMA Signal Long (PPC@1d)",
"priority": 2,
"trade_symbol": "PPC"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_tsn",
"name": "DONCHIAN/ADX/EMA Signal Long (TSN@1d)",
"priority": 3,
"trade_symbol": "TSN"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_hrl",
"name": "DONCHIAN/ADX/EMA Signal Long (HRL@1d)",
"priority": 4,
"trade_symbol": "HRL"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_calm",
"name": "DONCHIAN/ADX/EMA Signal Long (CALM@1d)",
"priority": 5,
"trade_symbol": "CALM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "lower",
"indicator": {
"name": "donchian",
"period": 20
},
"type": "indicator"
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"field": "adx",
"indicator": {
"name": "adx",
"period": 14
},
"type": "indicator"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 20
}
},
{
"left": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 9
},
"type": "indicator"
},
"operator": "less_than",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"indicator": {
"name": "ema",
"period": 21
},
"type": "indicator"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_2_sfd",
"name": "DONCHIAN/ADX/EMA Signal Long (SFD@1d)",
"priority": 6,
"trade_symbol": "SFD"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_ppc",
"name": "Crossover Long (PPC@1d)",
"priority": 2,
"trade_symbol": "PPC"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_tsn",
"name": "Crossover Long (TSN@1d)",
"priority": 3,
"trade_symbol": "TSN"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_hrl",
"name": "Crossover Long (HRL@1d)",
"priority": 4,
"trade_symbol": "HRL"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_calm",
"name": "Crossover Long (CALM@1d)",
"priority": 5,
"trade_symbol": "CALM"
},
{
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "crossed_below",
"right": {
"rank": 1,
"type": "support_level"
}
}
],
"direction": "long",
"enabled": true,
"id": "entry_3_sfd",
"name": "Crossover Long (SFD@1d)",
"priority": 6,
"trade_symbol": "SFD"
}
],
"exit_rules": [
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "greater_than",
"right": {
"type": "constant",
"value": 4
}
}
],
"enabled": true,
"id": "exit_1",
"name": "Take Profit at 4.0%",
"priority": 1,
"purpose": "signal"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "PPC",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_ppc",
"name": "TP: Fib Extension 127.2% (PPC@1d)",
"priority": 97,
"purpose": "take_profit",
"target_symbol": "PPC"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "TSN",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_tsn",
"name": "TP: Fib Extension 127.2% (TSN@1d)",
"priority": 98,
"purpose": "take_profit",
"target_symbol": "TSN"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "HRL",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_hrl",
"name": "TP: Fib Extension 127.2% (HRL@1d)",
"priority": 99,
"purpose": "take_profit",
"target_symbol": "HRL"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "CALM",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_calm",
"name": "TP: Fib Extension 127.2% (CALM@1d)",
"priority": 100,
"purpose": "take_profit",
"target_symbol": "CALM"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "less_than_or_equal",
"right": {
"chart_ref": {
"symbol": "SFD",
"timeframe": "1d"
},
"ratio": 1272,
"type": "fibonacci_extension"
}
}
],
"enabled": true,
"id": "exit_2_sfd",
"name": "TP: Fib Extension 127.2% (SFD@1d)",
"priority": 101,
"purpose": "take_profit",
"target_symbol": "SFD"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_ppc",
"name": "TP: Near Resistance[1] (PPC@1d)",
"priority": 100,
"purpose": "stop_loss",
"target_symbol": "PPC"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_tsn",
"name": "TP: Near Resistance[1] (TSN@1d)",
"priority": 101,
"purpose": "stop_loss",
"target_symbol": "TSN"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_hrl",
"name": "TP: Near Resistance[1] (HRL@1d)",
"priority": 102,
"purpose": "stop_loss",
"target_symbol": "HRL"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_calm",
"name": "TP: Near Resistance[1] (CALM@1d)",
"priority": 103,
"purpose": "stop_loss",
"target_symbol": "CALM"
},
{
"applies_to": "short",
"conditions": [
{
"left": {
"field": "close",
"type": "price"
},
"operator": "greater_than",
"right": {
"rank": 1,
"type": "resistance_level"
}
}
],
"enabled": true,
"id": "exit_3_sfd",
"name": "TP: Near Resistance[1] (SFD@1d)",
"priority": 104,
"purpose": "stop_loss",
"target_symbol": "SFD"
},
{
"applies_to": "both",
"conditions": [
{
"left": {
"field": "unrealized_pnl_percent",
"type": "position"
},
"operator": "less_than_or_equal",
"right": {
"type": "constant",
"value": -2
}
}
],
"enabled": true,
"id": "exit_4",
"name": "Stop Loss at 2.0%",
"priority": 100,
"purpose": "stop_loss"
}
],
"position_sizing": {
"max_position_percent": 20,
"method": {
"resistance_stop_rank": 1,
"risk_percent": 2,
"type": "fixed_risk"
},
"min_position_value": 100
},
"trigger_timeframe": "1d",
"version": 1
}Strategy instructions
Trading agent generated from recommendation idea 'Bird flu lockdowns crush chicken stocks — short the poultry producers'. Thesis: Bird flu outbreaks cause immediate panic in the food supply chain. The 14% drop in Inghams shows investors are terrified that the lockdowns will disrupt sales and lead to mass culling of chickens. Because it takes time to contain an outbreak, the uncertainty and fear often push stock prices even lower in the days following the initial news, creating an opportunity to bet against the sector.
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