Chiến lược & backtestStrategy & backtests

GoldenRobber EA — Cách hoạt độngGoldenRobber EA — How it works

Giải thích cơ chế đặt lệnh / đóng lệnh của EA — mọi thứ EA có thể làm, minh hoạ bằng config archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set. Muốn biết bản production đang thật sự chạy thế nào: EA chạy theo pass58. The EA's entry / exit mechanisms — everything it can do, illustrated with the archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set config. For what the production build actually does: How it runs (pass58).

  • Cập nhậtUpdated 13/09/2026
  • NguồnSource docs/GoldenRobber-StrategyExplained.html · docs/GoldenRobber-StrategyExplained-EN.html
  • Phiên bản mô tảDescribes EA v1.40
Trang cơ chế — không phải trang cấu hình đang chạyMechanism page — not the running configuration

Tài liệu gốc mô tả EA v1.40 với config pass10 hybrid (Trend Filter M3, DCA Neg bật). Hiện tại: EA production là 1.42 b7, config ổn định là v1.42.b7-pass58.set (xem từng giá trị). Các khái niệm trên trang này (round, chân P/N, bộ lọc Init, DCA, Cluster scalping, Global TP) vẫn đúng vì chúng là cơ chế trong mã. Nhưng nhiều cơ chế bị config pass58 tắt nên không bao giờ chạy — danh sách đầy đủ ở EA chạy theo pass58. pass58 giữ Trend M3/MA30, DCA Pos 0.1 ×1.5 trần 0.5 và Global TP $10, nhưng tắt DCA Neg (InpDCANegEnable=false) và tắt StrongMove. Chính config hybrid M3 trên trang này đã cháy khi backtest gồm Jan–May 2023: xem So sánh backtest.

The original document describes EA v1.40 with the pass10 hybrid config (Trend Filter M3, DCA Neg on). Today the production EA is 1.42 b7 and the stable config is v1.42.b7-pass58.set (see every value). The concepts on this page (round, P/N legs, Init filters, DCA, Cluster scalping, Global TP) still hold, because they are mechanisms in the source. But pass58 disables several of them, so they never run — the full list is on How it runs (pass58). pass58 keeps Trend M3/MA30, DCA Pos 0.1 ×1.5 capped at 0.5 and Global TP $10, but disables DCA Neg (InpDCANegEnable=false) and StrongMove. The hybrid M3 config described here blew up in backtests that include Jan–May 2023: see Backtest comparison.

LoạiType
Grid / DCA + Cluster Scalping
Symbol mục tiêuTarget symbol
XAUUSD (Gold)
Khung vào lệnhEntry cadence
theo nến đóng (M1 bar)on closed bar (M1)
PipPoints
10 (1 pip = 10 points ≈ 0.10 giá gold)10 (1 pip = 10 points ≈ 0.10 gold price)
Lưu ýDisclaimer

Tài liệu mô tả cách EA vận hành (phiên bản v1.40) và giá trị config nêu trên. Đây không phải lời khuyên đầu tư. EA theo trend và nhồi ở phía thuận trend; lệnh kẹt sau khi đảo chiều được cơ chế Cluster scalping (chốt theo cụm) gỡ — nhưng KHÔNG có cắt lỗ cứng, nên cú đi ngược mạnh hoặc whipsaw vẫn có thể gây drawdown lớn / margin stop-out.

This document describes how the EA operates (version v1.40) and the config values above. Not investment advice. The EA follows the trend and adds on the with-trend side; positions left stuck after a reversal are recovered by the Cluster scalping (close-by-cluster) mechanism — but there is no hard stop-loss, so a strong adverse move or whipsaw can still cause large drawdown / margin stop-out.

1. Tổng quan triết lý1. Strategy philosophy

GoldenRobber là EA lưới hai chiều có điều hướng theo trend kết hợp Cluster scalping (chốt theo cụm). Ý tưởng cốt lõi:

  • Mở lệnh theo trend — mỗi "round" mở chân thuận trend (P) và/hoặc chân ngược (N), nhưng khi bật Trend Filter thì ưu tiên chỉ mở chân thuận trend.
  • Nhồi DCA khi giá đi tiếp — chân thắng (Pos) nhồi để cộng dồn lợi nhuận, chân thua (Neg) nhồi để gồng/giảm giá vốn.
  • Chốt lời nhỏ liên tục — đóng từng lệnh ở TP nhỏ ($10), hoặc đóng cụm nhiều lệnh khi tổng đạt mục tiêu (Cluster scalping — chốt theo cụm), hoặc chốt toàn tài khoản ở Global TP ($10).
  • Phòng thủ thích nghi — khi tài khoản "khỏe" thì giao dịch mạnh tay (aggressive như pass 10); khi số lệnh tăng cao (≥ 24) thì tự bật loạt bộ lọc chống thị trường nhiễu (choppy).

GoldenRobber is a trend-directed two-sided grid combined with Cluster scalping (close by cluster). Core ideas:

  • Enter with the trend — each "round" opens a with-trend leg (P) and/or a counter leg (N); with the Trend Filter on it favours only the with-trend leg.
  • DCA averaging as price extends — the winning side (Pos) adds to compound profit, the losing side (Neg) adds to hold / lower the average price.
  • Take small profits constantly — close each order at a small TP ($10), or close a cluster of orders when their combined profit hits a target (Cluster scalping — close by cluster), or flat the whole account at Global TP ($10).
  • Adaptive defense — when the account is "healthy" it trades aggressively (like pass 10); once order count climbs (≥ 24) it auto-enables a stack of choppy-market filters.

Tên file config — "ScalpingTrending pass10 choppyUpgrade hybrid" — phản ánh đúng cấu hình: scalping theo trend, bản pass 10, nâng cấp phòng thủ choppy, chế độ hybrid (HTTP + TCP cloud sync).

The config name — "ScalpingTrending pass10 choppyUpgrade hybrid" — matches the setup exactly: trend scalping, the pass-10 build, choppy-defense upgrade, hybrid mode (HTTP + TCP cloud sync).

2. Khái niệm cốt lõi2. Core concepts

Round (R)

Một "round" = một lần Init. Mỗi round có một mã số riêng, các lệnh được gắn nhãn (comment) Init R5 P, B#3… để EA truy vết (xem comment lệnh).

Với config này SingleRoundMode = true: mỗi chiều chỉ chạy một round tại một thời điểm, phải nhồi xong (tối đa 8 adds/side) trước khi Init mới cùng chiều.

A "round" = one Init. Each round has its own ID number; orders are tagged Init R5 P, B#3… for tracking (see order comments).

This config sets SingleRoundMode = true: only one round per direction at a time; it must finish adding (max 8 adds/side) before a new same-side Init.

Chân P và chân NP leg and N leg

P (Positive) = chân thuận trend. Dùng tham số nhóm DCA Pos (lot lớn hơn, nhồi để ăn theo xu hướng).

N (Negative) = chân ngược trend. Dùng nhóm DCA Neg (lot nhỏ, multiplier thấp — gồng/bảo hiểm).

Trend UP → P = Buy, N = Sell. Trend DOWN → P = Sell, N = Buy.

P (Positive) = the with-trend leg. Uses the DCA Pos group (bigger lot, rides the trend).

N (Negative) = the counter-trend leg. Uses the DCA Neg group (small lot, low multiplier — hold / insurance).

Trend UP → P = Buy, N = Sell. Trend DOWN → P = Sell, N = Buy.

Đơn vị pip trong configPip unit in this config

Trong config này 1 pip = 10 points. Với XAUUSD (point = 0.01) thì 1 pip ≈ 0.10 giá. Vì vậy khoảng cách nhồi 34 pip ≈ 3.4 USD dịch chuyển giá vàng giữa các lần nhồi.

In this config 1 pip = 10 points. On XAUUSD (point = 0.01) that's ≈ 0.10 in price. So the 34-pip add spacing ≈ a 3.4 USD gold-price move between adds.

3. Mở lệnh — Init một round3. Opening — Init a round

EA kiểm tra điều kiện mở lệnh mỗi khi có một nến mới vừa đóng.

The EA checks the open conditions each time a new bar has just closed.

Quyết định chiều (Buy hay Sell)Direction decision (Buy or Sell)

flowchart LR
  MA["Đường MA30 trên M3 quyết định hướng, có vùng đệm quanh MA (rộng/hẹp theo ADX)"]
  MA --> U["Giá trên MA30 + vùng đệm"] --> UP(["UP"]) --> UPR["P = BUY · N = SELL"]
  MA --> M["Giá quanh MA30 (trong đệm)"] --> NEU(["TRUNG TÍNH"]) --> NEUR["CHẶN Init — không vào lệnh"]
  MA --> D["Giá dưới MA30 − vùng đệm"] --> DN(["DOWN"]) --> DNR["P = SELL · N = BUY"]

Bước 1 — Xác định hướng: EA so sánh giá với đường trung bình MA30 (khung M3). Khi trung tính (không rõ xu hướng) thì không vào lệnh.

flowchart LR
  MA["The MA-30 on M3 sets direction, with a neutral band around the MA (width varies with ADX)"]
  MA --> U["Price above MA30 + band"] --> UP(["UP"]) --> UPR["P = BUY · N = SELL"]
  MA --> M["Price within the band"] --> NEU(["NEUTRAL"]) --> NEUR["BLOCK Init — no entry"]
  MA --> D["Price below MA30 − band"] --> DN(["DOWN"]) --> DNR["P = SELL · N = BUY"]

Step 1 — Direction: the EA compares price to the MA-30 (M3). When neutral (no clear trend) it does not enter.

  1. Xác định hướng trend dựa trên đường trung bình MA 30 trên khung M3 (có một vùng trung tính quanh MA). Kết quả: UP, DOWN, hoặc trung tính.
  2. Nếu UP → P = Buy; nếu DOWN → P = Sell. Nếu trung tính → fallback theo màu nến vừa đóng (xanh = Buy, đỏ = Sell).
  3. Vì Trend Filter ApplyInit = true: ở trạng thái trung tính, Init bị chặn (không cho mở khi không rõ trend).
  1. Determine trend direction from the MA-30 moving average on M3 (with a neutral band around the MA). Result: UP, DOWN, or neutral.
  2. UP → P = Buy; DOWN → P = Sell. If neutral → fallback to the last closed candle colour (green = Buy, red = Sell).
  3. Since Trend Filter ApplyInit = true: in the neutral state Init is blocked (no entry without a clear trend).

Lot vào lệnhEntry lot

ChânLeg Lot khởi điểmStart lot Ghi chúNote
P thuận trendwith-trend0.10Lot khởi điểm chân thuận trend (tự co giãn theo rủi ro)With-trend leg start lot (auto-scales with risk)
N ngược trendcounter-trend0.02Lot khởi điểm chân ngược trend (tự co giãn theo rủi ro)Counter-trend leg start lot (auto-scales with risk)

Vì Trend Filter chặn chiều trung tính và chỉ cho chân thuận trend khi rõ xu hướng, thực tế nhiều round chỉ mở một chân P theo trend, thay vì cả cặp P+N.

Because the Trend Filter blocks the neutral direction and only allows the with-trend leg when the trend is clear, in practice many rounds open just a single P leg instead of a full P+N pair.

Điều kiện thời điểm Init (config này)Init timing conditions (this config)

Tham sốParameter Giá trịValue Ý nghĩaMeaning
InitCooldownSec60sCách lần Init trước tối thiểu 60 giâyAt least 60s since the previous Init
WaitAfterCloseSec60sChờ 60s sau khi vừa đóng lệnh mới được mở lạiWait 60s after a close before opening again
InitRequireMinPipstrueBắt buộc cách lệnh cũ tối thiểu MinPips (chống trùng giá)Must be ≥ MinPips from existing orders (anti-duplicate price)
InitMinBarRangeBars5Xét biên độ trong 5 nến gần nhấtEvaluates range over the last 5 bars
StrongMovetrue ×1.2Khi nến biến động mạnh, nới khoảng cách ×1.2 (tránh vào lúc spike)On strong-volatility bars, widen spacing ×1.2 (avoid spike entries)
SingleRoundGapInits / GapMaxPips10 / 0Cho phép Init lấp khoảng trống giữa các lệnh (GapMaxPips=0 = không giới hạn pip)Allow Init to fill gaps between orders (GapMaxPips=0 = no pip cap)
Trading Time00:00–23:59Giao dịch cả ngàyTrades all day
Weekend ProtectionOFFKhông có bảo vệ cuối tuần trong config nàyNo weekend protection in this config

Ở các bản sau (1.41.x), nhóm StrongMove thành một gói "init theo cú chạy mạnh" có TF riêng, bypass filter hướng và yêu cầu phá SR. Xem Phân tích pass58 (1.41.4) và tham số Order Execution.

In later builds (1.41.x) the StrongMove group became an "init on a strong move" package with its own TF, direction-filter bypass and an SR-break requirement. See pass58 analysis (1.41.4) and the Order Execution inputs.

4. Bộ lọc vào lệnh (Init & Add)4. Entry filters (Init & Add)

flowchart TD
  S["Tín hiệu Init — nến M1 vừa đóng"] --> F1["1 · Trend Filter · M3 MA30 (hướng rõ ≠ trung tính)"]
  F1 --> F2["2 · Multi-TF · H4 MA50 phải đồng thuận *"]
  F2 --> F3["3 · Pivot · H1 · giá gần S/R trong 50 pip"]
  F3 --> F4["4 · Wick · M15 + H1 · không bị nến từ chối"]
  F4 --> F5["5 · Choppy ADX · H1 · ADX ≥ 22 *"]
  F5 --> F6["6 · Dual-Dir · không mở ngược chiều khi chop *"]
  F6 --> F7["7 · Anti-Whipsaw · chưa dính cooldown lỗ *"]
  F7 --> OK(["✓ MỞ LỆNH Init — chỉ chân thuận trend (P)"])
  F1 -.-> X["✗ phía vi phạm bị chặn"]
  F2 -.-> X
  F3 -.-> X
  F4 -.-> X
  F5 -.-> X
  F6 -.-> X
  F7 -.-> X

Mọi lệnh Init phải "rơi" qua từng tầng lọc từ trên xuống. Vi phạm bất kỳ tầng nào → chặn phía đó. Các bước có dấu * chỉ bật khi tài khoản ≥ 24 lệnh (Choppy Defense); dưới 24 lệnh, các tầng * bị bỏ qua nên EA vào lệnh thoáng hơn.

flowchart TD
  S["Init signal — M1 bar just closed"] --> F1["1 · Trend Filter · M3 MA30 (clear direction ≠ neutral)"]
  F1 --> F2["2 · Multi-TF · H4 MA50 must agree *"]
  F2 --> F3["3 · Pivot · H1 · price near S/R within 50 pips"]
  F3 --> F4["4 · Wick · M15 + H1 · no candle rejection"]
  F4 --> F5["5 · Choppy ADX · H1 · ADX ≥ 22 *"]
  F5 --> F6["6 · Dual-Dir · no opposite side during chop *"]
  F6 --> F7["7 · Anti-Whipsaw · not in loss cooldown *"]
  F7 --> OK(["✓ OPEN Init — with-trend leg only (P)"])
  F1 -.-> X["✗ violating side is blocked"]
  F2 -.-> X
  F3 -.-> X
  F4 -.-> X
  F5 -.-> X
  F6 -.-> X
  F7 -.-> X

Every Init "falls" through each filter top-to-bottom; failing any step blocks that side. Starred steps activate only when the account holds ≥ 24 orders (Choppy Defense); below 24 orders they are skipped, so the EA enters more freely.

Trước khi mở/nhồi, lệnh phải qua một chuỗi bộ lọc. Cột "Áp cho" cho biết bộ lọc áp cho lần mở mới, lần nhồi, hay cả hai (theo config).

Before opening/adding, an order passes a filter chain. The "Applies to" column shows whether each filter gates new opens, adds, or both (per this config).

Bộ lọcFilter Trạng tháiState Áp choApplies to Hành vi (config này)Behaviour (this config)
Trend Filter (MA30, M3)ONInit + AddUP→chỉ Buy, DOWN→chỉ Sell, trung tính→chặn. NeutralPips động theo ADX.UP→Buy only, DOWN→Sell only, neutral→block. NeutralPips adapts to ADX.
Multi-TF Trend (H4, MA50)ON*InitKhung H4 phải đồng thuận hướng, nếu không → chặn chiều đó. (*chỉ khi defense active)H4 must agree on direction, else block that side. (*only when defense active)
Pivot Point (H1, lvl 2)ONInitBuy phải gần Support, Sell gần Resistance; trong bán kính 50 pip. Không áp cho Add.Buy must be near Support, Sell near Resistance; within 50 pips. Not applied to Add.
Wick Rejection (M15 + H1)ONInitRâu nến trên dài → chặn Buy; râu dưới dài → chặn Sell (AND 2 khung). Không áp Add.Long upper wick → block Buy; long lower wick → block Sell (AND of 2 TFs). Not on Add.
Choppy ADX (H1, ADX<22)ON*Init + AddADX<22 = thị trường nhiễu → chặn cả hai chiều. (*chỉ khi defense active)ADX<22 = choppy → block both sides. (*only when defense active)
Dual-Dir ChopON*InitKhi choppy + đã có Buy → cấm Init Sell (và ngược lại). Chống kẹt 2 chiều.When choppy + already have Buy → forbid Sell Init (and vice versa). Anti two-sided stuck.
Anti-Whipsaw CooldownON*InitLỗ thực ≥ $250 trong 24h → nghỉ 4h không Init. (*chỉ khi defense active)Realized loss ≥ $250 over 24h → pause Init for 4h. (*only when defense active)
Sideway (Bollinger)OFF—TắtDisabled
Support/ResistanceOFF—TắtDisabled
News Filter (lịch tin)News Filter (calendar)OFF—Tắt (config này tạo trước tính năng News)Disabled (this config predates the News feature)

Các mục đánh dấu * nằm trong Choppy Defense Group (mục 7): chỉ thực sự kích hoạt khi tài khoản đạt ngưỡng kích (ở đây: ≥ 24 lệnh). Khi dưới ngưỡng, EA bỏ qua chúng để vào lệnh mạnh tay. Tham số chi tiết: Trend · Pivot · Wick · Whipsaw defense.

Filters marked * belong to the Choppy Defense Group (section 7): they only truly activate once the account hits the trigger threshold (here: ≥ 24 orders). Below that, the EA skips them to enter aggressively. Input details: Trend · Pivot · Wick · Whipsaw defense.

5. Nhồi lệnh — DCA Pos & DCA Neg5. DCA adds — Pos & Neg

Khi giá dịch chuyển đủ MinPips so với mức tham chiếu của round, EA nhồi thêm lệnh. Bảng dưới là cỡ lot mỗi lần nhồi: chân thuận trend (P) 0.10 ×1.5 — trần 0.5, tăng nhanh để "ăn dày"; chân ngược trend (N) 0.02 ×1.2 — trần 0.2, lot nhỏ, tăng chậm để gồng.

When price moves at least MinPips from the round's reference level, the EA adds another order. The table below is the lot per add: the with-trend leg (P) 0.10 ×1.5 — cap 0.5 grows fast to press a winning move; the counter leg (N) 0.02 ×1.2 — cap 0.2 stays small and grows slowly to hold.

BậcStep Chân P (lot)P leg (lot) Chân N (lot)N leg (lot)
Init0.100.020
+10.150.024
+20.230.029
+30.340.035
+40.500.041
+50.500.050

Mỗi bậc cách nhau 34 pip (~3.4 giá vàng). Bậc lũy tiến reset về lot đầu khi một lệnh trong chuỗi được đóng.Each step is 34 pips (~3.4 in gold price). The ladder resets to the start lot when a link in the chain closes.

DCA Pos — chân thuận trendDCA Pos — with-trend leg

Start lot0.10
Multiplier×1.5 mỗi cấpper level
Lot tối đa/lệnhMax lot/order0.5
Khoảng cáchSpacing34 pip34 pips
Max trades0 = không giới hạn0 = unlimited

Lot tăng nhanh (0.10 → 0.15 → 0.225 → …) để "ăn dày" khi trend chạy đúng hướng.

Lot grows fast (0.10 → 0.15 → 0.225 → …) to compound when the trend runs the right way.

DCA Neg — chân ngược trendDCA Neg — counter-trend leg pass58: TẮTpass58: OFF

Nhóm này thuộc config pass10 hybrid. Config đang chạy (pass58) đặt InpDCANegEnable=false nên không có lệnh DCANeg nào — dữ liệu production chỉ thấy DCAPos R… B#/S# và Init R… P.

This group belongs to the pass10 hybrid config. The config in production (pass58) sets InpDCANegEnable=false, so no DCANeg order exists — live data only shows DCAPos R… B#/S# and Init R… P.

Start lot0.02
Multiplier×1.2 mỗi cấpper level
Lot tối đa/lệnhMax lot/order0.2
Khoảng cáchSpacing34 pip34 pips
Max trades0 = không giới hạn0 = unlimited

Lot nhỏ, tăng chậm — vai trò gồng/giảm giá vốn khi giá đi ngược chân thuận.

Small lot, slow growth — its role is to hold / average down when price moves against the P leg.

Cách tính lot: lot khởi điểm × hệ số nhân, lũy tiến theo số lệnh cùng chiều đã mở trong round, chặn trần ở mức lot tối đa. Trong config này, bậc lũy tiến reset về lot khởi điểm mỗi khi một lệnh trong chuỗi được đóng (DCA chain persistent tắt).

Khi nhồi, lệnh vẫn phải qua: Trend Filter, Pivot (Init thôi), Choppy. Riêng Wick & Pivot KHÔNG áp cho Add trong config này (ApplyAdd=false). Xem thêm các loại DCA và tham số DCA.

How lot is sized: start lot × a multiplier, compounding with the number of same-side orders already open in the round, capped at the max lot. In this config the compounding step resets back to the start lot whenever a chain order is closed (DCA chain persistent off).

When adding, orders still pass: Trend Filter, Pivot (Init only), Choppy. Note Wick & Pivot do NOT apply to Add in this config (ApplyAdd=false). See also DCA types and the DCA inputs.

6. Đóng lệnh — 5 con đường6. Closing — five paths

flowchart LR
  B(("RỔ LỆNH (mọi vị thế)"))
  B --> T1["① TP lẻ mỗi lệnh — chốt $10 (chân P)"]
  B --> T2["② Cluster scalping — $10 (gỡ lỗ $300)"]
  B --> T3["③ Global TP $10 → đóng sạch cả rổ"]
  B -.-> T4["④ Clear-Stuck — TẮT"]
  B -.-> T5["⑤ Hedge — TẮT (mềm)"]

Năm lối thoát của rổ lệnh. ④ và ⑤ bị tắt trong config này — và không có Global SL cứng (999999), nên khi giá đi ngược rổ có thể phình rất to.

flowchart LR
  B(("ORDER BASKET (all positions)"))
  B --> T1["① Per-order TP — close at $10 (P leg)"]
  B --> T2["② Cluster scalping — $10 (recover $300)"]
  B --> T3["③ Global TP $10 → flat the whole basket"]
  B -.-> T4["④ Clear-Stuck — OFF"]
  B -.-> T5["⑤ Hedge — OFF (soft)"]

Five ways the basket can close. ④ and ⑤ are disabled here — and there is no hard Global SL (999999), so if price runs against it the basket can balloon.

① Per-order TP (chốt từng lệnh)① Per-order TP (close each order)

Mỗi lệnh chân thuận trend tự chốt khi đạt $10 lợi nhuận (chế độ chốt nội bộ — EA tự đóng lệnh, không đặt TP lên broker). Chân ngược trend không bật chốt lời riêng → để cơ chế Cluster scalping (chốt theo cụm) gom lại.

Each with-trend leg order self-closes at $10 profit (internal close mode — the EA closes it itself, no broker TP order). The counter-trend leg has no per-order take-profit → it's left for the Cluster scalping (close-by-cluster) mechanism to harvest.

Tạm ngừng chốt lẻ: nếu chiều đối diện đang lỗ ≥ $500, EA ngừng chốt lẻ bên thắng — giữ các lệnh thắng để Cluster scalping ghép cụm với bên lỗ.

Pause on singles: if the opposite side is losing ≥ $500, the EA stops taking single profits on the winning side — holding the winners so Cluster scalping can pair them with the losing side.

② Cluster Scalping (chốt theo cụm)② Cluster Scalping (close by cluster)

Đây là phần "thông minh" nhất. EA gom nhiều lệnh (cả Buy lẫn Sell) thành một cụm và đóng đồng thời khi tổng lợi nhuận cụm đạt mục tiêu.

This is the "smart" part. The EA gathers multiple orders (both Buy and Sell) into a cluster and closes them together when the cluster's combined profit hits a target.

Tham số (config)Parameter (config) Giá trịValue Ý nghĩaMeaning
TiaProfitUSD$10Mục tiêu lợi nhuận cụm ở trạng thái bình thườngCluster profit target in the normal state
TiaProfitWhenLossUSD$300Khi tổng tài khoản lỗ ≥ $500 (HighTargetLoss) → nâng mục tiêu cụm lên $300 để gỡ lỗ đáng kểWhen total account loss ≥ $500 (HighTargetLoss) → raise the cluster target to $300 to meaningfully recover
ClusterMin3Cụm cần tối thiểu 3 lệnhCluster needs ≥ 3 orders
BotDCAStyle / MinSide / MinOthertrue / 2 / 3Mỗi chiều phải có tối thiểu số lệnh nhất định trong cụmEach side must contribute a minimum number of orders to the cluster
AnchorRequire / AnchorMaxDisttrue / 1000 piptrue / 1000 pipsCụm BẮT BUỘC chứa "neo" (lệnh lỗ xa nhất bên đối diện); nếu neo xa >1000 pip thì miễn điều kiện (van xả chống kẹt)The cluster MUST contain the "anchor" (farthest losing order on the opposite side); if the anchor is >1000 pips away the requirement is waived (anti-deadlock release valve)
PrioritizeByDistancetrueƯu tiên đóng lệnh lỗ xa giá hiện tại trướcPrefer closing losses farthest from current price first
DcaTpSynergytrueƯu tiên gom các lệnh thắng đang gần TP để tận dụngPrefer grouping winners already near their TP
BlockSameSideWhenStucktrueKhi có lệnh kẹt (lỗ ≥ $500 hoặc > 4h), không cho cụm chỉ-thắng cùng chiều fire — giữ winner chờ ghép với lệnh lỗWhen an order is stuck (loss ≥ $500 or age > 4h), don't let a winners-only same-side cluster fire — hold winners to pair with the loss
TiaMaxPositions22Giới hạn số lệnh đưa vào thuật toán chọn cụm (chống quá tải CPU)Cap on positions fed to the cluster-selection algorithm (CPU guard)

Cơ chế: EA tự động tìm tổ hợp lệnh tối ưu (gồm cả lệnh lỗ làm "neo") sao cho tổng lợi nhuận ≥ mục tiêu, rồi đóng đồng loạt → vừa chốt lời vừa "dọn" bớt lệnh lỗ kẹt. Chi tiết: tham số Tia, Tia và DCA TP.

Mechanism: the EA automatically finds the optimal combination of orders (including a losing "anchor") whose combined profit ≥ the target, then closes them at once → taking profit while clearing some stuck losses. Details: Tia inputs, Tia and DCA TP.

③ Global TP / SL (chốt toàn bộ)③ Global TP / SL (close everything)

Tham sốParameter Giá trịValue Hành viBehaviour
GlobalTPUSD$10Khi tổng lãi toàn bộ ≥ $10 → đóng SẠCH tất cả lệnhWhen total account profit ≥ $10 → close ALL orders
GlobalSLUSD999999Tắt thực tế — không có cắt lỗ tổngEffectively off — no total stop-loss

Đáng chú ý: Global TP chỉ $10 → EA có xu hướng "ăn non" cả rổ ngay khi tổng vừa dương $10. Nhưng không có Global SL (999999) và Clear-Stuck tắt → khi đi ngược, rổ lệnh có thể phình rất to mà không có chốt lỗ cứng. Đây là điểm rủi ro chính của config này.

Notable: Global TP is only $10 → the EA tends to flat the whole basket as soon as the total ticks +$10. But there is no Global SL (999999) and Clear-Stuck is off → when price runs against it, the order basket can balloon with no hard stop. This is the config's main risk.

④ Global SL Clear Stuck (dọn lệnh kẹt)④ Global SL Clear Stuck (clear stuck orders)

TẮT trong config này (tham số Clear Stuck).

OFF in this config (Clear Stuck inputs).

⑤ Hedging (phòng hộ)⑤ Hedging

Ngưỡng kích đặt rất cao (cần 9999 lệnh cùng chiều) → thực tế không bao giờ kích hoạt. Hedging bị tắt mềm trong config này (tham số Hedge).

The trigger threshold is set very high (needs 9999 same-side orders) → effectively never triggers. Hedging is soft-disabled in this config (Hedge inputs).

7. Hệ phòng thủ Choppy (trái tim bản "hybrid")7. Choppy defense (the heart of the "hybrid" build)

flowchart LR
  C{"Số lệnh đang mở"}
  C -->|"dưới 24 lệnh"| H["KHỎE: bỏ qua Choppy ADX · Multi-TF · Adaptive NP · Anti-Whipsaw · Dual-Dir → vào lệnh mạnh tay"]
  C -->|"từ 24 lệnh trở lên"| S["CĂNG: chặn khi ADX dưới 22 · nghỉ sau chuỗi lỗ · nới vùng đệm trend · cấm mở 2 chiều khi chop"]

Cả cụm phòng thủ là một "công tắc" bật/tắt theo số lệnh đang mở. Dưới 24 lệnh EA vào mạnh tay; từ 24 lệnh trở lên EA chuyển sang thận trọng. Công tắc: defense = (số lệnh ≥ 24). Hai trigger còn lại (lỗ nổi / lệch lot) = 0 nên đang tắt.

flowchart LR
  C{"Open order count"}
  C -->|"below 24 orders"| H["HEALTHY: skips Choppy ADX · Multi-TF · Adaptive NP · Anti-Whipsaw · Dual-Dir → trades aggressively"]
  C -->|"24 orders or more"| S["STRESSED: blocks when ADX below 22 · pauses after losses · widens trend band · bans dual direction"]

The whole defense stack is a switch that toggles on the number of open orders. Below 24 the EA trades aggressively; from 24 up it turns cautious. Switch: defense = (orders ≥ 24). The other two triggers (floating loss / lot-diff) are 0, so they are off.

Đây là "công tắc thông minh" quyết định khi nào bật loạt bộ lọc phòng thủ.

The "smart switch" deciding when to enable the defensive filter stack.

Cơ chế trigger (config này)Trigger mechanism (this config)

Trigger NgưỡngThreshold Kích hoạt khiFires when
Số lệnhOrder count (MinOrders)24Số lệnh (không tính hedge) ≥ 24Non-hedge orders ≥ 24
Lỗ nổiFloating loss (NegProfitUSD)0Tắt (giá trị 0 = không xét)Disabled (value 0 = not checked)
Lệch lotLot imbalance (LotDiffMin)0Tắt (giá trị 0 = không xét)Disabled (value 0 = not checked)

Quy tắc: defenseActive = (orders≥24) OR (loss trigger) OR (lotdiff trigger). Vì hai trigger sau = 0 (tắt), thực tế: defense bật khi và chỉ khi số lệnh ≥ 24.

Rule: defenseActive = (orders≥24) OR (loss trigger) OR (lotdiff trigger). Since the latter two are 0 (disabled), in practice: defense turns on if and only if order count ≥ 24.

Tài khoản KHỎE (< 24 lệnh)HEALTHY account (< 24 orders)

Bỏ qua Choppy ADX, Anti-Whipsaw, Adaptive NP, Multi-TF, Dual-Dir → vào lệnh mạnh tay (giống pass 10 gốc). Chỉ còn Trend + Pivot + Wick lọc.

Skips Choppy ADX, Anti-Whipsaw, Adaptive NP, Multi-TF, Dual-Dir → trades aggressively (like the original pass 10). Only Trend + Pivot + Wick filter remain.

Tài khoản CĂNG (≥ 24 lệnh)STRESSED account (≥ 24 orders)

Bật toàn bộ phòng thủ → thận trọng: chặn vào khi ADX<22 (nhiễu), nghỉ sau chuỗi lỗ, cấm mở 2 chiều, nới NeutralPips.

Enables the full defense stack → cautious: blocks entries when ADX<22 (choppy), pauses after loss streaks, forbids two-sided opens, widens NeutralPips.

Adaptive NeutralPips (vùng trung tính trend động)Adaptive NeutralPips (dynamic trend neutral band)

Khi hệ phòng thủ bật, EA đổi vùng trung tính của Trend Filter theo sức mạnh trend (ADX):

When defense is active, the EA changes the Trend Filter's neutral band by trend strength (ADX):

ADX Chế độRegime NeutralPips Hệ quảEffect
≥ 28Trend mạnhStrong trend5Nhạy — vào sát MA, bắt trend sớmSensitive — enter close to the MA, catch trends early
18–28Trung bìnhMid20Thận trọng vừaModerately cautious
< 18NhiễuChoppy50Khắt khe — cần lệch MA nhiều mới vàoStrict — needs a large MA deviation to enter

8. Bảng tổng hợp config này8. This config at a glance

NhómGroup Trạng tháiState Thông số chínhKey settings
Trading Time24/700:00 – 23:59
Single Round ModeONMax 8 adds/side, gap-init 10
Trend FilterONM3, MA30, ApplyInit+Add, NeutralPips độngM3, MA30, ApplyInit+Add, dynamic NeutralPips
PivotONH1, 50 pip, lvl 2, chỉ InitH1, 50 pips, lvl 2, Init only
Wick RejectionONM15+H1, chỉ InitM15+H1, Init only
Choppy Defense GroupONKích khi ≥ 24 lệnhTriggers at ≥ 24 orders
Choppy ADX / AntiWhip / MultiTF / DualDir / AdaptiveNPON*Trong group, kích theo triggerIn the group, gated by trigger
DCA PosON0.10 ×1.5, 34 pip, max 0.5, TP $100.10 ×1.5, 34 pips, max 0.5, TP $10
DCA NegON pass58: TẮTpass58: OFF0.02 ×1.2, 34 pip, max 0.2, không TP riêng. pass58 tắt nhánh này (InpDCANegEnable=false) nên không còn bồi ngược giá; cờ này chỉ chặn bước Add, còn chân N lúc Init bị Trend Filter (InpTrendFilterApplyInit=true) loại — thực tế production không có lệnh DCANeg nào — xem Config ổn định.0.02 ×1.2, 34 pips, max 0.2, no per-order TP. pass58 disables this branch (InpDCANegEnable=false), so there are no counter-price adds; the flag only gates the Add step, while the Init N leg is ruled out by the Trend Filter (InpTrendFilterApplyInit=true) — in production no DCANeg order exists — see Stable config.
Cluster scalping (chốt theo cụm)Cluster scalping (close by cluster)ONTarget $10 (gỡ lỗ $300), neo bắt buộc, max 22 vị thếTarget $10 (recover $300), anchor required, max 22 positions
Global TPON$10 → đóng sạch$10 → close all
Global SLOFF999999 (không cắt lỗ tổng)999999 (no total stop)
Clear Stuck / HedgingOFFTắt (Hedge AfterTrades 9999)Disabled (Hedge AfterTrades 9999)
Sideway / S-R / Flash CrashOFFTắtDisabled
Weekend / News FilterOFFTắtDisabled
Daily Limit / Max DD / Max Loss/DayOFFTắt — không giới hạn rủi ro theo ngàyDisabled — no per-day risk caps
Cloud SyncONHybrid → fxconsole.gamelau.uk
Residue PreventONChống để sót vị thế lẻ; AutoClean tắtPrevents leftover odd positions; AutoClean off

9. Vòng đời điển hình của một round9. Typical round lifecycle

flowchart LR
  subgraph R["Một round"]
    A["Init BUY 0.10"] --> B["DCA +34 pip, ×1.5"] --> C["TP $10 chốt lẻ"] --> D["trend đảo ▼"] --> E["N = SELL (gồng)"] --> F["Cluster scalping: gom winner + neo lỗ → đóng cụm ≥ $10"]
  end
  R -.->|"bất cứ lúc nào tổng lãi Σ ≥ $10"| G(["Global TP đóng sạch cả rổ"])

Một round điển hình: vào theo trend → nhồi khi giá đi tiếp → chốt lời nhỏ liên tục; khi giá đảo, chân ngược (N) gồng lại và cơ chế Cluster scalping (chốt theo cụm) dùng lãi chiều mới để gom winner + "neo" lỗ rồi đóng cụm. Global TP $10 có thể kết thúc cả rổ bất cứ lúc nào.

flowchart LR
  subgraph R["One round"]
    A["Init BUY 0.10"] --> B["DCA +34 pip, ×1.5"] --> C["TP $10 singles"] --> D["trend reverses ▼"] --> E["N = SELL (hold)"] --> F["Cluster scalping: winner + losing anchor → close cluster ≥ $10"]
  end
  R -.->|"any time total P/L Σ ≥ $10"| G(["Global TP flats the whole basket"])

A typical round: enter with the trend → add on continuation → take small TPs; after a reversal the counter leg (N) holds and the Cluster scalping (close by cluster) mechanism uses profit from the new direction to harvest winners plus the losing "anchor". Global TP $10 can end the whole basket at any moment.

  1. Phát hiện trend — ADX cao, giá vượt MA30 (M3) hơn NeutralPips động → trend UP xác định.
  2. Qua bộ lọc Init — Multi-TF (H4) đồng thuận, giá gần Pivot Support, không có râu nến từ chối, không choppy → cho phép.
  3. Init — mở chân P = Buy 0.10 lot (round R#k).
  4. Giá chạy đúng hướng +34 pip → DCA Pos nhồi Buy 0.15 (0.10×1.5). Tiếp tục theo trend.
  5. Chốt lẻ — từng lệnh Buy đạt +$10 tự đóng (Virtual TP). Lợi nhuận nhỏ gom liên tục.
  6. Giá quay đầu → chân N = Sell (DCA Neg 0.02 ×1.2) bắt đầu nhồi để gồng; bên Buy ngừng chốt lẻ nếu Sell lỗ ≥ $500.
  7. Cluster scalping — gom cụm — khi có đủ lệnh 2 chiều, EA ghép winner + neo lỗ thành cụm, đóng khi tổng ≥ $10 (hoặc $300 nếu đang lỗ nặng).
  8. Global TP $10 — bất cứ lúc nào tổng toàn tài khoản ≥ $10 → đóng sạch, kết thúc, chờ 60s rồi lặp lại.
  9. Nếu số lệnh ≥ 24 → hệ phòng thủ choppy bật, siết vào lệnh để không phình thêm trong thị trường nhiễu.
  1. Detect trend — high ADX, price above MA30 (M3) by more than the dynamic NeutralPips → UP trend confirmed.
  2. Pass Init filters — Multi-TF (H4) agrees, price near a Pivot Support, no rejection wick, not choppy → allowed.
  3. Init — open P leg = Buy 0.10 lot (round R#k).
  4. Price runs +34 pips the right way → DCA Pos adds Buy 0.15 (0.10×1.5). Keeps following the trend.
  5. Take singles — each Buy order hitting +$10 self-closes (Virtual TP). Small profits accumulate.
  6. Price reverses → N leg = Sell (DCA Neg 0.02 ×1.2) starts adding to hold; the Buy side stops taking singles if Sell loses ≥ $500.
  7. Cluster scalping — once enough two-sided orders exist, the EA pairs winners + a losing anchor into a cluster, closing when the total ≥ $10 (or $300 if deeply in loss).
  8. Global TP $10 — any time the whole account total ≥ $10 → flat everything, done, wait 60s, repeat.
  9. If orders ≥ 24 → choppy defense engages, tightening entries to avoid ballooning in a noisy market.

10. Rủi ro & lưu ý quan trọng10. Risk & important notes

0. Cách EA tự gỡ (điểm mạnh)0. How it self-recovers (a strength)

EA luôn nhồi ở phía thuận trend. Khi trend đảo, bộ lọc trend ngừng nhồi phía cũ và chuyển theo chiều mới; các lệnh cũ thành "lệnh kẹt", và cơ chế Cluster scalping (chốt theo cụm) dùng lợi nhuận từ chiều trend mới để gom & "dọn" chúng. Nhờ vậy một cú đảo chiều rõ ràng thường được Cluster scalping xử lý — đây không phải martingale nhồi vào lệnh thua thuần túy.

The EA always adds on the with-trend side. When the trend flips, the trend filter stops adding to the old side and follows the new direction; the old orders become "stuck losers" and the Cluster scalping (close by cluster) mechanism uses profit from the new trend direction to group & clear them. So a clean reversal is usually handled by Cluster scalping — this is not a plain add-into-loss martingale.

1. Nhưng: không có cắt lỗ cứng + lệch lot1. But: no hard stop-loss + lot imbalance

Global SL = 999999, Clear-Stuck OFF, Max DD/Loss-per-day OFF. Trong lúc chờ Cluster scalping gỡ, rổ lệnh kẹt (lot ×1.5, có thể đã rất lớn sau một trend dài) tạo floating drawdown lớn, trong khi chiều phục hồi mới bắt đầu từ lot nhỏ (0.10) → lệch lot. Nếu cú đi ngược đủ mạnh/nhanh, tài khoản có thể bị margin stop-out TRƯỚC khi Cluster scalping kịp gỡ.

Global SL = 999999, Clear-Stuck OFF, Max DD/Loss-per-day OFF. While waiting for Cluster scalping to clear, the stuck basket (×1.5 lots, possibly already large after a long trend) creates big floating drawdown, while the recovering side restarts from a small lot (0.10) → lot imbalance. If the adverse move is strong/fast enough, the account can hit margin stop-out BEFORE Cluster scalping gets to rescue it.

2. Whipsaw (đảo liên tục) là mối nguy lớn nhất2. Whipsaw is the biggest hazard

Trên tín hiệu trend nhanh (M3), thị trường nhiễu đảo chiều liên tục → EA mở theo trend rồi bị kẹt mỗi lần → lệnh kẹt chất đống cả hai phía nhanh hơn tốc độ Cluster scalping dọn. Đây chính là lý do bản này thêm "choppyUpgrade" — nhưng phòng thủ chỉ bật muộn (≥ 24 lệnh). Xem thêm Phòng thủ whipsaw.

On a fast trend signal (M3), a choppy market flips direction repeatedly → the EA opens with-trend and gets caught each time → stuck orders pile up on both sides faster than Cluster scalping can clear them. That's exactly why this build added the "choppyUpgrade" defense — but it only engages late (≥ 24 orders). See also Whipsaw defense.

3. ×1.5 + không giới hạn số lệnh3. ×1.5 + unlimited adds

Chân thuận trend nhân 1.5 mỗi cấp (trần 0.5 lot) và không giới hạn số lần nhồi → exposure phình nhanh khi trend chạy dài; cú đảo sau đó càng lớn. Cần vốn đủ dày (Hướng dẫn vốn).

The with-trend leg multiplies 1.5 per level (capped at 0.5 lot) with no cap on the number of adds → exposure compounds fast on a long trend, making any later reversal bigger. Needs sufficient capital (Capital sizing).

4. Phụ thuộc Cloud Sync4. Depends on Cloud Sync

Bật hybrid tới fxconsole.gamelau.uk để khôi phục/đồng bộ trạng thái (TMap). Cần whitelist URL và mạng ổn định (tham số Cloud Sync, Khôi phục TMap).

Hybrid mode talks to fxconsole.gamelau.uk for state recovery/sync (TMap). Needs URL whitelisting and stable network (Cloud Sync inputs, TMap recovery).

5. Backtest vs Live5. Backtest vs Live

Config này không bật News/Weekend nên backtest phản ánh đúng hành vi. Khi chạy live nên cân nhắc bật Weekend Protection và News Filter (v1.40) để tránh gap cuối tuần và sự kiện lớn — xem tài liệu tương ứng.

This config has News/Weekend off, so backtests reflect true behaviour. For live, consider enabling Weekend Protection and the News Filter (v1.40) to avoid weekend gaps and major events — see the respective docs.

11. Toàn bộ tham số trong file .set11. Full .set parameter dump

Bảng đầy đủ mọi tham số trong archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set (giá trị thực = số đầu tiên trước || trong file). Cột Ghi chú giải mã khung thời gian / trạng thái OFF. Bỏ qua các tham số màu sắc & vị trí panel — không ảnh hưởng chiến lược. Bearer token đã được ẩn.

Complete table of every parameter in archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set (the live value = the first number before || in the file). The Note column decodes timeframes / OFF state. Panel colour & position parameters omitted — no strategy effect. The bearer token is redacted.

Tham sốParameter Giá trịValue Ghi chúNote
Config
InpConfigVersionScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456
InpConfigDateTime2026-05-27 14:56
Order Execution · inputs
InpWaitAfterCloseSec60Chờ sau khi đóng (giây)Wait after a close (sec)
InpInitCooldownSec60Giãn cách giữa 2 lần InitSpacing between Inits
InpAddCooldownSec60Giãn cách giữa 2 lần AddSpacing between Adds
InpEntryTimingProfileEnablefalseOFF
InpStrongMoveEnabletrueNới khoảng cách khi biến động mạnhWiden spacing on strong moves
InpStrongMoveMultiplier1.2×1.2
InpVolatilityATRPeriod14
InpVolatilityATRMult1.0
InpInitRequireMinPipstrueBắt buộc cách lệnh cũ MinPipsMust be ≥ MinPips from old orders
InpInitMinBarRangePips0.0Tắt lọc biên độ theo pipRange-by-pip filter off
InpInitMinBarRangeBars5Xét 5 nếnEvaluate 5 bars
InpMaxOpenPositions00 = không giới hạn0 = unlimited
InpSingleRoundModetrueMột round mỗi chiềuOne round per direction
InpSingleRoundMaxAdds8Tối đa 8 add/sideMax 8 adds/side
InpSingleRoundGapInits10Lấp tối đa 10 Init khoảng trốngUp to 10 gap-fill Inits
InpSingleRoundGapMaxPips00 = không giới hạn pip0 = no pip cap
InpInitNaturalBypassTrendfalseOFF
InpInitNaturalFallbackMinBars8Fallback Init sau 8 nến bị chặnFallback Init after 8 blocked bars
InpNoAddWhenInitSameBarfalseOFF
InpAddRequireSameSideReffalseOFF
InpMaxAddsPerBarPerSide00 = không giới hạn0 = unlimited
InpMaxOrdersPerRound00 = không giới hạn0 = unlimited
InpPriceZonePips0.0TắtDisabled
InpMaxOrdersInPriceZone0TắtDisabled
Lot Balance · inputs
InpLotBalanceMode1
InpLotBalanceLossTriggerUSD23000
InpLotBalanceEnablefalseOFF
InpLotBalanceBypassMaxTradesfalseOFF
InpLotBalanceUseTargetLevelfalseOFF
InpLotBalanceTrigger6.5
InpLotBalanceTarget0.5
InpLotBalanceMaxLotPerOrder0.2
InpMaxTotalLot0.00 = không giới hạn tổng lot0 = no total-lot cap
Flash Crash Protection — OFF · inputs
InpFlashCrashEnablefalseOFF
InpFlashCrashPips200
InpFlashCrashWindowSec300
InpFlashCrashCooldownSec1800
InpFlashCrashBalanceIntervalSec60
InpFlashCrashBalanceMaxLot0.3
Support / Resistance — OFF · inputs
InpSupportResistanceEnablefalseOFF
InpSupportResistancePips50
InpSupportResistanceApplyInit / ApplyAddtrue / true(không tác dụng vì group OFF)(no effect, group OFF)
InpSRTF16385H1
InpSRSwingLeft / Right3 / 3
InpSRLookbackBars180
InpSRMinTouches / MaxTouches3 / 6
InpSRTouchToleranceMult0.7
InpSRATRPeriod14
InpSRImpulseATRMult1.0
InpSRUseHTFConfluencetrue
InpSRConfluenceTF16388H4
InpSRConfluenceMult1.0
InpSRMinScore4
InpSRRequireCandleConfirmtrue
InpSRGateAddfalseOFF
Trend Filter — ON · inputs
InpTrendFilterEnabletrueON
InpTrendFilterTF3M3
InpTrendFilterMAPeriod30
InpTrendFilterApplyInit / ApplyAddtrue / trueÁp cả Init & AddApplies to Init & Add
InpTrendFilterNeutralPips10Tĩnh (bị Adaptive ghi đè khi defense active)Static (overridden by Adaptive when defense active)
Sideway Filter (Bollinger) — OFF · inputs
InpSidewayFilterEnablefalseOFF
InpSidewayTF15M15
InpSidewayBBPeriod14
InpSidewayBBDeviation2.0
InpSidewayBBBandwidthMax3.2
InpSidewayATRNormalizetrue
InpSidewayATRPeriod14
InpSidewayBlockInit / BlockAddtrue / true
InpSidewayAllowNaturalInitfalse
Pivot Point — ON · inputs
InpPivotFilterEnabletrueON
InpPivotFilterIndependentfalsePhối hợp với Trend/SRCo-op with Trend/SR
InpPivotTF16385H1
InpPivotMethod2Index 2 (Auto)
InpPivotProximityPips50.0Bán kính 50 pip50-pip radius
InpPivotMaxLevel2
InpPivotApplyInit / ApplyAddtrue / falseChỉ áp cho InitInit only
InpPivotAutoUseATRtrue
InpPivotAutoLowVol / HighVolRatio0.7 / 1.4
InpPivotAutoBodyThresh0.65
Wick Rejection Filter — ON · inputs
InpWickFilterEnabletrueON
InpWickFilterTF1 / TF215 / 16385M15 + H1 (AND)
InpWickLookbackBars12
InpWickToBodyRatio2.0
InpWickToRangeMin0.5
InpWickApplyInit / ApplyAddtrue / falseChỉ áp cho InitInit only
Choppy Defense Group — ON · inputs
InpChoppyDefenseGroupEnabletrueON
InpChoppyDefenseMinOrders24Trigger: ≥ 24 lệnhTrigger: ≥ 24 orders
InpChoppyDefenseNegProfitUSD0.0Trigger tắt (0)Trigger disabled (0)
InpChoppyDefenseLotDiffMin0.0Trigger tắt (0)Trigger disabled (0)
Choppy Market Filter (ADX) — ON*
InpChoppyFilterEnabletrueON
InpChoppyFilterTF16385H1
InpChoppyAdxPeriod14
InpChoppyAdxMinForTrend22.0ADX < 22 = nhiễuADX < 22 = choppy
InpChoppyApplyInit / ApplyAddtrue / true
Anti-Whipsaw Cooldown — ON*
InpAntiWhipsawEnabletrueON
InpAntiWhipsawLookbackH24Cửa sổ 24h24h window
InpAntiWhipsawMaxLossUSD250.0Lỗ ≥ $250 → cooldownLoss ≥ $250 → cooldown
InpAntiWhipsawCooldownH4Nghỉ 4hPause 4h
Adaptive Trend NeutralPips — ON*
InpTrendAdaptivetrueON
InpTrendAdaptiveADXStrong28.0
InpTrendAdaptiveADXWeak18.0
InpTrendNeutralStrong5ADX≥28 → 5 pipADX≥28 → 5 pips
InpTrendNeutralMid2018–28 → 20 pip18–28 → 20 pips
InpTrendNeutralWeak50ADX<18 → 50 pipADX<18 → 50 pips
Multi-TF Trend / Dual-Dir — ON*
InpMultiTfTrendEnabletrueON
InpMultiTfTrendHigherTF16388H4
InpMultiTfTrendHigherMAPeriod50
InpDualDirChopEnabletrueON
DCA Negative (chân N)(N leg) · inputs
InpDCANegStartLot0.02
InpDCANegMultiplier1.2×1.2/cấp×1.2/level
InpDCANegMinPips34≈ 3.4 giá≈ 3.4 price
InpDCANegMaxLot0.2
InpDCANegMaxTrades00 = không giới hạn0 = unlimited
InpDCANegTPEnablefalseKhông TP riêngNo per-order TP
InpDCANegTPUSD0.0
DCA Positive (chân P)(P leg)
InpDCAPosStartLot0.1
InpDCAPosMultiplier1.5×1.5/cấp (lũy tiến)×1.5/level (compounding)
InpDCAPosMinPips34≈ 3.4 giá≈ 3.4 price
InpDCAPosMaxLot0.5
InpDCAPosMaxTrades00 = không giới hạn0 = unlimited
InpDCAPosTPEnabletrueON
InpDCAPosTPUSD10.0Chốt lẻ $10Per-order TP $10
InpVirtualDcaTpEnabletrueTP ảo (EA tự đóng)Virtual TP (EA closes)
InpDcaTpSkipWhenOpposLossUSD500.0Ngừng chốt lẻ khi đối diện lỗ ≥ $500Stop singles when opposite loss ≥ $500
InpDcaChainPersistentfalsen reset khi đóng lệnhn resets on close
Hedging — OFF (mềm)(soft) · inputs
InpHedgeAfterTrades9999Không bao giờ kíchNever triggers
InpHedgeMode1
InpHedgeLotPercent70.0
InpHedgeLotPer100USD0.01
Tia Orders (Cluster Scalping) — ON · inputs
InpTiaClusterMin3Cụm ≥ 3 lệnhCluster ≥ 3 orders
InpTiaClusterMax00 = không cap0 = no cap
InpTiaProfitUSD10.0Mục tiêu cụm $10Cluster target $10
InpTiaProfitWhenLossEnabletrueON
InpTiaProfitWhenLossUSD300.0Mục tiêu gỡ khi lỗ nặngRecovery target when deep in loss
InpTiaHighTargetLossUSD500.0Ngưỡng bật chế độ gỡThreshold to switch to recovery mode
InpTiaBotDCAStyletrue
InpTiaBotDCAMinSide / MinOtherSide2 / 3Tối thiểu mỗi chiềuMin per side
InpTiaPartialCloseEnablefalseOFF
InpTiaMaskPartialCloseEnablefalseOFF
InpTiaProfitUSDMin0.0
InpTiaPrioritizeByDistancetrueĐóng lỗ xa trướcClose far losses first
InpTiaAnchorRequiretrueCụm bắt buộc có neoCluster must include anchor
InpTiaLadderRollClosetrue
InpTiaAnchorMaxDistPips1000Neo >1000 pip → miễnAnchor >1000 pips → waived
InpTiaBlockSameSideWhenStucktrueGiữ winner khi có lệnh kẹtHold winners when stuck exists
InpTiaStuckLossUSD500Kẹt = lỗ ≥ $500Stuck = loss ≥ $500
InpTiaStuckAgeHours4hoặc tuổi ≥ 4hor age ≥ 4h
InpStuckDebugLogtrueGhi log chẩn đoánDiagnostic logging
InpTiaCloseOldestFirstfalse
InpTiaMaxHoldHours00 = không giới hạn0 = unlimited
InpTiaDcaTpSynergyEnabletrueƯu tiên winner gần TPPrefer winners near TP
InpTiaMaxPositions22Cap số vị thế vào thuật toánCap positions fed to algorithm
Residue Position Management · inputs
InpResiduePreventEnabletrueON
InpResidueAutoCleanEnablefalseOFF
InpResidueAutoCleanProfitFloor-2.0
InpResidueLotMultiplier1.5
InpResidueFilterGapDetectiontrue
InpResidueFilterRoundRefstrue
Global TP/SL · inputs
InpGlobalTPUSD10.0Tổng lãi ≥ $10 → đóng sạchTotal profit ≥ $10 → close all
InpGlobalSLUSD999999.0Không cắt lỗ tổngNo total stop-loss
Global SL Clear Stuck — OFF · inputs
InpGlobalSLClearStuckEnablefalseOFF
InpGlobalSLClearStuckDistancePips250
InpGlobalSLClearStuckMode1
InpGlobalSLClearStuckMaxLossPctOfDayProfit35.0
InpGlobalSLClearStuckProfitPeriod0
InpGlobalSLClearStuckEmergencyPips0
Daily Limit / Risk Management — OFF · daily · risk
InpDailyLimitEnablefalseOFF
InpDailyLimitTargetProfitUSD / LossUSD0.0 / 0.0
InpMaxDrawdownEnablefalseOFF
InpMaxDrawdownPercent35.0
InpMaxDrawdownUSD0.0
InpMaxDrawdownCloseAllfalse
InpMaxLossPerDayEnablefalseOFF
InpMaxLossPerDayUSD5000.0
Trading Time · inputs
InpStartHour : InpStartMinute0 : 000:00
InpEndHour : InpEndMinute23 : 5923:59 (24/7)
Weekend Protection — OFF
InpWeekendProtectionEnablefalseOFF
InpFridayNoInitAfterHour13(không tác dụng vì OFF)(no effect, OFF)
InpFridayCloseAllBeforeHour20
InpFridayCloseMinProfitUSD-50.0
InpMaxNetLotBeforeWeekend0.35
InpWeekendBalanceEnabletrue
InpWeekendBalanceMaxLotPerOrder0.15
InpMondayNoInitUntilHour0
Symbol · inputs
InpPipPoints101 pip = 10 points
InpMagic21478308
Cloud Sync — ON (hybrid) · inputs
InpCloudSyncEnabletrueON
InpCloudBearerToken<secret>Đã ẩn — điền trực tiếp trên terminalRedacted — type it on the terminal
InpCloudMyApiDomainhttps://fxconsole.gamelau.uk
InpCloudSyncIntervalSec30
InpCloudWebTimeoutMs5000
InpCloudNodePriority100
InpCloudHeartbeatTimeoutSec90

Tạo từ phân tích hành vi EA GoldenRobber (GoldenRobber.mq5 v1.40) và file archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set. Giá trị mặc định của EA có thể khác giá trị trong file .set — bảng trên ưu tiên giá trị .set. Tài liệu mang tính giải thích kỹ thuật, không phải khuyến nghị giao dịch.

Generated from analysis of the GoldenRobber EA (GoldenRobber.mq5 v1.40) and the file archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set. The EA's built-in defaults may differ from the .set file values — the tables above prefer the .set values. This is a technical explainer, not trading advice.