Chiến lược & backtestStrategy & backtests
So sánh backtestBacktest comparison
Nhật ký mọi lần backtest, bảng so sánh, kết luận và bài học — từ bản TURBO 05/2026, qua H4-origin 07/2026, đến config STABLE hiện tại là pass58. The log of every backtest run, comparison tables, verdicts and lessons — from the TURBO build of 05/2026, through H4-origin in 07/2026, to the current STABLE config, pass58.
Log bắt đầu với EA v1.20+ (05/2026) và được bổ sung tới v1.41 (07/07/2026). Khuyến nghị deploy của nó đã bị thay thế hai lần: TURBO (21/05/2026) → H4-origin (09/07/2026, xem Tóm tắt chiến lược) → pass58 (05/08/2026, mục ngay dưới). Hiện tại: EA production 1.42 b7, config ổn định v1.42.b7-pass58.set (xem từng giá trị). Các bảng lịch sử bên dưới giữ nguyên để tham khảo.
The log starts on EA v1.20+ (05/2026) and was extended up to v1.41 (07/07/2026). Its deploy recommendation has been superseded twice: TURBO (21/05/2026) → H4-origin (09/07/2026, see Strategy summary) → pass58 (05/08/2026, next section). Today: production EA 1.42 b7, stable config v1.42.b7-pass58.set (see every value). The historical tables below are kept for reference.
Config STABLE hiện tại = pass58Current STABLE config = pass58
Ngày 05/08/2026 user chốt pass58 là config LATEST + STABLE production. Lúc chốt, EA là GoldenRobber-1.41.1.mq5 (fork từ 1.41, không có stair-step 1.42–1.47); file .set gốc nằm trong backtest/new-backtest/v1.41.1-pass58-choppyUpgrade-StairMarket-29072026-0112/. Kết luận này được ghi trong log backtest của dự án ngày 05/08/2026, không nằm trong docs/BACKTEST_COMPARISON.md.
- Bản chất: Trend M3 + DCA Neg OFF (
InpDCANegEnable=false). - pass58 vs MEDIUM khác ĐÚNG 1 nút = DCANeg (cùng M3/MA30/neutral 10/mọi thứ còn lại) → gần như phép thử có kiểm soát: MEDIUM (DCANeg bật) CHẾT ở staircase 2023; pass58 (DCANeg tắt) SỐNG. DCANeg-off là cơ chế sống (chặn rổ ngược trend phình), không phải may mắn tham số.
- pass58 vs RANK1 (H4-origin) khác ở TrendTF (M3 vs H4). ⇒ 2 cách sửa cái chết của MEDIUM: RANK1 đổi TF→H4 (phòng thủ, profit thấp); pass58 tắt DCANeg (giữ M3, profit cao).
On 05/08/2026 the user declared pass58 the LATEST + STABLE production config. At that time the EA was GoldenRobber-1.41.1.mq5 (forked from 1.41, without the 1.42–1.47 stair-step); the original .set lives in backtest/new-backtest/v1.41.1-pass58-choppyUpgrade-StairMarket-29072026-0112/. This conclusion was recorded in the project's backtest log on 05/08/2026; it is not part of docs/BACKTEST_COMPARISON.md.
- What it is: Trend M3 + DCA Neg OFF (
InpDCANegEnable=false). - pass58 vs MEDIUM differ by EXACTLY 1 knob = DCANeg (same M3/MA30/neutral 10/everything else) → a near-controlled test: MEDIUM (DCANeg on) DIES in the 2023 staircase; pass58 (DCANeg off) SURVIVES. DCANeg-off is the survival mechanism (it stops the counter-trend basket from ballooning), not lucky parameters.
- pass58 vs RANK1 (H4-origin) differ in TrendTF (M3 vs H4). ⇒ Two ways to fix MEDIUM's death: RANK1 moves the TF→H4 (defensive, lower profit); pass58 turns DCANeg off (keeps M3, higher profit).
| pass58 · backtestpass58 · backtest | LãiProfit | Max %DD equityMax equity DD % | Equity thấp nhấtMin equity | Ghi chúNotes |
|---|---|---|---|---|
| 2023–2026 / $100k | +$332,040 | 38.0% | $69,235 | Equity tái dựng; basket 49.7 lot. Lãi cao nhất trong nhóm sống mọi regime.Reconstructed equity; basket 49.7 lot. Highest profit among the builds that survive every regime. |
| 2024–2026 / $100k | +$311k | 33.5% | — | Thấp hơn MEDIUM (50.4%) và RANK1 (34.7%)Lower than MEDIUM (50.4%) and RANK1 (34.7%) |
| 2023–2026 / $140k | lợi nhuận 237%237% return | ~29.4% | $109k |
DD dồn HẾT vào staircase 2023 (38%, min equity $69k); 2024–26 nhẹ (33.5%) → cần vốn chịu được cú sụt năm đầu. Kết luận cũ "mọi config M3-primary đều CHÁY staircase 2023" không còn đúng tuyệt đối: pass58 (M3 + DCANeg off) là ngoại lệ đầu tiên sống 2023. RANK1 (H4-origin, +$161k, min equity $99k, DD 30.6%) / TrueScale (H4 ×1.5, +$240k) vẫn là bản an-toàn-đầu-kỳ tốt nhất nếu ưu tiên độ bền; pass58 = profit cao nhất, được chọn làm stable.
The DD is concentrated ENTIRELY in the 2023 staircase (38%, min equity $69k); 2024–26 is lighter (33.5%) → capital must absorb a first-year drop. The old conclusion "every M3-primary config BLOWS UP in the 2023 staircase" is no longer absolutely true: pass58 (M3 + DCANeg off) is the first exception that survives 2023. RANK1 (H4-origin, +$161k, min equity $99k, DD 30.6%) / TrueScale (H4 ×1.5, +$240k) remain the best safe-from-day-one builds if durability comes first; pass58 = highest profit, chosen as stable.
| NgàyDate | Khuyến nghị deployDeploy recommendation | Trạng tháiStatus |
|---|---|---|
| 21/05/2026 | 21-05-2026_FINAL_TURBO.set | lịch sửhistorical |
| 09/07/2026 | H4-origin (DEPLOY/ScalpingTrending-H4origin-mult1.5-Scale1.5x-DEPLOY-08072026.set) | lịch sửhistorical |
| 05/08/2026 | pass58 (EA 1.41.1) | STABLE |
| 12/09/2026 | archive/configs/v1.42.b2-pass58-12092026.set (pass58 cho 1.42 b2 — khi đó production còn là 1.41.4 b21; nay là b7 với v1.42.b7-pass58.set)(pass58 for 1.42 b2 — production was still 1.41.4 b21 then; today it is b7 with v1.42.b7-pass58.set) | STABLE |
Phân tích pass58 trên EA 1.41.4 (StrongMove ON/OFF, vốn khuyến nghị): Phân tích pass58 (1.41.4).
pass58 analysed on EA 1.41.4 (StrongMove ON/OFF, recommended capital): pass58 analysis (1.41.4).
Phạm vi log ban đầuOriginal log scope
- Giai đoạn phân tíchPeriod analyzed
- 17–22/05/2026
- Symbol
- XAUUSD (Gold)
- Vốn ban đầuInitial deposit
- $100,000
- Phiên bản EAEA version
- v1.20+ (bộ lọc Pivot Point, bật Auto-method)v1.20+ (Pivot Point filter, Auto-method enabled)
Khuyến nghị cuối (05/2026, lịch sử)Final recommendation (05/2026, historical)
File deploy: 21-05-2026_FINAL_TURBO.set
Deploy file: 21-05-2026_FINAL_TURBO.set
Config nền: 21-05-2026_10-37.set (Sharpe 3.24, Win 80%, DD 23%)
+ Scale lot 1.8× (StartLot 0.09/0.036, MaxLot 0.54/0.36)
= Profit ~$215k + DD ~42% + Sharpe 3.24
so với A baseline ($212k, DD 42%, Sharpe 2.10):
✅ Profit tương đương
✅ Lợi nhuận điều chỉnh rủi ro gấp 1.54×
✅ Win rate +7.5 điểm (80% vs 72%)
✅ Chuỗi thua ngắn hơn 30% (17 vs 24)
✅ Recovery Factor gấp 1.54× (3.70 vs 2.40)
Yêu cầu vốn: ≥ $150k (thoải mái)
Base config: 21-05-2026_10-37.set (Sharpe 3.24, Win 80%, DD 23%)
+ Lot scale 1.8× (StartLot 0.09/0.036, MaxLot 0.54/0.36)
= Profit ~$215k + DD ~42% + Sharpe 3.24
vs A baseline ($212k, DD 42%, Sharpe 2.10):
✅ Equivalent profit
✅ Risk-adjusted return 1.54×
✅ Win rate +7.5 points (80% vs 72%)
✅ Loss streak 30% shorter (17 vs 24)
✅ Recovery Factor 1.54× (3.70 vs 2.40)
Capital requirement: ≥ $150k (comfortable)
Bảng so sánh tổngMaster comparison table
| Config | Net Profit | PF | Sharpe | Win% | DD% | DD$ | Trades | Z-Score | Recovery | Kết luậnVerdict |
|---|---|---|---|---|---|---|---|---|---|---|
A baseline (17-05-2026_02-43.set) | $212,658 | 1.10 | 2.10 | 72.31% | 42.19% | $88,534 | 14,668 | -19.77 | 2.40 | Profit tối đa, có spike+dipMax profit, has spike+dip |
21-05-2026_10-37.set ⭐ | $119,454 | 1.12 | 3.24 | 79.86% | 23.20% | $32,303 | 9,374 | -27.87 | 3.70 | Chất lượng tốt nhất, vốn thấp vẫn ổnBest quality, low capital OK |
21-05-2026_FINAL_TURBO.set ⭐⭐ (deploy) | ~$215,000 | 1.12 | 3.24 | 79.86% | ~42% | ~$58,000 | 9,374 | -27.87 | 3.70 | = profit A + chất lượng 1.54×= A profit + quality 1.54× |
17-05-2026_02-43_PivotTF2H-Woodie.set | $121,276 | 1.11 | 2.85 | 74.36% | 35.44% | $63,891 | 5,924 | -2.85 | 1.90 | Biến thể Woodie, profit thấpWoodie alt, low profit |
19-05-2026_trend-pivot-coop_194k.set AVOID | $194,430 | 1.05 | 2.04 | 71.10% | 33.39% | $92,655 | 12,643 | -35.02 | 2.10 | AVOID — thảm hoạ Trend M3Trend M3 disaster |
20-05-2026_FINAL_TURBO.set (V1) AVOID | $65,620 | 1.11 | 1.94 | 67.93% | 28.24% | $43,703 | 4,422 | +13.98 | 1.50 | AVOID — Pivot D1 lọc quá tayPivot D1 over-filter |
Chi tiết từng configPer-config details
Config A baseline — 17-05-2026_02-43.set
| Net Profit | $212,658.05 |
| Trend | M30 EMA20 Neutral=50, ApplyInit+Add |
| S/R | Bật M15 + H4 confluence, Score≥4, xác nhận nếnEnabled M15 + H4 confluence, Score≥4, Candle confirm |
| Pivot | OFF |
| DCA Pos | StartLot 0.05, Mult 1.5, MinPips 27, MaxLot 0.2 |
| DCA Neg | StartLot 0.02, Mult 1.2, MinPips 34, MaxLot 0.2, TPEnable=true (57 pips) |
| Tia | ProfitUSD $30, ClusterMin 3, AnchorMaxDist 6000 |
| Hedge | Mode 3 (PerRound), After 10, Lot 70% |
| GlobalTP | $70 |
| SingleRound | Có, MaxAdds 15, GapInits 10Yes, MaxAdds 15, GapInits 10 |
| Risk Protection | Tắt hếtAll OFF |
| Pattern | Tăng trưởng mượt + thỉnh thoảng spike+dip cuối kỳ DCA chainSmooth growth + occasional spike+dip at the end of a DCA chain |
Config 21-05-2026_10-37.set — Vô địch chất lượng ⭐Config 21-05-2026_10-37.set — Quality champion ⭐
Net Profit: $119,454.95. Khác biệt chính so với A baseline (7 thay đổi):
- GlobalTPUSD: $70 → $30 ← thay đổi then chốt, thắng nhỏ thường xuyên
- S/R: Enable=true → false ← tắt S/R
- Pivot: OFF → ON (H2 Camarilla Prox=30 MaxLv=2 chỉ ApplyInit)
- Trend TF: M30 → M15 (phản ứng nhanh hơn)
- SingleRound MaxAdds: 15 → 10 (chuỗi ngắn hơn)
- DCAPos MaxLot: 0.2 → 0.3 (thêm dư địa lũy tiến)
- DCANeg TPEnable: true → false (để Tia đóng)
Kết quả: Win 80%, Sharpe 3.24, DD 23%, đường cong mượt. Hiệu quả mỗi lệnh: $12.74 (tương tự $14.50 của A nhưng sạch hơn).
Net Profit: $119,454.95. Key differences vs A baseline (7 changes):
- GlobalTPUSD: $70 → $30 ← key change, frequent small wins
- S/R: Enable=true → false ← S/R OFF
- Pivot: OFF → ON (H2 Camarilla Prox=30 MaxLv=2 ApplyInit only)
- Trend TF: M30 → M15 (more responsive)
- SingleRound MaxAdds: 15 → 10 (cap chain shorter)
- DCAPos MaxLot: 0.2 → 0.3 (exponential headroom)
- DCANeg TPEnable: true → false (Tia handles close)
Result: Win 80%, Sharpe 3.24, DD 23%, smooth curves. Per-trade efficiency: $12.74 (similar to A's $14.50 but cleaner).
Config 21-05-2026_FINAL_TURBO.set — DEPLOY (05/2026) ⭐⭐Config 21-05-2026_FINAL_TURBO.set — DEPLOY (05/2026) ⭐⭐
Giống hệt 21-05-2026_10-37.set + scale lot 1.8×:
- DCAPosStartLot 0.05 → 0.09
- DCANegStartLot 0.02 → 0.036
- DCAPosMaxLot 0.30 → 0.54
- DCANegMaxLot 0.20 → 0.36
Mọi tham số khác giống hệt 21-05-2026_10-37. Scale lot giữ nguyên: Sharpe, PF, Win%, Z-Score, Recovery (chỉ số $ nhân lên).
Same as 21-05-2026_10-37.set + lot scale 1.8×:
- DCAPosStartLot 0.05 → 0.09
- DCANegStartLot 0.02 → 0.036
- DCAPosMaxLot 0.30 → 0.54
- DCANegMaxLot 0.20 → 0.36
All other params identical to 21-05-2026_10-37. Lot scale preserves: Sharpe, PF, Win%, Z-Score, Recovery (only $$ scales).
Bài học chính từ phân tích nàyKey insights from this analysis
1. Trend Filter M3 = THẢM HOẠ1. Trend Filter M3 = DISASTER
Config 19-05-2026_trend-pivot-coop_194k.set dùng InpTrendFilterTF=3 (M3) — làm avg loss GẤP ĐÔI ($534 → $1,076). M3 + EMA50 + Neutral=5 pip → tín hiệu trend lật liên tục → Init bị trễ → chuỗi DCA kéo dài → lỗ lớn hơn.
Config 19-05-2026_trend-pivot-coop_194k.set used InpTrendFilterTF=3 (M3) — caused avg loss to DOUBLE ($534 → $1,076). M3 + EMA50 + Neutral=5 pips → trend signal flips constantly → Init delayed → DCA chain extends → bigger losses.
Bài học: Trend Filter TF nên ≥ M15 cho XAU. M30 hoặc H4 là lý tưởng.
Lesson: Trend Filter TF should be ≥ M15 for XAU. M30 or H4 ideal.
2. Pivot D1 với ApplyInit có thể LỌC QUÁ TAY2. Pivot D1 with ApplyInit can OVER-FILTER
20-05-2026_FINAL_TURBO.set (V1) thêm Pivot D1 Auto ApplyInit → số lệnh giảm 14,668 → 4,422 (chặn 70%) → profit giảm $212k → $65k.
20-05-2026_FINAL_TURBO.set (V1) added Pivot D1 Auto ApplyInit → trades dropped from 14,668 → 4,422 (70% block) → profit drop $212k → $65k.
Bài học: Pivot D1 khắt khe trong giai đoạn XAU có trend chặn quá nhiều lệnh. Dùng Pivot H2 Camarilla với ApplyInit + Proximity ≥ 30 nếu kết hợp với DCA. Hoặc đặt ApplyInit=false, ApplyAdd=false để chỉ hiển thị.
Lesson: Pivot D1 strict on trending XAU period blocks too many entries. Use Pivot H2 Camarilla with ApplyInit + Proximity ≥ 30 if combining with DCA. Or set ApplyInit=false, ApplyAdd=false for pure visualization.
3. GlobalTPUSD = $30 là động lực chính của độ mượt3. GlobalTPUSD = $30 is the CORE smoothness driver
Config 21-05 đóng round ở $30 thay vì $70 của A → thắng nhỏ thường xuyên → Win rate nhảy 72% → 80%, DD giảm một nửa 42% → 23%.
21-05 config closes round at $30 vs A's $70 → frequent small wins → Win rate jumps 72% → 80%, DD halved 42% → 23%.
Bài học: GlobalTP thấp = thắng thường xuyên + đường cong mượt. Cao hơn = lãi mỗi round lớn hơn nhưng có kiểu spike+dip. Điểm ngọt cho XAU intraday: $25–40.
Lesson: Lower GlobalTP = frequent wins + smoother curves. Higher = bigger profit per round but spike+dip pattern. Sweet spot for XAU intraday: $25–40.
4. Scale lot giữ nguyên các chỉ số chất lượng4. Lot scale preserves quality metrics
Sharpe, PF, Win%, Z-Score, Recovery Factor giữ nguyên khi scale lot (mọi thứ chỉ nhân N). DD% giữ nguyên; DD$ nhân N.
Sharpe, PF, Win%, Z-Score, Recovery Factor stay constant when scaling lot (everything just multiplied by N). DD% stays same; DD$ scales by N.
Bài học: Tìm config chất lượng tốt nhất trước, rồi scale lot để đạt profit mong muốn. Đừng trộn thay đổi chất lượng với thay đổi scale cùng lúc.
Lesson: Find best quality config first, then scale lot to match desired profit. Don't mix quality changes + scale changes simultaneously.
Đính chính về sau (Tóm tắt chiến lược, bài học 5): với config có ngưỡng USD, scale lot mà giữ USD cố định làm dịch dynamics — Pass 10 scale 1.5× đã cháy -$96,858. Phải scale cả USD target và vốn.
Later correction (Strategy summary, lesson 5): on configs with USD thresholds, scaling lot while keeping USD fixed shifts the dynamics — Pass 10 scaled 1.5× blew up at -$96,858. The USD targets and capital must scale too.
5. S/R và Pivot là thay thế, không cộng dồn5. S/R + Pivot can be substitutes, not additives
21-05 tắt S/R + bật Pivot H2 Camarilla → chạy rất tốt. A baseline chỉ dùng S/R — cũng chạy được. Kết hợp cả hai ở chế độ COOP có thể lọc quá tay.
21-05 disabled S/R + enabled Pivot H2 Camarilla → worked beautifully. A baseline used S/R only — also worked. Combining both in COOP can over-filter.
Bài học: Chọn MỘT bộ lọc cấu trúc (S/R HOẶC Pivot), không dùng cả hai. Dùng cái hợp regime thị trường (S/R cho swing/vùng, Pivot cho mức ngày/intraday).
Lesson: Pick ONE structural filter (S/R OR Pivot), not both. Use the one that fits market regime (S/R for swing/zones, Pivot for daily/intraday levels).
6. Tắt TP của DCANeg giúp Tia đóng cụm tốt hơn6. DCANeg TP disabled lets Tia close cluster better
A baseline có DCANeg TP=57 pip (tự đóng) → phá cụm trước khi Tia kịp đóng hiệu quả. 21-05 tắt → Tia xử lý mọi lệnh đóng → gom cụm tốt hơn.
A baseline had DCANeg TP=57 pips (auto-close) → broke up clusters before Tia could close them efficiently. 21-05 disabled → Tia handles all closes → better cluster aggregation.
Bài học: Khi bật Tia BotDCAStyle, tắt TP từng lệnh của DCANeg để Tia toàn quyền.
Lesson: With Tia BotDCAStyle enabled, disable per-order TP on DCANeg to give Tia complete control.
7. Thứ bậc Trend Filter TF cho XAU7. Trend Filter TF hierarchy for XAU
| TF | Tác độngEffect | Kết luậnVerdict |
|---|---|---|
| M1–M5 | Quá nhiễu, tín hiệu chập chờnToo noisy, signals flicker | AVOID |
| M15 | Nhạy, hợp DCA intradayResponsive, good for intraday DCA | Tốt nhất cho config 21-05Best for 21-05 config |
| M30 | Ổn định, kinh điểnStable, classical | Tốt nhất cho A baselineBest for A baseline |
| H1 | Ổn định, chậm hơnStable, slower | OK |
| H4 | Chậm, giao dịch swingSlow, swing trades | OK cho giữ lâuOK for hold-long |
| D1 | Chỉ trend lớnMajor trend only | Quá chậm cho DCAToo slow for DCA |
Ghi chú: bảng này là nhận định 05/2026. Về sau H4 được kiểm chứng là TF bền nhất cho survival (mục v1.40), còn pass58 lại sống với M3 nhờ tắt DCANeg (mục pass58).
Note: this table is the 05/2026 view. Later H4 was verified as the most durable TF for survival (v1.40 section), while pass58 survives on M3 by disabling DCANeg (pass58 section).
Cây quyết định chọn config (05/2026)Decision tree for choosing config (05/2026)
1. Profit mục tiêu mỗi $100k vốn mỗi kỳ?
├─ $100-150k → dùng 21-05-2026_10-37.set (lot 1.0×)
├─ $200-250k → dùng 21-05-2026_FINAL_TURBO.set (lot 1.8×) ⭐
├─ $250-300k → scale 2.0× (cần vốn $200k)
└─ $300k+ → scale 2.5× (cần vốn $250k+)
2. Mức chịu rủi ro?
├─ Thấp DD < 30% → 21-05-2026_10-37.set (DD 23%)
├─ Vừa DD 35-45% → 21-05-2026_FINAL_TURBO.set (DD ~42%) ⭐
└─ Cao DD 45-60% → scale 2.0×+ (DD 46%+)
3. Vốn có sẵn?
├─ $100k → 21-05-2026_10-37.set HOẶC A baseline
├─ $150k+ → 21-05-2026_FINAL_TURBO.set ⭐
└─ $300k+ → có thể scale 2.5-3.0× (kiểu TURBO)
1. Target profit per 100k capital per period?
├─ $100-150k → use 21-05-2026_10-37.set (1.0× lot)
├─ $200-250k → use 21-05-2026_FINAL_TURBO.set (1.8× lot) ⭐
├─ $250-300k → scale 2.0× (need $200k capital)
└─ $300k+ → scale 2.5× (need $250k+ capital)
2. Risk tolerance?
├─ Low DD < 30% → 21-05-2026_10-37.set (DD 23%)
├─ Moderate DD 35-45% → 21-05-2026_FINAL_TURBO.set (DD ~42%) ⭐
└─ High DD 45-60% → scale 2.0×+ (DD 46%+)
3. Capital available?
├─ $100k → 21-05-2026_10-37.set OR A baseline
├─ $150k+ → 21-05-2026_FINAL_TURBO.set ⭐
└─ $300k+ → can scale 2.5-3.0× (TURBO style)
Config cần TRÁNHConfigs to AVOID
| File | Vì sao tránhWhy avoid |
|---|---|
19-05-2026_trend-pivot-coop_194k.set | Trend M3 + Neutral=5 → avg loss GẤP ĐÔI, tín hiệu nhiễuTrend M3 + Neutral=5 → avg loss DOUBLED, noisy signals |
20-05-2026_FINAL.set | A + Pivot D1 → có thể lọc quá tay khi thị trường có trendA + Pivot D1 → can over-filter trending markets |
20-05-2026_FINAL_TIGHT.set | Quá khắt khe — profit giảm 50%+Too restrictive — profit dropped 50%+ |
20-05-2026_FINAL_BALANCED.set | Bật Sideway+MaxDD giết profitSideway+MaxDD ON killed profit |
20-05-2026_FINAL_PROFIT.set | Chưa test — A baseline + Pivot, có thể lọc quá tayUntested — A baseline + Pivot, may over-filter |
20-05-2026_FINAL_TURBO.set (V1) | Pivot D1 chặn 70% lệnhPivot D1 blocking 70% trades |
20-05-2026_FINAL_TURBO_V2.set | Chưa test — A baseline + lot 1.5× không PivotUntested — A baseline + lot 1.5× no Pivot |
20-05-2026_FINAL_TURBO_V3.set | Nền Woodie H2 + lot 1.5× — chạy được nhưng kém nền 21-05Woodie H2 base + lot 1.5× — works but inferior to 21-05 base |
Danh sách file cuối (xếp theo khuyến nghị, 05/2026)Final files list (sorted by recommendation, 05/2026)
| Rank | File | Trường hợp dùngUse case |
|---|---|---|
| 🥇 1 | 21-05-2026_FINAL_TURBO.set | DEPLOY — profit tối đa + chất lượng, vốn ≥ $150kmax profit + quality, ≥ $150k capital |
| 🥈 2 | 21-05-2026_10-37.set | Vô địch chất lượng, an toàn với vốn $100kQuality champion, $100k capital safe |
| 🥉 3 | 17-05-2026_02-43.set | A baseline tham chiếu (đã chứng minh $212k)A baseline reference (proven $212k) |
17-05-2026_02-43_PivotTF2H-Woodie.set | Biến thể Woodie thay thế (kém 21-05)Alternative Woodie variant (inferior to 21-05) |
Phương pháp kiểm thửTesting methodology
Xác minh trước khi deployPre-deploy verification
- Backtest trên cùng giai đoạn với baseline (100% real ticks).
- Xác minh chỉ số đạt mục tiêu: Net Profit ≥ mục tiêu; PF ≥ 1.08; Sharpe ≥ 2.5 (mục tiêu 3.0+); Equity DD% ≤ ngưỡng mục tiêu; Win rate ≥ 70%.
- Xem đường equity bằng mắt: KHÔNG có kiểu spike+dip (nhất là cuối kỳ); đường Balance/Equity bám sát nhau; giai đoạn drawdown ngắn và hồi được.
- Stress test ở giai đoạn biến động: COVID crash 2020 (tháng 3/2020); 2022 Aug Yen carry unwind; các cú breakout vàng 2024.
- Backtest on the same period as baseline (100% real ticks).
- Verify metrics within targets: Net Profit ≥ target; PF ≥ 1.08; Sharpe ≥ 2.5 (target 3.0+); Equity DD% ≤ target threshold; Win rate ≥ 70%.
- Inspect equity curve visually: should NOT have spike+dip patterns (especially at period end); Balance/Equity curves should track closely; drawdown periods should be short and recoverable.
- Stress test on volatile periods: 2020 COVID crash (March 2020); 2022 Aug Yen carry unwind; 2024 gold breakouts.
Checklist deploy liveLive deployment checklist
- Magic number không trùng với vị thế đang có
- URL cloud sync đã whitelist trong MT5 (Tools → Options → Expert Advisors)
InpCloudMyApiUrl=https://fxconsole.gamelau.uk/api/tmap(KHÔNG để trống)InpCloudNodeIdduy nhất cho mỗi VPS nếu chạy multi-node- Vốn tài khoản ≥ vốn khuyến nghị cho config đã chọn
- Bật bảo vệ rủi ro nếu tài khoản < vốn khuyến nghị:
InpMaxDrawdownEnable=true,Percent=50,CloseAll=false;InpFlashCrashEnable=true;InpMaxLossPerDayEnable=true,USD=5000
- Magic number doesn't conflict with existing positions
- Cloud sync URL whitelisted in MT5 (Tools → Options → Expert Advisors)
InpCloudMyApiUrl=https://fxconsole.gamelau.uk/api/tmap(NOT empty)InpCloudNodeIdunique per VPS if running multi-node- Account size ≥ recommended capital for chosen config
- Risk protection enabled if account < recommended capital:
InpMaxDrawdownEnable=true,Percent=50,CloseAll=false;InpFlashCrashEnable=true;InpMaxLossPerDayEnable=true,USD=5000
Tham số liên quan: Cloud Sync · Risk · Flash Crash. Chuẩn deploy hiện tại: Build & release.
Related inputs: Cloud Sync · Risk · Flash Crash. Current deploy procedure: Builds & releases.
Thuật ngữGlossary
- PF (Profit Factor)
- Gross Profit ÷ Gross Loss. > 1.0 = có lãi. > 1.10 = có edge khá. > 1.30 = mạnh.Gross Profit ÷ Gross Loss. > 1.0 = profitable. > 1.10 = decent edge. > 1.30 = strong.
- Sharpe Ratio
- Lợi nhuận điều chỉnh rủi ro. > 2.0 = tốt. > 3.0 = xuất sắc.Risk-adjusted return. > 2.0 = good. > 3.0 = exceptional.
- Recovery Factor
- Net Profit ÷ Max Drawdown. > 2.0 = khỏe. > 3.0 = xuất sắc.Net Profit ÷ Max Drawdown. > 2.0 = healthy. > 3.0 = excellent.
- Z-Score
- Đo mức gom cụm của lỗ. 0 = các lệnh độc lập. Âm = thắng/thua gom cụm (điển hình của DCA). Dưới -25 = rủi ro gom cụm mạnh.Loss clustering measure. 0 = independent trades. Negative = wins/losses cluster (typical DCA). Below -25 = strong clustering risk.
- Equity DD %
- Sụt tối đa từ đỉnh xuống đáy trên equity (tính cả floating). Quan trọng cho tâm lý khi chạy live.Max peak-to-trough on equity (includes floating). Critical for live trading psychology.
- Balance DD %
- Sụt tối đa từ đỉnh xuống đáy trên balance (chỉ lệnh đã đóng).Max peak-to-trough on balance (closed trades only).
v1.24 — Bộ lọc Wick Rejection (thêm 20/05/2026)v1.24 — Wick Rejection Filter (added 20/05/2026)
Bộ lọc chất lượng tuỳ chọn mới — mặc định tắt, phải bật rõ ràng trong config. Tham số hiện hành: Wick.
New optional quality filter — disabled by default, must be explicitly enabled in config. Current inputs: Wick.
Ý tưởngConcept
Mode A theo hướng + logic AND đa khung:
- Râu trên dài trên CẢ HAI
InpWickFilterTF1(M15) VÀInpWickFilterTF2(H1) → chặn init/add BUY - Râu dưới dài trên cả hai khung → chặn init/add SELL
- Logic AND giảm tín hiệu giả đáng kể
Mode A directional + Multi-TF AND logic:
- Long upper wick on BOTH
InpWickFilterTF1(M15) ANDInpWickFilterTF2(H1) → block BUY init/add - Long lower wick on both TFs → block SELL init/add
- AND logic reduces false positives significantly
Input (mặc định tắt trừ khi ghi chú)Inputs (all default OFF except where noted)
InpWickFilterEnable = false # master on/off
InpWickFilterTF1 = M15 # fast TF
InpWickFilterTF2 = H1 # slow TF (AND with TF1)
InpWickLookbackBars = 2 # check last 2 closed bars
InpWickToBodyRatio = 2.0 # wick ≥ 2× body
InpWickToRangeMin = 0.5 # wick ≥ 50% of range
InpWickApplyInit = true # gate Init
InpWickApplyAdd = false # default OFF for DCA recovery
Công thức từ chốiRejection formula
upperWick = H − max(C, O)
lowerWick = min(C, O) − L
range = H − L
body = |C − O|
Rejection if:
wick ≥ body × ToBodyRatio AND wick ≥ range × ToRangeMin
Trường hợp doji (body=0): chỉ xét range × ToRangeMin.
Doji case (body=0): only range × ToRangeMin checked.
Chưa backtest (tại thời điểm đó)Untested in backtests yet (at the time)
Chưa áp cho config nào đang có. Khuyến nghị test như lớp cộng thêm trên nền 21-05-2026_10-37 hoặc A baseline:
Not yet applied to any of the existing configs. Recommended to test as an additive layer on top of 21-05-2026_10-37 or A baseline:
- Backtest A baseline + bật WickFilter (TF1=M15 TF2=H1 mặc định)
- Kỳ vọng: lệnh ↓ 5-15%, win rate ↑ 2-5%, DD% thấp hơn chút
- Nếu wick filter cải thiện chất lượng rõ → dùng; nếu không thì bỏ (nó chỉ là một lớp thêm)
- Backtest A baseline + WickFilter enabled (TF1=M15 TF2=H1 default settings)
- Expected: trades ↓ 5-15%, win rate ↑ 2-5%, DD% slightly lower
- If wick filter helps quality significantly → adopt; otherwise revert (it's just an extra layer)
Hiển thị trên panelPanel display
Dòng 5c mới hiển thị trạng thái wick (lime — cả hai phía OK; cam — chặn một phía; đỏ — bỏ qua round):
New row 5c shows wick status (lime — both sides OK; orange — one side blocked; red — round skipped):
Wick[PERIOD_M15+PERIOD_H1]: clean ✓ (lime — both sides OK)
Wick[PERIOD_M15+PERIOD_H1]: UP (block Buy) (orange)
Wick[PERIOD_M15+PERIOD_H1]: DN (block Sell) (orange)
Wick[PERIOD_M15+PERIOD_H1]: BOTH ❌ (red — round skipped)
Khi nào dùngWhen to use
- ✓ XAU phiên overlap London/US có nhiều spike/whipsaw → filter giúp tránh đu đỉnh/đáy
- ✓ Kết hợp với Trend Filter H4 + Pivot D1 → triple confluence
- ✗ Thị trường trending mạnh ít wick → filter chỉ giảm số lệnh không cần thiết
- ✗ DCA dày + lot nhỏ → có thể chặn pullback hợp lệ
- ✓ XAU during the London/US overlap with many spikes/whipsaws → the filter helps avoid buying tops / selling bottoms
- ✓ Combined with Trend Filter H4 + Pivot D1 → triple confluence
- ✗ Strongly trending market with few wicks → the filter only cuts trades unnecessarily
- ✗ Dense DCA + small lots → may block valid pullbacks
v1.40 — Nguyên nhân cháy 2023 + fix Trend H4 (thêm 06/07/2026)v1.40 — 2023 blow-up root cause + Trend H4 fix (added 06/07/2026)
Vấn đềThe problem
Config archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set (Trend TF = M3, giải thích chi tiết) làm tài khoản cháy (margin stop-out) khi backtest gồm giai đoạn Jan–May 2023 (gold rally bền hậu SVB), nhưng chạy tốt trên 2024–2026. Bằng chứng: balance đứng yên >4 tháng rồi thanh lý 126 lệnh cùng lúc (so -1243.49%), $100k → âm.
Config archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set (Trend TF = M3, explained in detail) blew the account (margin stop-out) when the backtest included Jan–May 2023 (the sustained post-SVB gold rally), yet ran well on 2024–2026. Evidence: balance flat for >4 months, then 126 orders liquidated at once (so -1243.49%), $100k → negative.
Nguyên nhân gốc (cơ chế, không phải thiếu SL)Root cause (mechanism, not a missing SL)
- Nhánh chặn bồi-ngược-trend (
ProcessAddEntries, dòng ~3771) phụ thuộc hoàn toànGetTrendDirection()trênInpTrendFilterTF. M3 + adaptive neutral 5 pip (strong-trend) →tdlật xoành xoạch → SELL-bồi tràn vào giữa uptrend → rổ 2 chiều phình to. InpMultiTfTrendEnable(H4) chỉ áp cho Init, KHÔNG áp cho Add (dòng 2304) → Add mất xác nhận HTF.- Khi rổ lỗ sâu, net floating không về +$10 → Global TP (bias close-all) không kích được →
DcaTpShouldSkipForSide(stuck-lock v1.31, dòng 633: bất kỳ lệnh nào lỗ ≥$500 HOẶC tuổi ≥4h → hold winners CẢ 2 side) khoá mọi chốt lời → deadlock → margin call. - Không có phanh cứng:
GlobalSLUSD=999999(tắt),MaxDrawdown/MaxLossPerDaychỉ chặn lệnh mới, không đóng rổ.
- The branch that blocks counter-trend adds (
ProcessAddEntries, line ~3771) depends entirely onGetTrendDirection()onInpTrendFilterTF. M3 + adaptive neutral 5 pips (strong-trend) →tdflips back and forth → SELL adds flood in mid-uptrend → the two-sided basket balloons. InpMultiTfTrendEnable(H4) applies only to Init, NOT to Add (line 2304) → adds lose higher-TF confirmation.- With the basket deep in loss, net floating never returns to +$10 → Global TP (bias close-all) cannot fire →
DcaTpShouldSkipForSide(stuck-lock v1.31, line 633: any order with loss ≥$500 OR age ≥4h → hold winners on BOTH sides) locks every profit-take → deadlock → margin call. - No hard brake:
GlobalSLUSD=999999(off),MaxDrawdown/MaxLossPerDayonly block new orders, they don't close the basket.
Cách sửa — chỉ đổi Trend TF (không cắt lỗ, giữ Global TP close-all)The fix — change only the Trend TF (no stop-loss, keep Global TP close-all)
InpTrendFilterTF: M3 (3) → H4 (16388). TF chậm ⇒ cam kết theo trend lớn ⇒ chặn được SELL-bồi ⇒ rổ nghiêng 1 chiều ⇒ Global TP đóng sạch được.
InpTrendFilterTF: M3 (3) → H4 (16388). Slow TF ⇒ commits to the big trend ⇒ SELL adds get blocked ⇒ the basket leans one way ⇒ Global TP can flatten it.
So sánh 4 bản — new-backtest, XAUUSD, $100k, 2024.01 → 2026.074-way comparison — new-backtest, XAUUSD, $100k, 2024.01 → 2026.07
| Config | Net | $/ngày GD$/trading day | PF | Win% | Max EqDD | Recovery | Worst float | Min eq | Max lot | Add (bồi)Adds | Kết luậnVerdict |
|---|---|---|---|---|---|---|---|---|---|---|---|
| M3-gốcM3 original (27052025-1456) | +$237k | $390 | 1.098 | 89.7% | $117k (27%) | 2.02 | -$135k | $92.5k | 39.6 | 28,204 | lãi cao nhất, chất lượng thấp, cháy 2023highest profit, low quality, blows up in 2023 |
| H4-origin (05072026-0142) | +$144k | $240 | 1.188 | 92.0% | $44k (35%) | 3.27 | -$68k | $82.6k | 24.8 | 3,726 | bền, an toàndurable, safe |
| H4-LotDegrade ⭐⭐ | +$127k | $216 | 1.187 | 91.5% | $28k (12.4%) | 4.58 | -$59k | $90.4k | 16.1 | 3,895 | 🥇 BEST risk-adjusted |
| M15/EMA20/Neu25 | +$212k | — | 1.127 | 90.9% | $84k | 2.53 | -$202k | $60.5k | 37.4 | 6,700 | bị lấn át (rủi ro cao, lãi < M3)dominated (high risk, profit < M3) |
Lưu ý: M3/H4/M15 đều InpTrendAdaptive=true → NeutralPips gần như vô hiệu; khác biệt thực chất chỉ là Trend TF. M15 để adaptive neutral=5 + EMA20 cam kết 1 chiều → floating tệ nhất.
Note: M3/H4/M15 all have InpTrendAdaptive=true → NeutralPips is nearly ineffective; the real difference is only the Trend TF. M15 with adaptive neutral=5 + EMA20 commits to one direction → worst floating.
H4-LotDegrade — bản tối ưu risk-adjusted (thêm 06/07/2026)H4-LotDegrade — the risk-adjusted optimum (added 06/07/2026)
Từ H4-origin đổi đúng 2 tham số làm martingale nhẹ hơn:
InpDCAPosMultiplier: 1.5 → 1.2 (lot bồi tăng chậm hơn)InpDCAPosMaxLot: 0.5 → 0.36 (trần lot mỗi lệnh thấp hơn)
Đổi ~12% lợi nhuận (H4-origin $144.5k → $127k; $216/ngày GD, $139/ngày lịch) để lấy:
- Max DD giảm gần nửa: $44k → $28k (%DD 34.8% → 12.4%)
- Recovery Factor 4.58 — cao nhất mọi config (H4-origin 3.27, M3 2.02)
- Book nhỏ nhất 16.1 lot (M3 39.6, H4-origin 24.8), floating nhẹ nhất -$59k, min equity cao nhất $90.4k
- PF/Win gần như không đổi (1.187 / 91.5%)
Kết luận: với ưu tiên bền vững + follow-trend + không cắt lỗ, H4-LotDegrade là lựa chọn số 1. DD chỉ 12.4% ⇒ nhiều dư địa scale lot an toàn nhất: scale ~1.8× → ~$228k ở DD ~22% (insight #4: scale giữ nguyên PF/Recovery), bằng lãi M3 với rủi ro thấp hơn ~4×. Chưa test 2023 — cần chạy 2023–2026 để xác nhận 0 stop-out như H4-origin.
From H4-origin, change exactly 2 parameters to make the martingale lighter:
InpDCAPosMultiplier: 1.5 → 1.2 (add lots grow more slowly)InpDCAPosMaxLot: 0.5 → 0.36 (lower per-order lot cap)
Trades ~12% of profit (H4-origin $144.5k → $127k; $216/trading day, $139/calendar day) for:
- Max DD almost halved: $44k → $28k (%DD 34.8% → 12.4%)
- Recovery Factor 4.58 — highest of every config (H4-origin 3.27, M3 2.02)
- Smallest book 16.1 lot (M3 39.6, H4-origin 24.8), lightest floating -$59k, highest min equity $90.4k
- PF/Win nearly unchanged (1.187 / 91.5%)
Verdict: prioritising durability + follow-trend + no stop-loss, H4-LotDegrade is choice #1. DD only 12.4% ⇒ the most room to scale lot safely: scale ~1.8× → ~$228k at DD ~22% (insight #4: scaling keeps PF/Recovery), matching M3's profit with ~4× lower risk. Not tested on 2023 yet — a 2023–2026 run is needed to confirm 0 stop-outs like H4-origin.
Kết quả về sau (mục v1.41): trên 2023–2026, mult 1.2 cho DD 39.6%, Recovery 1.59, và bản 1.8× + ApplyAdd đã cháy.
Later result (v1.41 section): on 2023–2026, mult 1.2 gave DD 39.6%, Recovery 1.59, and the 1.8× + ApplyAdd build blew up.
H4 được kiểm chứng trên TOÀN BỘ 2023.01 → 2026.07 (gồm giai đoạn giết M3)H4 verified on the WHOLE 2023.01 → 2026.07 (including the period that killed M3)
| Chỉ sốMetric | Giá trịValue |
|---|---|
| Stop-out | 0 ✓ (M3: cháy về âm)(M3: blown to negative) |
| Net profit | +$161,066 (100k → 261k) |
| PF / Win% | 1.197 / 91.5% |
| Max Equity DD | $44,154 (30.8%) — @ 2025.01, không phải 2023not 2023 |
| Min equity | $98,720 @ 2023.01.06 — 2023 gần như không sứt mẻ2023 barely scratched |
| Worst floating | -$68,405 · Max lot 24.8 · Recovery 3.65 |
| Chuỗi balance đứng yên dài nhấtLongest flat-balance stretch | 28.5 ngày28.5 days (M3: kẹt >4 tháng)(M3: stuck >4 months) |
Thêm 2023 vào chỉ +~$17k lãi mà maxDD/worst-float/max-lot giống hệt bản 2024–2026 → bền qua cả 2 regime.
Adding 2023 adds only +~$17k profit while maxDD/worst-float/max-lot stay identical to the 2024–2026 run → durable across both regimes.
Bài học (bổ sung insight #1): M3 không chỉ làm avg-loss gấp đôi — trong trend bền nhiều tháng nó gây margin stop-out do rổ 2 chiều + stuck-lock deadlock. Trend TF cho DCA martingale trên XAU nên ≥ M15; H4 là mức bền nhất đã kiểm chứng cho survival. Muốn tăng lãi → scale lot trên nền H4, KHÔNG hạ TF.
Lesson (extends insight #1): M3 doesn't just double the avg loss — in a months-long sustained trend it causes a margin stop-out through the two-sided basket + stuck-lock deadlock. The Trend TF for a DCA martingale on XAU should be ≥ M15; H4 is the most durable level verified for survival. To raise profit → scale lot on the H4 base, do NOT lower the TF.
Phát hiện v1.41 — ApplyAdd, martingale × regime, M3+block (thêm 07/07/2026)v1.41 findings — ApplyAdd, martingale × regime, M3+block (added 07/07/2026)
1. InpMultiTfTrendApplyAdd=true bỏ đói DCA recovery — KHÔNG dùng trên primary=H41. InpMultiTfTrendApplyAdd=true starves DCA recovery — do NOT use on primary=H4
Phép thử cô lập (có kiểm soát, gold-standard) — H4-origin, chỉ lật đúng 1 flag ApplyAdd:
Isolated test (controlled, gold-standard) — H4-origin, flipping exactly 1 flag, ApplyAdd:
| H4-origin 2023–2026 | ApplyAdd=false | ApplyAdd=true |
|---|---|---|
| Net | +$161,066 ✓ | -$97,667 cháy 05/2025blown 05/2025 |
| PF | 1.197 | 0.872 |
| Rounds (Init) | 12,883 | 4,887 |
| Kết cụcOutcome | 0 stop-out | 1 stop-out, min equity -$6,836, DD 104%1 stop-out, min equity -$6,836, DD 104% |
Lật ApplyAdd false→true biến +$161k thành -$98k trên cùng một config. Cơ chế: primary H4/EMA30 + MultiTF H4/EMA50 = gác add 2 lớp H4 → chặn ~62% lệnh bồi (rounds 12,883→4,887) → chết đói recovery → PF tụt dưới 1.0 (1.197→0.872) → chảy máu → margin call. Lệnh bồi ngược trend vừa là rủi ro vừa là động cơ gỡ lỗ — chặn quá tay = tự sát.
3/3 config ApplyAdd=true đều cháy 2023–2026: LotDegrade(H4) 1.8× -$98,728 · M3+block(H2) -$101,115 · H4-origin -$97,667.
⇒ primary=H4 → luôn ApplyAdd=false. ApplyAdd chỉ còn cửa lý thuyết trên primary=M3 + HTF lỏng (H1) — chưa có bản nào sống, ưu tiên thấp.
Flipping ApplyAdd false→true turns +$161k into -$98k on the same config. Mechanism: primary H4/EMA30 + MultiTF H4/EMA50 = adds gated by two H4 layers → ~62% of adds blocked (rounds 12,883→4,887) → recovery starves → PF drops below 1.0 (1.197→0.872) → bleeding → margin call. Counter-trend adds are both the risk and the loss-recovery engine — over-blocking them is suicide.
3/3 ApplyAdd=true configs blew up on 2023–2026: LotDegrade(H4) 1.8× -$98,728 · M3+block(H2) -$101,115 · H4-origin -$97,667.
⇒ primary=H4 → always ApplyAdd=false. ApplyAdd only has a theoretical chance on primary=M3 + a loose HTF (H1) — no build has survived yet, low priority.
2. Martingale × regime — KHÔNG có "một mult tốt nhất"2. Martingale × regime — there is NO "one best multiplier"
| Regime | mult 1.2 (LotDegrade) | mult 1.5 (H4-origin) |
|---|---|---|
| 2024–2026 (êm/chop)(calm/chop) | ✓ DD 12.4%, Recovery 4.58 | DD 34.8%, Recovery 3.27 |
| 2023–2026 (bậc thang trend)(trend staircase) | DD 39.6%, Recovery 1.59, PF 1.12 | ✓ PF 1.197, Recovery 3.65, lãi/đơn vị ~1.9×profit per unit ~1.9× (+$161k @1.0× > +$152k @1.8×) |
- Martingale nhẹ (1.2): rổ nhỏ, DD thấp trong chop — nhưng gỡ yếu trong trend bậc thang (average-down yếu → round âm lâu qua từng nấc) → DD cao, Recovery thấp.
- Martingale mạnh (1.5): average-down mạnh → gỡ tốt các pullback của bậc thang → thắng rõ trên 2023.
- ⇒ All-regime (gồm staircase kiểu 2023) → nghiêng mult 1.5 (H4-origin). Kỳ vọng thị trường êm/sideway → mult 1.2 (LotDegrade).
- Light martingale (1.2): small basket, low DD in chop — but weak recovery in a trend staircase (weak average-down → rounds stay negative across each step) → high DD, low Recovery.
- Strong martingale (1.5): strong average-down → recovers the staircase pullbacks well → clearly wins on 2023.
- ⇒ All-regime (including a 2023-style staircase) → lean to mult 1.5 (H4-origin). If you expect a calm/sideways market → mult 1.2 (LotDegrade).
3. M3 + block CẢ Init&Add (ApplyInit+ApplyAdd)3. M3 + block BOTH Init&Add (ApplyInit+ApplyAdd)
- 2024–2026: +$341k, PF 1.13, Recovery 5.25, Win 90% — lãi cao nhất, NHƯNG Balance DD 50.4%, cụm lỗ -$145,185 (17 lệnh), Z-Score 99.74%.
- 2023–2026 (HTF=H2): CHÁY -$101,115, PF 0.38, DD 101%, chết sớm trong 2023. ⇒ Xác nhận bản +$341k chỉ là bẫy overfit 2024–2026; block-add giết recovery như mọi bản ApplyAdd=true khác.
- 2024–2026: +$341k, PF 1.13, Recovery 5.25, Win 90% — the highest profit, BUT Balance DD 50.4%, a loss cluster of -$145,185 (17 orders), Z-Score 99.74%.
- 2023–2026 (HTF=H2): BLOWN -$101,115, PF 0.38, DD 101%, dead early in 2023. ⇒ Confirms the +$341k build is just a 2024–2026 overfit trap; blocking adds kills recovery like every other ApplyAdd=true build.
Ngữ cảnh cho các phiên làm việc sauConversation context for future sessions
Khi tiếp tục làm việc với EA này, tham chiếu file này cùng:
- Memory file:
~/.claude/projects/.../memory/MEMORY.md - File EA:
GoldenRobber.mq5(phiên bản lúc đó 1.24+; bản production hiện tại xem Build & release) - README:
README/index.html(tài liệu tính năng đầy đủ) - Quy tắc bắt buộc: luôn tăng
GR_BUILD+#property versionkhi sửaGoldenRobber.mq5(xemfeedback_version_bump.md)
Cập nhật lần cuối của log: 07/07/2026 (v1.41 — tách biệt CÓ KIỂM SOÁT: H4-origin ApplyAdd false→true lật +$161k→-$98k [bỏ đói recovery]; 3/3 config ApplyAdd=true cháy trên 2023–2026; sắc thái martingale×regime [1.2 cho chop, 1.5 cho trend bậc thang]; M3+block được xác nhận overfit [+341k trên 24-26 → -101k trên 23-26]).
When resuming work on this EA, reference this file plus:
- Memory file:
~/.claude/projects/.../memory/MEMORY.md - EA file:
GoldenRobber.mq5(version at the time 1.24+; for the current production build see Builds & releases) - README:
README/index.html(full feature docs) - Critical rule: always bump
GR_BUILD+#property versionwhen modifyingGoldenRobber.mq5(seefeedback_version_bump.md)
Log last updated: 07/07/2026 (v1.41 — CONTROLLED isolation: H4-origin ApplyAdd false→true flips +$161k→-$98k [starves recovery]; 3/3 ApplyAdd=true configs blew up on 2023–2026; martingale×regime nuance [1.2 for chop, 1.5 for staircase-trend]; M3+block confirmed overfit [+341k on 24-26 → -101k on 23-26]).