Trend-following pivot breakout, with an optional pullback engine
| Period | Net profit | Return | Max equity drawdown | Profit factor | Trades |
|---|---|---|---|---|---|
| Full year 2024 | +$2,009 | +200.9% | 22.6% | 1.57 | 1,673 |
| Full year 2025 | +$2,918 | +291.8% | 25.8% | 1.65 | 1,461 |
| YTD 2026 | +$2,995 | +299.5% | 30.0% | 2.18 | 748 |
The figures above are historical performance statistics, not a live trading record; past performance does not indicate future results. Return = net profit ÷ starting capital, not compounded, and excludes deposits/withdrawals. Max equity drawdown is the largest decline in account equity (including open floating loss), not just closed-trade drawdown. Ask us for a demo account to see live results.
Liang Yi is a dual-engine programmatic strategy for XAUUSD (gold), built around trend-following pivot breakouts: it enters in the direction of confirmed breaks of recent swing highs/lows, and never averages against the trend and never martingales. The main engine runs several sub-strategies in parallel, each opening and stopping out independently without interfering with one another; exits are layered — a break-even trailing stop locks in profit first, then structure-based trailing stops and trailing targets take over, balancing noise tolerance with protecting realized gains.
Liang Yi also has an optional second engine, a supplementary oversold-pullback signal, disabled by default and switchable on depending on the account's risk appetite. The EA also includes automatic filtering around major economic releases to reduce slippage and abnormal-volatility risk during news events.
Uses recent swing highs/lows as reference points and enters with pending orders once a close confirms the break — no chasing candles.
The main engine runs several parameter variants at once, each opening and stopping out independently, spreading reliance across multiple trigger conditions rather than one signal.
Every trade is an independent position with an independent hard stop — no averaging down, no doubling up; risk never scales with floating loss.
Break-even move, structure-based trailing stop, and trailing target hand off in sequence to progressively lock in realized profit.
A built-in oversold-pullback signal as a supplementary engine, off by default, switchable based on risk appetite, and does not affect the main engine.
New orders automatically pause around CPI, PPI, NFP, retail sales, FOMC and other major releases to reduce the impact of abnormal news volatility.
The main engine continuously scans each sub-strategy's signal conditions on the always-on M1 cycle, using recent pivot highs/lows as the reference. Once price breaks and a close confirms it, the EA enters with a pending order in trend direction; any pending order that doesn't fill within its validity window is auto-cancelled rather than sitting on the book as accumulating risk. The sub-strategies use different parameters (different signal timeframes and breakout conditions), judge independently, and don't share positions or stops.
The second engine (off by default) is an oversold-pullback signal: it identifies a structural rebound after an oversold reading via momentum indicators and follows through in trend direction — a different trigger mechanism from the main engine's breakout logic, meant to add opportunities during ranging or pullback phases.
| Engine | Trigger | Status |
|---|---|---|
| Main engine | Break of pivot high/low, pending order on close confirmation | On by default |
| Second engine (optional) | Oversold pullback, trend-following follow-through | Off by default, switchable |
Liang Yi never averages against the trend and never martingales. Every trade opens independently with an independent hard stop — position size never adjusts based on floating loss. Because the main engine runs multiple sub-strategies in parallel, the account may hold several independent positions at once (each with its own stop) — this is a deliberate result of spreading across multiple trigger conditions for broader signal coverage, not averaging down. If enabled, the second engine trades with its own independent position and stop, sharing no risk exposure with the main engine.
| Item | Description |
|---|---|
| Scaling | None (no counter-trend averaging, no martingale) |
| Concurrent positions | The main engine's sub-strategies can each hold an independent position at the same time |
| Stop-loss | Independent hard stop per trade — risk never grows with floating loss |
Exits are handled in layers, locking in floating profit first, then handing off to structural protection:
| Priority | Mechanism | Description |
|---|---|---|
| 1 | Break-even move | Once floating profit hits a set ratio, the stop moves to near cost — locking in a scratch trade at worst |
| 2 | Structure-based trailing stop | Tightens the stop dynamically based on price structure (highs/lows), following the trend to protect realized floating gains |
| 3 | Trailing target | Moves the take-profit target up as the trend continues in your favor |
| 4 | Fixed stop-loss / take-profit | Fallback exit if none of the above trigger |
The EA also automatically pauses new entries before Friday's close and around CPI, PPI, NFP, retail sales, FOMC and other major data releases, to reduce risk from abnormal volatility and slippage during news events.
Liang Yi is rated Balanced (r2): every trade carries an independent hard stop with no counter-trend averaging or martingale, so per-trade risk is contained; but because multiple sub-strategies can be in the market simultaneously, account-level exposure scales with how many positions are open at once, giving it higher volatility and drawdown than a single-position strategy — hence it isn't classed as the most conservative tier.
| Risk tier | Suggested min. capital | Suggested leverage | Expected max drawdown range |
|---|---|---|---|
| Balanced (r2) | $1,000+ | 1:100 or higher | Depends on parameters; see the "Historical performance" section above for tested figures |
| Item | Requirement |
|---|---|
| Platform | MT5 |
| Account type | Hedging account |
| Instrument | XAUUSD (gold) |
| Attach to | M1 (internal signal timeframes are handled per sub-strategy) |
| VPS | Recommended, for stable 24-hour operation |
Message us on Telegram, or WeChat ezmoney50 and mention "Liang Yi" — we'll set you up with a read-only MT4/MT5 demo account and walk you through licensing. Partners get their own pricing.