EZQUANTGold CFD Quant Strategy Library
BreakoutConsolidation breakout, reversalMT5Aggressive

金蛇出洞 Jin She Chu Dong

Coils in consolidation, strikes on the breakout, reverses on a fresh signal

Instrument: XAUUSD (gold)
Timeframe: H1
Suggested minimum capital: $10,000+
Suggested leverage: 1:100 or higher

Historical performance

Instrument XAUUSDStarting capital $10,000Starting lot size 0.02
Cumulative net profit+$3,5873 periods combined
Cumulative return+35.9%Net profit ÷ starting capital
Max equity drawdown8.3%Highest across periods
Profit factor1.29Average across periods · 688 trades
Return vs. max drawdown by periodReturnMax equity drawdown
Full year 2024
+1.5%DD 5.3%
Full year 2025
+3.9%DD 4.5%
YTD 2026
+30.5%DD 8.3%
PeriodNet profitReturnMax equity drawdownProfit factorTrades
Full year 2024+$146+1.5%5.3%1.18149
Full year 2025+$391+3.9%4.5%1.28185
YTD 2026+$3,050+30.5%8.3%1.42354

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.

Overview

Jin She Chu Dong is a gold strategy built around "breakout after narrow consolidation." It watches two classic consolidation-breakout patterns at once, catching the moment price snaps from dormant to one-directional; when an opposing signal appears, it closes the entire basket and immediately reverses, so the position always sits on the side of the latest signal.

Exits use a two-stage design — bank half at the first target, trail the rest — plus a basket-wide max floating-loss cap as a last-resort fuse, balancing trend capture with risk control.

Key features

Dual-signal confluence

Watches narrow-range-bar breakouts and consolidation-range breakouts simultaneously, using a higher timeframe to help confirm, improving signal reliability.

Volatility-adaptive

Both the consolidation-range width and its proximity to reference levels are measured dynamically using daily ATR, adapting to different volatility regimes rather than using fixed point distances.

Full reversal on opposite signal

An opposing signal triggers an immediate basket close and a fresh reversed basket — the position direction always follows the latest signal.

Two-stage exit

Banks half the position at target, trails the rest, and locks the stop-loss floor at breakeven to keep a winner from turning into a loser.

Basket-wide floating-loss cap

A max floating-loss limit on the whole basket serves as a last-resort fuse in extreme moves.

Close-confirmed signals only

Every entry/exit signal is confirmed on the close, never chasing an intrabar fake breakout, cutting down noise.

Entry logic

The strategy watches two close-confirmed breakout signals at once, never chasing an intrabar fake breakout:

Signal sourceLogic
Narrow-range-bar breakoutIdentifies a narrow consolidation bar on a higher timeframe; a close above its top goes long, below its bottom goes short. After a breakout, price must pull back to the midline before the setup re-arms, avoiding repeated re-triggers.
Consolidation-range breakoutDetects a narrow range formed by the last several candles, sitting close to the prior day's high or low; a close above the range top goes long, below the bottom goes short. Range width and proximity are measured dynamically using daily ATR.

There's also a research module based on volume-profile key levels, disabled by default, for advanced research use only.

Position management

Both signal sources share the same position basket, with a fixed lot size per order.

SituationHandling
Same-direction signalAdds to the basket; the exit reference resets to the new weighted average price
Opposite-direction signalCloses the whole basket and immediately opens a new reversed one
Max orders per basketThe basket can add up to a set cap, preventing runaway scaling

Exit and risk-control priority

Exit logic is checked top-down:

PriorityConditionAction
1Price reaches "average price ± multiplier × first-signal range"Closes half the basket to bank profit
2Remaining position trailsTrails at "range × multiplier" distance; stop floor locked at breakeven
3Opposite signal appearsCloses the whole basket and reverses
4Basket floating loss hits set capCloses everything — the last-resort fuse

Note: this strategy has no traditional per-trade fixed stop-loss — loss control relies on the reversal signal and the basket-wide floating-loss cap.

Risk tier and capital guidance

This strategy has no fixed per-trade stop, adds on same-direction signals, and closes/reverses the whole basket on opposite signals — the basket can scale up to a set order cap — an aggressive risk profile; in sharp whipsaw conditions, basket floating loss can approach the cap directly.

Risk tierSuggested min. capitalSuggested leverageExpected max drawdown
Aggressive$10,000+1:100 or higherDepends on parameters

Who it's for

System requirements

ItemRequirement
PlatformMetaTrader 5
InstrumentXAUUSD (gold)
TimeframeH1
SpreadA low-spread account is recommended — trade frequency is fairly high, so spread cost has a meaningful impact on results
EnvironmentVPS recommended for stable 24-hour operation, so you don't miss a reversal signal to a dropped connection

Usage notes

This strategy has no fixed per-trade stop-loss — loss control relies on the reversal signal and the basket-wide floating-loss cap; never disable the basket floating-loss protection, or you lose the last safety fuse.
In choppy, ranging conditions it will reverse more frequently, and drawdown in that phase can exceed gains from the same period; the strategy performs better in clearly one-directional markets and may see stretches of loss in ranging ones — past performance does not indicate future results.
This page only describes the strategy's logic and behavior and is not investment advice; gold CFDs carry high risk — assess your own risk tolerance before deciding.

Want to see it running live?

Message us on Telegram, or WeChat ezmoney50 and mention "Jin She Chu Dong" — we'll set you up with a read-only MT4/MT5 demo account and walk you through licensing. Partners get their own pricing.

Chat on Telegram
← Back to strategy library
Ask our AI on Telegram