swingHigh Rmean-reversionmediumBest TF: 1mWalk-forward untestedTV: Not yet ported to Pine

FCPO vs Soybean Oil Spread (FCPO1 − ZL1)

Cross-asset Z-score mean reversion between palm oil and soybean oil — the textbook vegoil-complex pair trade.

Profitability metrics

This strategy has not been validated against TradingView multi-year history yet — RM/day, trades/day, and monthly projection are only computed from authoritative TV stats. The 1-month sweep below is in-sample only and should not be used as a profit forecast.

Philosophy

NOTE: using SYNTHETIC leg2 data — results not reflective of real spread. Update when CL/ZL/FCPO2 data extracted. Thesis: palm and soybean oil are direct substitutes in food and biodiesel, so their spread mean-reverts via demand substitution. Strongest statistical pair of the three.

Walk-forward status: Walk-forward untested

The featured config below was not directly covered by the walk-forward grids (different dataset or timeframe, or the in-sample SQN was too low to promote to OOS evaluation). Treat the in-sample numbers with appropriate caution — no unseen-window validation yet.

This strategy: Spread strategy uses synthetic ZL leg — not in walk-forward grid. Badge pending real ZL1 data.

Best backtest config (1-month sweep)

SQN
-5.07
Profit Factor
0.24
Win rate
15.8%
Trades
139
Net profit
MYR -8,920
Max drawdown
MYR +8,920
Dataset
legacy_1m (FCPO1) + STUB ZL
Timeframe
1m

Strategy properties

Style
swing
Profile
High R
Trades / day
6.32
Avg bars held
TV compile status
Not yet ported to Pine
Walk-forward
Walk-forward untested
Low WR but big winners. Long losing streaks are normal — the rare runaway pays for them.

Parameters

lookback
100
entryZ
2.5
exitZ
0
stopZ
3.5
allowLong
true
allowShort
true

Applies to

  • Market: FCPO (Crude Palm Oil Futures, Bursa Malaysia)
  • Timeframe: 1m
  • Style: Swing (hours to days)
  • Complexity: 2-3 rules, some discretion

When it works

Did not show a stable edge in the sample — treat with caution.

Pine Script coming soon

Related strategies (mean-reversion)

Full raw backtest result
{
  "dataset": "legacy_1m (FCPO1) + STUB ZL",
  "tf": "1m",
  "params": {
    "lookback": 100,
    "entryZ": 2.5,
    "exitZ": 0,
    "stopZ": 3.5,
    "allowLong": true,
    "allowShort": true
  },
  "trades": 139,
  "winRate": 15.83,
  "netProfitMYR": -8920,
  "profitFactor": 0.24,
  "sqn": -5.07,
  "maxDrawdownMYR": 8920
}

Amaran Risiko: Dagangan niaga hadapan (futures) melibatkan risiko kerugian yang tinggi dan tidak sesuai untuk semua pelabur. Kerugian boleh melebihi deposit margin asal anda. Prestasi lampau bukan jaminan prestasi masa hadapan. Kandungan di laman ini adalah untuk tujuan pendidikan dan maklumat sahaja, dan bukan nasihat pelaburan. Pastikan anda memahami sepenuhnya risiko yang terlibat sebelum berdagang, dan dapatkan nasihat profesional jika perlu.