EA GoldenRobberGoldenRobber EA
Config ổn định — pass58 cho 1.42 b7Stable config — pass58 for 1.42 b7
Giải thích từng giá trị trong v1.42.b7-pass58.set: pass58 là gì, vì sao chọn, những gì phải đổi cho từng tài khoản, và khác gì so với bản ổn định trước.
Every value in v1.42.b7-pass58.set explained: what pass58 is, why it was chosen, what to change per account, and how it differs from the previous stable file.
Tải fileDownload
Tải v1.42.b7-pass58.setDownload v1.42.b7-pass58.set
Bản trong README/configs/ giống hệt file thật, chỉ khác InpCloudBearerToken để trống. Sau khi nạp .set, gõ token trực tiếp vào tab Inputs trên terminal. Không commit, không gửi file có token. Thiếu token thì heartbeat bị từ chối (401) và EA Link tự tắt.
The copy in README/configs/ is identical to the real file except that InpCloudBearerToken is blank. After loading the .set, type the token directly into the Inputs tab on the terminal. Never commit or send a file containing the token. Without a token the heartbeat is rejected (401) and EA Link switches itself off.
File dành cho GoldenRobber-1.42 b7 — bản production đang chạy trên tài khoản thật (từ 29/09/2026). Tham số giao dịch giống hệt v1.42.b3-pass58-12092026.set (dùng cho b3–b5), chỉ thêm InpManualForceDirection=false (b6) và InpManualForceAddDirection=false (b7). Bản cũ 1.41.4 b21 dùng v1.41.4-pass58-easupported-goldenrobber-29082026.set. Nạp file này vào build cũ: MT5 bỏ qua input không tồn tại (vd InpManualForceAddDirection trên b6, InpManualForceDirection trên b5, InpLink* trên b21); InpManualInit vẫn = 0 nên an toàn. Luôn kiểm tiêu đề panel sau khi nạp.
This file targets GoldenRobber-1.42 b7 — the production build running on live accounts (since 29/09/2026). Its trading parameters are identical to v1.42.b3-pass58-12092026.set (used for b3–b5); it only adds InpManualForceDirection=false (b6) and InpManualForceAddDirection=false (b7). The previous build 1.41.4 b21 used v1.41.4-pass58-easupported-goldenrobber-29082026.set. Loading this file into an older build: MT5 ignores inputs that do not exist (e.g. InpManualForceAddDirection on b6, InpManualForceDirection on b5, InpLink* on b21); InpManualInit stays 0, so it is safe. Always check the panel title after loading.
pass58 là gìWhat pass58 is
So sánh trực tiếp các file .set trong repo (đã che token):
- Gốc:
archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set(trend M3, nhóm phòng thủ chop kích hoạt theo số lệnh). pass58 khác gốc ở:InpDCANegEnable=false(file pass10 không có key này nên chạy mặc định true),InpWickFilterTF1M15 → M30,InpChoppyFilterTFH1 → H3. - Bản pass58 đầu tiên:
archive/configs/v1.41.1-pass58-choppyUpgrade-StairMarket-29072026-0112.settrên EA 1.41.1 — là nơi inputInpDCANegEnablera đời (docs/GoldenRobber-1.41.1-NOTES.md). So với bản đó, file 1.42 b2 chỉ khác: StrongMove tắt, URL per-EA/easupported/goldenrobber, heartbeat 30 → 10 s, thêm Hedge/Manual Init/EA Link và kích thước panel. Mọi tham số giao dịch khác giữ nguyên. - Tóm lại: trend chính M3 + tắt DCANeg, chỉ bồi thuận giá (DCAPos), chốt nhỏ bằng TP ảo $10, Tia $10 và Global TP $10.
Direct comparison of the .set files in the repo (token masked):
- Origin:
archive/configs/ScalpingTrending-pass10-choppyUpgrade-hybrid-27052025-1456.set(M3 trend, order-count-triggered choppy defense). pass58 differs from it in:InpDCANegEnable=false(the pass10 file has no such key, so it runs with the default true),InpWickFilterTF1M15 → M30,InpChoppyFilterTFH1 → H3. - First pass58 file:
archive/configs/v1.41.1-pass58-choppyUpgrade-StairMarket-29072026-0112.seton EA 1.41.1 — the build that introducedInpDCANegEnable(docs/GoldenRobber-1.41.1-NOTES.md). Compared with it, the 1.42 b2 file only changes: StrongMove off, per-EA URL/easupported/goldenrobber, heartbeat 30 → 10 s, added Hedge/Manual Init/EA Link keys and panel size. Every other trading parameter is unchanged. - In short: M3 primary trend + DCANeg off, with-price adds only (DCAPos), small exits through a $10 virtual TP, $10 Tia and $10 Global TP.
Vì sao chọnWhy it was chosen
docs/STRATEGY_SUMMARY.md (07/2026) và docs/BACKTEST_COMPARISON.md (v1.40–v1.41) ghi nhận các config trend chính M3 đều cháy trong giai đoạn "staircase" 2023 (MEDIUM M3 cháy ~24/05/2023: nhồi SELL ngược trend → stuck-lock deadlock), và coi H4-origin là bản sống mọi regime. pass58 là config M3 dùng InpDCANegEnable=false để bỏ hẳn nhánh bồi ngược giá. Backtest 2023–2026 trên EA 1.41.4 (ANALYSIS.md) cho thấy bản này đi qua toàn bộ giai đoạn với lợi nhuận cao hơn nhiều so với H4-origin (+$161,066 trong docs/BACKTEST_COMPARISON.md), đổi lại rủi ro tập trung khác (xem bên dưới).
docs/STRATEGY_SUMMARY.md (07/2026) and docs/BACKTEST_COMPARISON.md (v1.40–v1.41) record that M3-primary configs blew up in the 2023 "staircase" period (MEDIUM M3 died ~24/05/2023: counter-trend SELL stacking → stuck-lock deadlock) and treat H4-origin as the all-regime survivor. pass58 is an M3 config that uses InpDCANegEnable=false to remove the counter-price add branch entirely. The 2023–2026 backtest on EA 1.41.4 (ANALYSIS.md) shows it running through the whole range with far higher profit than H4-origin (+$161,066 in docs/BACKTEST_COMPARISON.md), at the cost of a different risk concentration (see below).
Kết quả backtest (1.41.4, StrongMove OFF)Backtest results (1.41.4, StrongMove OFF)
Nguồn: backtest/new-backtest/v1.41.4-pass58-29082026/ANALYSIS.md — XAUUSD, 2023.01.05 → 2026.08.28, vốn $100,000. Cột OFF có nhóm StrongMove trùng với file 1.42 b2 (InpStrongMoveEnable=false, TF M1, lookback 20, hệ số 1.2). Balance / net / DD balance / exposure là số chính xác từ deal export; equity, min equity, floating là tái dựng gần đúng.
Source: backtest/new-backtest/v1.41.4-pass58-29082026/ANALYSIS.md — XAUUSD, 2023.01.05 → 2026.08.28, $100,000 deposit. The OFF column has the same StrongMove group as the 1.42 b2 file (InpStrongMoveEnable=false, TF M1, lookback 20, factor 1.2). Balance / net / balance DD / exposure are exact from the deal export; equity, minimum equity and floating are approximate reconstructions.
| Chỉ sốMetric | StrongMove OFF | StrongMove ON |
|---|---|---|
| Lợi nhuận ròngNet profit | $353,766 (+354%) | $372,148 (+372%) |
| Balance MaxDD | $251,741 (39.7%) | $245,931 (38.0%) |
| Đỉnh balancePeak balance | $633,677 (2026.05.28) | $647,350 (2026.05.28) |
| Exposure tối đa (gross / một phía / net)Max exposure (gross / one side / net) | 52.7 / 30 / 10.1 | 52.7 / 30 / 11.2 |
| Tổng InitTotal Inits | 10,007 | 10,900 |
| PnL 2023 | +$20,151 | +$22,030 |
| PnL 2024 | +$42,609 | +$43,851 |
| PnL 2025 | +$129,968 | +$129,571 |
| PnL 2026 | +$161,038 | +$176,697 |
| Equity MaxDD (gần đúng)Equity MaxDD (approx.) | ~24% ($97k) | ~24% ($97k) |
| Min equity (gần đúng)Min equity (approx.) | ~$89.7k (−10%) @ 2023.02 | ~$77.3k (−23%) @ 2024.02 |
| Floating lỗ lớn nhất (gần đúng)Max floating loss (approx.) | $188.1k @ 2026.08.11 | $188.8k @ 2026.08.11 |
Theo ANALYSIS.md: cả hai bản dính một cú đóng basket lỗ ~$250k vào 2026.08.11 03:23 (≈12 vị thế × ~−$20k); balance từ đỉnh $633–647k xuống $382–401k. Tài khoản sống được vì balance đã lớn gấp 6 lần ("may mắn in-sample"). DD lớn nhất nay nằm ở 2026, không còn ở staircase 2023 như bản 1.41.1. Nguyên nhân gốc được nêu là không có trần exposure (InpMaxTotalLot=0, lot cố định, basket 30 lot một phía).
Per ANALYSIS.md: both variants took a ~$250k basket loss closed on 2026.08.11 03:23 (≈12 positions × ~−$20k); balance fell from a $633–647k peak to $382–401k. The account survived only because the balance had already grown sixfold ("in-sample luck"). The largest drawdown now sits in 2026, no longer in the 2023 staircase as on 1.41.1. The stated root cause is the lack of an exposure cap (InpMaxTotalLot=0, fixed lots, 30-lot one-sided basket).
Vốn khuyến nghịRecommended capital
Lot cố định nên rủi ro tuyệt đối không đổi; config được hiệu chỉnh cho $100k. Margin cho 52.7 lot: ~$21k @1:500 · ~$105k @1:100 · ~$351k @1:30 → đòn bẩy khuyến nghị ≥ 1:500, tránh 1:30 (ANALYSIS.md §5).
Lots are fixed, so absolute risk does not change; the config is calibrated for $100k. Margin for 52.7 lots: ~$21k @1:500 · ~$105k @1:100 · ~$351k @1:30 → recommended leverage ≥ 1:500, avoid 1:30 (ANALYSIS.md §5).
| StrongMove OFF (file này)(this file) | StrongMove ON | |
|---|---|---|
| Tối thiểuMinimum | $100k (đáy −10%)$100k (−10% trough) | $110–120k (đáy −23%)$110–120k (−23% trough) |
| Khuyến nghịRecommended | $150k–$200k | $180k–$200k |
| Bảo thủConservative | $250k+ | $250k+ |
docs/CAPITAL_GUIDE.md (v1.34, 05/2026) viết cho các config cũ (ScalpingTrending, A baseline, Pass 10) nên bảng số của nó không áp cho pass58, nhưng công thức và ngưỡng theo dõi vẫn dùng được:
Vốn cần = MAX(Equity DD Max × 1.5, Initial + Equity DD Abs × 2). Minh hoạ (tự tính, không phải số trong nguồn): với số gần đúng củaANALYSIS.md— DD Max ~$97k × 1.5 ≈ $146k; $100k + ~$10.3k × 2 ≈ $121k → ≈ $146k, nằm trong khoảng $150k–$200k ở trên.- Ngưỡng theo dõi equity so với vốn ban đầu: WARNING 60% (chuẩn bị nạp), URGENT 40% (nạp ngay hoặc đóng bớt), EMERGENCY 25%.
docs/CAPITAL_GUIDE.md (v1.34, 05/2026) was written for older configs (ScalpingTrending, A baseline, Pass 10), so its tables do not cover pass58, but its formula and monitoring thresholds still apply:
Required capital = MAX(Equity DD Max × 1.5, Initial + Equity DD Abs × 2). Illustration (our own arithmetic, not a source figure): withANALYSIS.md's approximate numbers — DD Max ~$97k × 1.5 ≈ $146k; $100k + ~$10.3k × 2 ≈ $121k → ≈ $146k, consistent with the $150k–$200k range above.- Equity monitoring thresholds relative to the initial deposit: WARNING 60% (prepare a deposit), URGENT 40% (deposit now or cut positions), EMERGENCY 25%.
Đặc điểm chínhKey characteristics
| Khía cạnhAspect | Thiết lậpSetting | Hệ quảConsequence |
|---|---|---|
| Trend chínhPrimary trend | InpTrendFilterTF=3 (M3), EMA 30, ApplyInit + ApplyAdd, NeutralPips 10 |
Init chỉ mở chân P theo trend; neutral không Init; Add chỉ theo trend. NeutralPips theo ADX (5 / 20 / 50 tại ADX ≥ 28 / 18–28 / < 18) chỉ khi nhóm phòng thủ active.Init opens only the with-trend P leg; neutral means no Init; Adds only with the trend. ADX-driven NeutralPips (5 / 20 / 50 at ADX ≥ 28 / 18–28 / < 18) only while the defense group is active. |
| DCA | InpDCANegEnable=false; DCAPos 0.10 × 1.5, 34 pips, max lot 0.5, MaxTrades 0 |
Không bồi ngược giá. Lot legacy (không persistent). Số lệnh không giới hạn ngoài SingleRound.No counter-price adds. Legacy lot chain (not persistent). Order count unlimited apart from SingleRound. |
| SingleRoundMode | ON, 8 adds/phía, gap init 10, gap không giới hạn pipsON, 8 adds/side, gap inits 10, no gap pip cap | Buy và Sell mỗi phía một round; round mới khi phía đó trống, đủ 8 adds hoặc chỉ còn Init lẻ.One round per side; a new round when that side is empty, has 8 adds, or holds a lone Init. |
| Chốt lờiExits | TP ảo DCAPos $10; Tia $10 (rescue $300 khi floating ≤ −$500); Global TP $10DCAPos virtual TP $10; Tia $10 (rescue $300 when floating ≤ −$500); Global TP $10 | Chốt nhỏ liên tục; Global TP đóng sạch mọi lệnh khi tổng floating ≥ $10.Constant small profits; Global TP flattens everything once total floating ≥ $10. |
| Không phanh cứngNo hard brake | InpGlobalSLUSD=999999; ClearStuck, MaxDrawdown, MaxLossPerDay, DailyLimit tắtoff; InpMaxTotalLot=0 |
Không cắt lỗ, không trần exposure — đúng triết lý "follow-trend + bias close-all", và là rủi ro chính.No stop-loss, no exposure cap — by design ("follow-trend + bias close-all"), and the main risk. |
| Stuck-lock | InpTiaBlockSameSideWhenStuck=true, $500 / 4 h, InpTiaPartialCloseEnable=false |
Đã kiểm code: một lệnh lỗ ≥ $500 hoặc ≥ 4 giờ tuổi → giữ TP ảo, Tia không đóng gì; chỉ còn Global TP. Xem Workflow.Checked in code: one loser ≥ $500 or ≥ 4 h old → virtual TPs held and Tia closes nothing; only Global TP remains. See Workflow. |
| Tia | ClusterMin 3, BotDCA 2/3, anchor + ladder-roll, anchor tối đa 1000 pips, synergy ON, 22 lệnhClusterMin 3, BotDCA 2/3, anchor + ladder-roll, anchor max 1000 pips, synergy ON, 22 positions | Cụm đóng từ rung xa nhất vào; 22 là mức tối đa của vòng mask (nặng CPU nhất).Clusters close from the outermost rung inward; 22 is the mask loop maximum (heaviest CPU). |
| Nhóm phòng thủ chopChoppy defense group | ON, trigger duy nhất: ≥ 24 lệnhON, single trigger: ≥ 24 positions | Từ 24 lệnh: ADX H3 < 22 chặn Init + Add, Multi-TF H4 EMA50 cho Init, Dual-Dir, Anti-Whipsaw ($250 / 24 h → 4 h), Adaptive NeutralPips. Dưới 24: bỏ qua tất cả.From 24 positions: H3 ADX < 22 blocks Init + Add, H4 EMA50 Multi-TF for Init, Dual-Dir, Anti-Whipsaw ($250 / 24 h → 4 h), Adaptive NeutralPips. Below 24: all skipped. |
| Bộ lọc InitInit filters | Pivot H1 Camarilla ±50 pips cấp 2; Wick M30 + H1, 12 nến — chỉ InitPivot H1 Camarilla ±50 pips level 2; Wick M30 + H1, 12 bars — Init only | Buy chỉ gần Support, Sell chỉ gần Resistance; Add không bị hai bộ lọc này chặn.Buy only near Support, Sell only near Resistance; Adds are not gated by these two. |
| Tính năng tắtDisabled features | StrongMove, Hedge (AfterTrades 9999), Lot Balance, Flash Crash, Sideway, S/R, Weekend | Các giá trị con vẫn được để sẵn (vd LossTriggered $23,000) nhưng không chạy. Hot-reload strong_* không có tác dụng vì InpStrongMoveEnable=false.Sub-values are pre-set (e.g. LossTriggered $23,000) but inactive. Hot-reloading strong_* has no effect because InpStrongMoveEnable=false. |
| NhịpPacing | Wait/Init/Add cooldown 60 s; timing profile OFF; MinPips xuyên round ON; fallback sau 8 nếnWait/Init/Add cooldown 60 s; timing profile OFF; cross-round MinPips ON; fallback after 8 bars | Tối đa khoảng một Init mỗi phút và một Add mỗi phút.At most roughly one Init per minute and one Add per minute. |
| Cloud | https://fxconsole.gamelau.uk/easupported/goldenrobber, 10 s, EA Link HYBRID fxconsole.gamelau.uk:9607 |
Hot-reload ≈ ≤ 1 s khi broker Link chạy; ngược lại mỗi 10 s.Hot-reload in about ≤ 1 s with the Link broker up; otherwise every 10 s. |
Global TP $10 đóng toàn bộ mà không kiểm lại (slippage trên book lớn có thể biến +$10 thành lỗ); Add thất bại thử lại mỗi tick; không chặn khi spread nở; TP ảo không chạy khi MT5 mất kết nối. Các điểm này có ở b21, b21.1 và b28; 1.42 kế thừa logic giao dịch của b21.1.
Global TP $10 closes everything without re-checking (slippage on a large book can turn +$10 into a loss); a failed Add is retried on every tick; no block on spread widening; virtual TP does not work while MT5 is disconnected. These exist in b21, b21.1 and b28; 1.42 inherits b21.1's trading logic.
Cần đổi gì cho từng tài khoảnWhat to change per account
| Input | Trong fileIn the file | Việc cần làmWhat to do |
|---|---|---|
InpCloudBearerToken | (trống)(blank) | Gõ secret token của product goldenrobber (lấy trên /admin/easupported) trên từng terminal. Token bị lộ thì Regenerate rồi cập nhật mọi terminal.Type the goldenrobber product secret (from /admin/easupported) on each terminal. If it leaks, Regenerate and update every terminal. |
InpMagic | 21478308 |
Phải khác nhau giữa các chart GoldenRobber trên cùng một account (magic khoá sổ lệnh, file GR_TicketMap_<magic>.csv và account trên server). Các node dự phòng của cùng một account thì dùng cùng magic.Must differ between GoldenRobber charts on the same account (magic keys the order book, the GR_TicketMap_<magic>.csv file and the server account). Redundant nodes for the same account use the same magic. |
InpCloudNodeId / InpCloudNodePriority | (trống) / 100(blank) / 100 | Một node: giữ nguyên. Nhiều node (cùng account + magic): mỗi node một priority khác nhau (vd VPS chính 1, dự phòng 2) và một InpCloudNodeId rõ ràng; giữ InpCloudHeartbeatTimeoutSec ≥ 3 × InpCloudSyncIntervalSec (90 ≥ 30). Xem leader election.Single node: keep as is. Several nodes (same account + magic): a distinct priority per node (e.g. main VPS 1, backup 2) and an explicit InpCloudNodeId; keep InpCloudHeartbeatTimeoutSec ≥ 3 × InpCloudSyncIntervalSec (90 ≥ 30). See leader election. |
| Allow WebRequestAllow WebRequest | fxconsole.gamelau.uk |
Thêm host vào Tools → Options → Expert Advisors trên mọi terminal (cần cho heartbeat và EA Link).Add the host under Tools → Options → Expert Advisors on every terminal (needed for heartbeat and EA Link). |
| Lot theo vốnLots vs capital | InpDCAPosStartLot=0.1, InpDCAPosMaxLot=0.5 |
Hiệu chỉnh cho $100k. ANALYSIS.md: vốn ít hơn thì đừng chạy nguyên .set, scale lot tỉ lệ ($50k → 0.05 / 0.25, giữ multiplier), chú ý sàn 0.01 và bước lot. docs/STRATEGY_SUMMARY.md insight #5 thêm: khi scale lot ×N phải scale cả các ngưỡng USD ×N (không scale GlobalSL, tỉ lệ, multiplier) — với pass58 là InpDCAPosTPUSD, InpTiaProfitUSD, InpTiaProfitWhenLossUSD, InpTiaHighTargetLossUSD, InpTiaStuckLossUSD, InpDcaTpSkipWhenOpposLossUSD, InpGlobalTPUSD, InpAntiWhipsawMaxLossUSD. Hai nguồn khác nhau ở điểm này; mọi thay đổi nên backtest lại.Calibrated for $100k. ANALYSIS.md: with less capital do not run the .set as is; scale lots proportionally ($50k → 0.05 / 0.25, keep the multiplier), minding the 0.01 floor and lot step. docs/STRATEGY_SUMMARY.md insight #5 adds that scaling lots ×N requires scaling the USD thresholds ×N as well (not GlobalSL, ratios or multipliers) — in pass58: InpDCAPosTPUSD, InpTiaProfitUSD, InpTiaProfitWhenLossUSD, InpTiaHighTargetLossUSD, InpTiaStuckLossUSD, InpDcaTpSkipWhenOpposLossUSD, InpGlobalTPUSD, InpAntiWhipsawMaxLossUSD. The two sources differ here; backtest any change. |
InpLinkHost / InpLinkPort | fxconsole.gamelau.uk / 9607 |
Chỉ đổi nếu EaLinkBroker chạy ở host/cổng khác. Broker chưa chạy thì EA vẫn hoạt động bằng HTTP, panel báo Link: DOWN.Change only if EaLinkBroker runs on another host/port. With the broker down the EA still works over HTTP and the panel shows Link: DOWN. |
InpPanelX / InpPanelY | 550 / 25 |
Tuỳ độ phân giải màn hình; không ảnh hưởng giao dịch.Adjust to the screen; no effect on trading. |
Khác gì bản ổn định trướcChanges vs the previous stable file
So với bản b6 (26/09/2026)Against the b6 file (26/09/2026)
So với v1.42.b6-pass58.set (dùng cho 1.42 b6): chỉ 3 key khác, không đổi tham số giao dịch nào. Token không so sánh.
Against v1.42.b6-pass58.set (used for 1.42 b6): only 3 keys differ, and no trading parameter changes. The token is not compared.
| Input | 26/09/2026 (1.42 b6) | 28/09/2026 (1.42 b7) | Ý nghĩaMeaning |
|---|---|---|---|
InpConfigVersion | v1.42.b6-pass58 | v1.42.b7-pass58 | Ghi chú.Note only. |
InpConfigDateTime | 26-09-2026 v1.42.b6 | 28-09-2026 v1.42.b7 | Ghi chú.Note only. |
InpManualForceAddDirection | không cóabsent | false | Input mới của b7 (bằng mặc định): lệnh bồi vẫn theo trend M3 dù đang bật manual. Xem Force add direction.New in b7 (equals the default): adds keep following the M3 trend even with manual on. See Force add direction. |
So với bản b3 (12/09/2026)Against the b3 file (12/09/2026)
So với v1.42.b3-pass58-12092026.set (dùng cho 1.42 b3–b5): chỉ 3 key khác, không đổi tham số giao dịch nào. Token không so sánh.
Against v1.42.b3-pass58-12092026.set (used for 1.42 b3–b5): only 3 keys differ, and no trading parameter changes. The token is not compared.
| Input | 12/09/2026 (1.42 b3) | 26/09/2026 (1.42 b6) | Ý nghĩaMeaning |
|---|---|---|---|
InpConfigVersion | v1.42.b3-pass58-12092026 | v1.42.b6-pass58 | Ghi chú.Note only. |
InpConfigDateTime | 12-09-2026 v1.42.b3 | 26-09-2026 v1.42.b6 | Ghi chú.Note only. |
InpManualForceDirection | không cóabsent | false | Input mới của b6 (bằng mặc định): manual BUY/SELL chỉ ép chiều lệnh mồi lúc rổ trống. Xem Force direction.New in b6 (equals the default): manual BUY/SELL only forces the seed Init on an empty basket. See Force direction. |
Trước đó: 1.41.4 → 1.42 b3Earlier: 1.41.4 → 1.42 b3
So với v1.41.4-pass58-easupported-goldenrobber-29082026.set (bản đi kèm production b21) theo commit ba6b8ac. Bản đang nằm trong working tree có chỉnh sửa chưa commit nên không dùng để so. Chỉ liệt kê key khác nhau; token không so sánh.
Compared with v1.41.4-pass58-easupported-goldenrobber-29082026.set (the file shipped with production b21) as of commit ba6b8ac. The working-tree copy has uncommitted edits, so it was not used. Only differing keys are listed; the token is not compared.
| Input | 29/08/2026 (1.41.4)29/08/2026 (1.41.4) | 12/09/2026 (1.42 b3)12/09/2026 (1.42 b3) | Ý nghĩaMeaning |
|---|---|---|---|
InpConfigVersion | v1.41.4-pass58-29082026 | v1.42.b3-pass58-12092026 | Ghi chú.Note only. |
InpConfigDateTime | 29-08-2026 08:00 v1.41.4 | 12-09-2026 v1.42.b2 | Ghi chú.Note only. |
InpStrongMoveEnable | true | false | Không còn Init theo nến mạnh (trước đây M1, hệ số 1.2, không bypass). Trùng với bản "StrongMove OFF" trong ANALYSIS.md.No more strong-bar Inits (previously M1, factor 1.2, no bypass). Matches the "StrongMove OFF" run in ANALYSIS.md. |
InpStrongMoveRequireSRBreak | không cóabsent | false | Ghi rõ giá trị (bằng mặc định).Now explicit (equals the default). |
InpStrongMoveSRLookback | không cóabsent | 20 | Ghi rõ giá trị (bằng mặc định).Now explicit (equals the default). |
InpHedgeEnable | true | false | Tắt hẳn; trước đó hedge cũng gần như không kích hoạt vì InpHedgeAfterTrades=9999.Explicitly off; previously hedging practically never triggered anyway because InpHedgeAfterTrades=9999. |
InpLinkMode | không cóabsent | 1 HYBRID | Input mới của 1.42.New in 1.42. |
InpLinkHost | không cóabsent | fxconsole.gamelau.uk | Input mới của 1.42.New in 1.42. |
InpLinkPort | không cóabsent | 9607 | Input mới của 1.42.New in 1.42. |
InpPanelBgWidth | 600 | 650 | Nền panel rộng hơn (thêm dòng Link).Wider panel background (extra Link line). |
InpPanelBgHeight | 350 | 400 | Nền panel cao hơn.Taller panel background. |
Toàn bộ input theo nhómEvery input by group
Theo đúng thứ tự trong file. Mặc định lấy từ khai báo input trong GoldenRobber-1.42.mq5; nhãn khác mặc định đánh dấu giá trị khác code. Enum hiển thị số kèm tên (TF theo mã MQL5: 3 = M3, 16385 = H1, 16387 = H3, 16388 = H4…). Màu hiển thị số nguyên 0x00BBGGRR kèm tên màu chuẩn nếu trùng; 2147483647 (0x7FFFFFFF) không phải màu chuẩn — có thể là cách terminal lưu "không màu", chưa kiểm chứng. Dòng nhóm (InpGroup*) chỉ là nhãn nên dùng làm tiêu đề.
In file order. Default comes from the input declaration in GoldenRobber-1.42.mq5; the ≠ default pill marks values that differ from the code. Enums show the number plus name (timeframes use MQL5 codes: 3 = M3, 16385 = H1, 16387 = H3, 16388 = H4…). Colours show the 0x00BBGGRR integer plus the standard colour name when one matches; 2147483647 (0x7FFFFFFF) is not a standard colour — possibly how the terminal stores "no colour", unverified. Group rows (InpGroup*) are labels only and are used as headings.
Config (Version / Date)
Ghi chú nhận diện config, không ảnh hưởng giao dịch.Identification notes only; no effect on trading. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpConfigVersion | v1.42.b7-pass58 khác mặc định≠ default | (trống)(empty) | Ghi chú phiên bản config (chỉ để đọc, không ảnh hưởng logic).Config version note (informational, no effect on logic). |
InpConfigDateTime | 28-09-2026 v1.42.b7 khác mặc định≠ default | (trống)(empty) | Ghi chú ngày/giờ config.Config date/time note. |
Order Execution
Nhịp Init/Add, StrongMove, SingleRoundMode và các giới hạn nhồi lệnh.Init/Add pacing, StrongMove, SingleRoundMode and stacking limits. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpWaitAfterCloseSec | 10 khác mặc định≠ default | 60 | Khi đang trống lệnh: chờ tối thiểu N giây sau lần đóng cuối mới Init. b3 hạ 60 → 10. ⚠️ Trên b3, điều kiện chỉ kiểm ở nến M1 mới nên 10 giây thực tế thành 0-60 giây; b5 mới bỏ hẳn cổng nến khi dùng manual init (b4 chỉ ăn khi round sống gọn trong một phút).When flat: wait at least N seconds after the last close before an Init. b3 lowered it 60 → 10. ⚠️ On b3 the check only runs on a new M1 bar, so 10 s really means 0-60 s; b5 is the build that really drops that gate for manual init (b4 only when a round lived inside one minute). |
InpInitCooldownSec | 10 khác mặc định≠ default | 60 | Khoảng cách tối thiểu giữa hai lần Init (0 = không giới hạn). b3 hạ 60 → 10 — cùng cổng nến M1 như dòng trên.Minimum gap between two Inits (0 = none). b3 lowered it 60 → 10 — same M1-bar gate as the row above. |
InpAddCooldownSec | 60 khác mặc định≠ default | 0 | Khoảng cách tối thiểu giữa hai lần Add; cũng là nhịp lệnh AutoBal Direct (0 = profile hoặc WaitAfterClose).Minimum gap between two Adds; also the AutoBal Direct interval (0 = profile or WaitAfterClose). |
InpEntryTimingProfileEnable | false khác mặc định≠ default | true | Profile timing: Init rải trễ ngẫu nhiên trong phút, Add theo interval nội bộ.Timing profile: Inits get a random in-minute delay, Adds use an internal interval. |
InpStrongMoveEnable | false khác mặc định≠ default | true | Cho phép mở round khi nến chạy mạnh + volatility xác nhận (tag init_strong).Allow a new round on a strong, volatility-confirmed bar (tag init_strong). |
InpStrongMoveMultiplier | 1.2 khác mặc định≠ default | 1.5 | Nến mạnh khi range ≥ MinPips × hệ số này.Strong bar when range ≥ MinPips × this factor. |
InpStrongMoveTF | 1 M1 | 1 M1 | TF đo range nến StrongMove.Timeframe on which the StrongMove bar range is measured. |
InpStrongMoveBypassFilter | false | false | Init do StrongMove bỏ qua mọi bộ lọc hướng, ép chiều theo màu nến.StrongMove Inits bypass every direction filter and follow the bar colour. |
InpStrongMoveRequireSRBreak | false | false | Nến mạnh phải đóng vượt đỉnh/đáy N nến gần nhất.The strong bar must close beyond the recent N-bar high/low. |
InpStrongMoveSRLookback | 20 | 20 | Số nến dùng để tìm đỉnh/đáy cần phá.Bars used to find the high/low that must be broken. |
InpVolatilityATRPeriod | 14 | 14 | Chu kỳ ATR xác nhận volatility cho StrongMove.ATR period confirming StrongMove volatility. |
InpVolatilityATRMult | 1 | 1 | Range nến phải ≥ ATR × hệ số này.Bar range must be ≥ ATR × this factor. |
InpInitRequireMinPips | true khác mặc định≠ default | false | Init mới phải cách lệnh cùng phía gần nhất ≥ MinPips (kiểm từng phía).A new Init must be ≥ MinPips from the nearest same-side position (per side). |
InpInitMinBarRangePips | 0 | 0 | Chỉ Init/Add khi range nến vừa đóng ≥ N pips (0 = tắt).Init/Add only when the last closed bar range ≥ N pips (0 = off). |
InpInitMinBarRangeBars | 5 khác mặc định≠ default | 3 | Số nến M1 lấy trung bình range cho kiểm tra trên.M1 bars averaged for the range check above. |
InpMaxOpenPositions | 0 | 0 | Không Init khi số lệnh mở ≥ N (0 = không giới hạn).No Init when open positions ≥ N (0 = unlimited). |
InpSingleRoundMode | true khác mặc định≠ default | false | Mỗi phía chỉ một round: Init mới khi phía đó trống, đã đủ max adds hoặc chỉ còn Init lẻ.One round per side: a new Init only when that side is empty, maxed out, or a lone Init. |
InpSingleRoundMaxAdds | 8 khác mặc định≠ default | 20 | [SingleRound] Max adds mỗi phía (0 = không giới hạn).[SingleRound] Max adds per side (0 = unlimited). |
InpSingleRoundGapInits | 10 khác mặc định≠ default | 2 | [SingleRound] Số round được Init để lấp gap giữa Buy trên và Sell dưới (0 = tắt).[SingleRound] Rounds allowed to fill the gap between upper Buys and lower Sells (0 = off). |
InpSingleRoundGapMaxPips | 0 khác mặc định≠ default | 500 | [SingleRound] Chỉ lấp gap khi gap ≤ N pips (0 = không giới hạn).[SingleRound] Fill the gap only when it is ≤ N pips (0 = unlimited). |
InpInitNaturalBypassTrend | false khác mặc định≠ default | true | DEPRECATED — không còn tác dụng.DEPRECATED — no effect. |
InpInitNaturalFallbackMinBars | 8 khác mặc định≠ default | 0 | Đã N nến M1 không Init (bị lọc) thì cho Init fallback (0 = tắt).After N M1 bars without an Init (filtered), allow a fallback Init (0 = off). |
InpNoAddWhenInitSameBar | false khác mặc định≠ default | true | Không Add trong nến vừa mở Init.No Add in the bar that just opened an Init. |
InpAddRequireSameSideRef | false | false | Add chỉ khi round đã có lệnh cùng phía.Add only when the round already has a same-side position. |
InpMaxAddsPerBarPerSide | 0 khác mặc định≠ default | 1 | Max Add mỗi phía mỗi nến M1 (0 = không giới hạn).Max Adds per side per M1 bar (0 = unlimited). |
InpMaxOrdersPerRound | 0 | 0 | Max lệnh mỗi phía mỗi round (0 = không giới hạn).Max orders per side per round (0 = unlimited). |
InpPriceZonePips | 0 | 0 | Bán kính vùng giá (pips) cho giới hạn dưới (0 = tắt).Price-zone radius (pips) for the cap below (0 = off). |
InpMaxOrdersInPriceZone | 0 | 0 | Max lệnh mỗi phía trong vùng giá, áp cho Init và Add (0 = tắt).Max orders per side inside the zone, for Init and Add (0 = off). |
Lot Balance
Cân bằng lot Buy/Sell — tắt trong pass58.Buy/Sell lot balancing — off in pass58. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpLotBalanceMode | 1 LossTriggered khác mặc định≠ default | 0 Normal | Normal = cân khi |Buy−Sell| > Trigger; LossTriggered = chỉ khi equity giảm đủ USD.Normal = balance when |Buy−Sell| > Trigger; LossTriggered = only after an equity drop in USD. |
InpLotBalanceLossTriggerUSD | 23000 khác mặc định≠ default | 100 | [LossTriggered] Kích hoạt khi equity giảm ≥ X USD so với tham chiếu.[LossTriggered] Activates when equity is down ≥ X USD from its reference. |
InpLotBalanceEnable | false khác mặc định≠ default | true | Bật cân bằng lot (hot-reload lot_balance_enable).Enable lot balancing (hot-reload lot_balance_enable). |
InpLotBalanceBypassMaxTrades | false khác mặc định≠ default | true | Add cân bằng được vượt DCA MaxTrades.Balancing Adds may exceed DCA MaxTrades. |
InpLotBalanceUseTargetLevel | false khác mặc định≠ default | true | Giữ ACT tới khi |Buy−Sell| ≤ Target (tắt = chỉ giữ dưới Trigger).Stay in ACT until |Buy−Sell| ≤ Target (off = just stay below Trigger). |
InpLotBalanceTrigger | 6.5 khác mặc định≠ default | 2 | [Normal] Bắt đầu cân khi |Buy−Sell| lot > giá trị này.[Normal] Start balancing when |Buy−Sell| lots > this. |
InpLotBalanceTarget | 0.5 | 0.5 | Mức cân về (khi UseTargetLevel).Balance-to level (with UseTargetLevel). |
InpLotBalanceMaxLotPerOrder | 0.2 khác mặc định≠ default | 0.1 | Lot tối đa mỗi lệnh AutoBal Direct.Max lot per AutoBal Direct order. |
InpMaxTotalLot | 0 khác mặc định≠ default | 5 | Trần tổng lot Buy+Sell; từ 80% trần lot mới giảm dần (0 = không giới hạn).Cap on total Buy+Sell lots; new lots shrink from 80% of the cap (0 = unlimited). |
Flash Crash Protection
Phát hiện cú chạy giá đột ngột — tắt.Sudden price-burst detection — off. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpFlashCrashEnable | false | false | Bật phát hiện flash crash.Enable flash-crash detection. |
InpFlashCrashPips | 200 | 200 | Giá chạy ≥ N pips trong cửa sổ → kích hoạt.Price moves ≥ N pips within the window → trigger. |
InpFlashCrashWindowSec | 300 | 300 | Cửa sổ thời gian (giây).Detection window (seconds). |
InpFlashCrashCooldownSec | 1800 | 1800 | Thời gian đóng băng sau khi kích hoạt (giây).Freeze duration after a trigger (seconds). |
InpFlashCrashBalanceIntervalSec | 60 khác mặc định≠ default | 30 | Khoảng cách giữa các lệnh cân bằng khi flash crash (giây).Gap between balancing orders during a flash crash (seconds). |
InpFlashCrashBalanceMaxLot | 0.3 | 0.3 | Lot tối đa mỗi lệnh cân bằng flash crash.Max lot per flash-crash balancing order. |
Support / Resistance
Vùng S/R swing — tắt cho giao dịch (pass58 dùng pivot thay thế).Swing S/R zones — off for trading (pass58 uses pivots instead). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpSupportResistanceEnable | false | false | Dùng S/R swing để ưu tiên Init/Add gần vùng.Use swing S/R to favour Init/Add near zones. |
InpSupportResistancePips | 50 khác mặc định≠ default | 15 | Khoảng "gần" S/R (pips); cũng dùng để vẽ zone."Near" S/R distance (pips); also used to draw zones. |
InpSupportResistanceApplyInit | true | true | Áp S/R cho Init.Apply S/R to Init. |
InpSupportResistanceApplyAdd | true | true | Áp S/R cho Add.Apply S/R to Add. |
InpSRTF | 16385 H1 khác mặc định≠ default | 5 M5 | TF phát hiện swing zone.Timeframe for swing-zone detection. |
InpSRSwingLeft | 3 khác mặc định≠ default | 2 | Số nến trái xác nhận swing.Left bars confirming a swing. |
InpSRSwingRight | 3 khác mặc định≠ default | 2 | Số nến phải xác nhận swing.Right bars confirming a swing. |
InpSRLookbackBars | 180 | 180 | Số nến lookback tìm zone.Lookback bars for zones. |
InpSRMinTouches | 3 khác mặc định≠ default | 1 | Số lần chạm tối thiểu để cộng điểm zone.Minimum touches to score a zone. |
InpSRMaxTouches | 6 khác mặc định≠ default | 4 | Số lần chạm tối đa để zone còn "fresh" (≤0 = bỏ qua).Max touches for a zone to stay "fresh" (≤0 = ignore). |
InpSRTouchToleranceMult | 0.7 | 0.7 | Độ rộng vùng chạm theo ngưỡng S/R.Touch tolerance as a multiple of the S/R threshold. |
InpSRATRPeriod | 14 | 14 | Chu kỳ ATR chấm điểm impulse.ATR period for impulse scoring. |
InpSRImpulseATRMult | 1 khác mặc định≠ default | 0.8 | Impulse tối thiểu sau swing (× ATR).Minimum impulse after the swing (× ATR). |
InpSRUseHTFConfluence | true | true | Cộng điểm khi trùng zone TF cao hơn.Score confluence with a higher-TF zone. |
InpSRConfluenceTF | 16388 H4 khác mặc định≠ default | 16385 H1 | TF cao hơn cho confluence.Higher timeframe for confluence. |
InpSRConfluenceMult | 1 | 1 | Khoảng cách confluence theo ngưỡng S/R.Confluence distance as a multiple of the S/R threshold. |
InpSRMinScore | 4 khác mặc định≠ default | 2 | Điểm tối thiểu để zone được dùng.Minimum score for a zone to be used. |
InpSRRequireCandleConfirm | true | true | Buy ở Support cần nến xanh, Sell ở Resistance cần nến đỏ (trên InpSRTF).Buy at Support needs a green bar, Sell at Resistance a red bar (on InpSRTF). |
InpSRGateAdd | false | false | Add bắt buộc phải gần S/R (ngoài MinPips).Adds must also be near S/R (on top of MinPips). |
Trend Filter
Bộ lọc xu hướng chính: M3 EMA30 cho cả Init và Add.Primary trend filter: M3 EMA30 for both Init and Add. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpTrendFilterEnable | true khác mặc định≠ default | false | Bật trend filter EMA: chặn lệnh ngược xu hướng, neutral chặn Init.Enable the EMA trend filter: blocks counter-trend orders, neutral blocks Init. |
InpTrendFilterTF | 3 M3 khác mặc định≠ default | 16388 H4 | TF tính EMA trend — "lever gốc" của chiến lược.Trend EMA timeframe — the strategy's root lever. |
InpTrendFilterMAPeriod | 30 khác mặc định≠ default | 50 | Chu kỳ EMA trend.Trend EMA period. |
InpTrendFilterApplyInit | true | true | Init chỉ mở chân P theo trend; neutral → không Init.Init opens only the with-trend P leg; neutral → no Init. |
InpTrendFilterApplyAdd | true | true | Add chỉ theo trend; neutral chặn cả hai phía.Adds only with the trend; neutral blocks both sides. |
InpTrendFilterNeutralPips | 10 khác mặc định≠ default | 5 | Vùng neutral quanh EMA (pips) khi không dùng adaptive.Neutral band around the EMA (pips) when adaptive is not in effect. |
Sideway Filter (Bollinger)
Lọc sideway Bollinger — tắt.Bollinger sideway filter — off. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpSidewayFilterEnable | false | false | Bật phát hiện sideway bằng Bollinger bandwidth.Enable Bollinger-bandwidth sideway detection. |
InpSidewayTF | 15 M15 khác mặc định≠ default | 1 M1 | TF Bollinger sideway.Sideway Bollinger timeframe. |
InpSidewayBBPeriod | 14 | 14 | Chu kỳ Bollinger.Bollinger period. |
InpSidewayBBDeviation | 2 | 2 | Độ lệch Bollinger.Bollinger deviation. |
InpSidewayBBBandwidthMax | 3.2 khác mặc định≠ default | 0.002 | Ngưỡng sideway: bandwidth (hoặc bandwidth ÷ ATR khi normalize) nhỏ hơn giá trị này.Sideway threshold: bandwidth (or bandwidth ÷ ATR when normalised) below this. |
InpSidewayATRNormalize | true khác mặc định≠ default | false | Chuẩn hoá bandwidth theo ATR.Normalise bandwidth by ATR. |
InpSidewayATRPeriod | 14 | 14 | Chu kỳ ATR cho chế độ normalize.ATR period for normalised mode. |
InpSidewayBlockInit | true | true | Chặn Init khi sideway.Block Init while sideways. |
InpSidewayBlockAdd | true | true | Chặn Add khi sideway (trừ cân bằng lot).Block Adds while sideways (except lot balancing). |
InpSidewayAllowNaturalInit | false khác mặc định≠ default | true | DEPRECATED — không còn tác dụng.DEPRECATED — no effect. |
SR Zone Visualization
Chỉ phần vẽ zone S/R lên chart.Drawing of S/R zones on the chart only. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpSRDrawZones | true | true | Vẽ zone S/R lên chart (vẫn vẽ khi S/R trading tắt).Draw S/R zones on the chart (even with S/R trading off). |
InpSRZoneHalfWidthPips | 5 khác mặc định≠ default | 8 | Nửa bề rộng zone vẽ (pips).Half width of drawn zones (pips). |
InpSRColorSupport | 2147483647 khác mặc định≠ default | 6732544 | Màu zone Support.Support zone colour. |
InpSRColorResistance | 2147483647 khác mặc định≠ default | 13386752 | Màu zone Resistance.Resistance zone colour. |
InpSRColorHTFSupport | 8036607 clrLightSalmon khác mặc định≠ default | 2293538 | Màu Support có confluence TF cao.Colour of HTF-confluence Support. |
InpSRColorHTFResistance | 55295 clrGold khác mặc định≠ default | 16720418 | Màu Resistance có confluence TF cao.Colour of HTF-confluence Resistance. |
Pivot Point
Pivot H1 Camarilla, gần ±50 pips, chỉ áp cho Init.H1 Camarilla pivots, ±50 pips proximity, Init only. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpPivotFilterEnable | true khác mặc định≠ default | false | Bật bộ lọc pivot: Buy gần Support, Sell gần Resistance; gần pivot cũng là lý do Init.Enable the pivot filter: Buy near Support, Sell near Resistance; pivot proximity is also an Init trigger. |
InpPivotFilterIndependent | false | false | true = chỉ pivot quyết (bỏ Trend/Sideway/S-R); false = kết hợp.true = pivot alone decides (bypasses Trend/Sideway/S-R); false = combined. |
InpPivotTF | 16385 H1 khác mặc định≠ default | 16408 D1 | TF tính pivot.Pivot timeframe. |
InpPivotMethod | 2 Camarilla khác mặc định≠ default | 0 Classic | Công thức pivot.Pivot formula. |
InpPivotProximityPips | 50 khác mặc định≠ default | 30 | "Gần" pivot khi |giá − level| ≤ N pips."Near" a pivot when |price − level| ≤ N pips. |
InpPivotMaxLevel | 2 | 2 | Cấp xét: 0 = PP, 1 = +S1/R1, 2 = +S2/R2, 3 = +S3/R3.Levels used: 0 = PP, 1 = +S1/R1, 2 = +S2/R2, 3 = +S3/R3. |
InpPivotApplyInit | true | true | Áp pivot cho Init.Apply the pivot filter to Init. |
InpPivotApplyAdd | false khác mặc định≠ default | true | Áp pivot cho Add.Apply the pivot filter to Add. |
InpPivotDrawLines | false khác mặc định≠ default | true | Vẽ đường pivot.Draw pivot lines. |
InpPivotColorPP | 65535 clrYellow | 65535 clrYellow | Màu PP.PP colour. |
InpPivotColorSupport | 65280 clrLime | 65280 clrLime | Màu S1–S3.S1–S3 colour. |
InpPivotColorResistance | 4678655 clrTomato | 4678655 clrTomato | Màu R1–R3.R1–R3 colour. |
InpPivotAutoUseATR | true | true | [Auto] Dùng tỉ lệ range/ATR để chọn công thức.[Auto] Use range/ATR to pick the method. |
InpPivotAutoLowVolRatio | 0.7 | 0.7 | [Auto] range/ATR dưới mức này → Camarilla.[Auto] range/ATR below this → Camarilla. |
InpPivotAutoHighVolRatio | 1.4 | 1.4 | [Auto] range/ATR trên mức này → Classic.[Auto] range/ATR above this → Classic. |
InpPivotAutoBodyThresh | 0.65 | 0.65 | [Auto] Thân nến lớn + đóng cực → Woodie.[Auto] Large body + extreme close → Woodie. |
Wick Rejection Filter
Lọc râu nến M30 + H1, chỉ áp cho Init.M30 + H1 wick rejection, Init only. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpWickFilterEnable | true khác mặc định≠ default | false | Bật lọc râu nến: râu trên ở cả TF1 và TF2 chặn Buy, râu dưới chặn Sell.Enable wick rejection: upper wick on both TF1 and TF2 blocks Buy, lower wick blocks Sell. |
InpWickFilterTF1 | 30 M30 khác mặc định≠ default | 15 M15 | TF kiểm tra râu #1.Wick timeframe #1. |
InpWickFilterTF2 | 16385 H1 | 16385 H1 | TF kiểm tra râu #2 (AND với TF1).Wick timeframe #2 (AND with TF1). |
InpWickLookbackBars | 12 khác mặc định≠ default | 2 | Số nến gần nhất kiểm tra trên mỗi TF.Recent bars checked on each TF. |
InpWickToBodyRatio | 2 | 2 | Râu ≥ N × thân nến.Wick ≥ N × body. |
InpWickToRangeMin | 0.5 | 0.5 | Râu ≥ N × range nến.Wick ≥ N × bar range. |
InpWickApplyInit | true | true | Áp lọc râu cho Init.Apply wick rejection to Init. |
InpWickApplyAdd | false | false | Áp lọc râu cho Add.Apply wick rejection to Add. |
Choppy Defense Group (Trigger-based Activation)
Công tắc kích hoạt nhóm phòng thủ: chỉ khi ≥ 24 lệnh.Defense-group trigger switch: only at ≥ 24 positions. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpChoppyDefenseGroupEnable | true khác mặc định≠ default | false | Master: 5 bộ lọc phòng thủ (Choppy, AntiWhip, AdaptiveNP, MultiTF, DualDir) chỉ chạy khi có trigger.Master: the 5 defense filters (Choppy, AntiWhip, AdaptiveNP, MultiTF, DualDir) act only when a trigger fires. |
InpChoppyDefenseMinOrders | 24 khác mặc định≠ default | 10 | Trigger: số lệnh (không tính Hedge) ≥ N (0 = tắt).Trigger: non-hedge positions ≥ N (0 = off). |
InpChoppyDefenseNegProfitUSD | 0 khác mặc định≠ default | 300 | Trigger: floating lỗ ≥ X USD (0 = tắt).Trigger: floating loss ≥ X USD (0 = off). |
InpChoppyDefenseLotDiffMin | 0 khác mặc định≠ default | 0.5 | Trigger: |BuyLot − SellLot| ≥ X (0 = tắt).Trigger: |BuyLot − SellLot| ≥ X (0 = off). |
Choppy Market Filter (ADX)
ADX chop trên H3 (thuộc nhóm phòng thủ).H3 ADX chop filter (part of the defense group). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpChoppyFilterEnable | true | true | Bật lọc chop bằng ADX.Enable the ADX choppy filter. |
InpChoppyFilterTF | 16387 H3 khác mặc định≠ default | 15 M15 | TF ADX (dùng chung cho Adaptive NeutralPips).ADX timeframe (shared with Adaptive NeutralPips). |
InpChoppyAdxPeriod | 14 | 14 | Chu kỳ ADX.ADX period. |
InpChoppyAdxMinForTrend | 22 | 22 | ADX dưới ngưỡng = chop → chặn.ADX below this = choppy → block. |
InpChoppyApplyInit | true | true | Chặn Init khi chop.Block Init when choppy. |
InpChoppyApplyAdd | true khác mặc định≠ default | false | Chặn Add khi chop.Block Adds when choppy. |
Anti-Whipsaw Cooldown
Cooldown sau lỗ đã chốt (thuộc nhóm phòng thủ).Cooldown after realised losses (part of the defense group). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpAntiWhipsawEnable | true | true | Bật cooldown sau chuỗi lỗ đã chốt.Enable a cooldown after realised losses. |
InpAntiWhipsawLookbackH | 24 khác mặc định≠ default | 8 | Cửa sổ trượt (giờ) cộng lỗ đã chốt.Sliding window (hours) for realised loss. |
InpAntiWhipsawMaxLossUSD | 250 khác mặc định≠ default | 200 | Lỗ đã chốt ≥ X USD trong cửa sổ → cooldown.Realised loss ≥ X USD in the window → cooldown. |
InpAntiWhipsawCooldownH | 4 | 4 | Thời gian cooldown không Init (giờ).No-Init cooldown length (hours). |
Adaptive Trend NeutralPips (ADX-driven)
NeutralPips theo ADX (thuộc nhóm phòng thủ).ADX-driven NeutralPips (part of the defense group). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpTrendAdaptive | true | true | NeutralPips tự đổi theo ADX (khi Defense Group active).NeutralPips follows ADX (while the Defense Group is active). |
InpTrendAdaptiveADXStrong | 28 khác mặc định≠ default | 30 | ADX ≥ mức này → NeutralStrong.ADX ≥ this → NeutralStrong. |
InpTrendAdaptiveADXWeak | 18 khác mặc định≠ default | 20 | ADX < mức này → NeutralWeak.ADX < this → NeutralWeak. |
InpTrendNeutralStrong | 5 | 5 | NeutralPips khi trend mạnh.NeutralPips in a strong trend. |
InpTrendNeutralMid | 20 khác mặc định≠ default | 15 | NeutralPips khi ADX trung bình.NeutralPips at mid ADX. |
InpTrendNeutralWeak | 50 | 50 | NeutralPips khi chop.NeutralPips when choppy. |
Multi-TF Trend Confirmation
Xác nhận H4 EMA50 cho Init (thuộc nhóm phòng thủ).H4 EMA50 confirmation for Init (part of the defense group). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpMultiTfTrendEnable | true khác mặc định≠ default | false | TF cao phải cùng hướng trend (neutral = chặn).The higher TF must agree with the trend (neutral = block). |
InpMultiTfTrendHigherTF | 16388 H4 khác mặc định≠ default | 16385 H1 | TF cao để xác nhận.Higher confirmation timeframe. |
InpMultiTfTrendHigherMAPeriod | 50 | 50 | Chu kỳ EMA trên TF cao.EMA period on the higher TF. |
InpMultiTfTrendApplyInit | true | true | Áp xác nhận TF cao cho Init.Apply HTF confirmation to Init. |
InpMultiTfTrendApplyAdd | false | false | Áp xác nhận TF cao cho Add (đã test: làm chết recovery).Apply HTF confirmation to Adds (tested: starves recovery). |
Dual-Direction Prohibition (chop)
Cấm mở hai chiều khi chop (thuộc nhóm phòng thủ).No two-sided opening during chop (part of the defense group). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpDualDirChopEnable | true khác mặc định≠ default | false | Khi chop và chỉ có một phía mở → chặn Init phía kia.When choppy and only one side is open → block Init on the other side. |
DCA Negative
Nhánh DCANeg — tắt: không bồi ngược giá.DCANeg branch — off: no counter-price adds. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpDCANegEnable | false khác mặc định≠ default | true | Master nhánh Add DCANeg (ngược giá). Không đụng lệnh đang mở, không kiểm khi Init.Master switch for DCANeg (counter) Adds. Leaves open positions alone; not checked at Init. |
InpDCANegStartLot | 0.02 | 0.02 | Lot khởi đầu chân N.Start lot of the N leg. |
InpDCANegMultiplier | 1.2 | 1.2 | Hệ số nhân lot DCANeg.DCANeg lot multiplier. |
InpDCANegMinPips | 34 | 34 | Khoảng cách Add DCANeg (pips); cũng là khoảng Sell xuyên round khi Init.DCANeg Add spacing (pips); also the cross-round Sell spacing at Init. |
InpDCANegMaxLot | 0.2 khác mặc định≠ default | 0.5 | Trần lot mỗi lệnh DCANeg.Max lot per DCANeg order. |
InpDCANegMaxTrades | 0 khác mặc định≠ default | 53 | Max lệnh DCANeg mọi round (0 = không giới hạn).Max DCANeg orders across rounds (0 = unlimited). |
InpDCANegTPEnable | false | false | TP từng lệnh DCANeg theo USD.Per-order USD TP for DCANeg. |
InpDCANegTPUSD | 0 khác mặc định≠ default | 12 | Mức TP USD mỗi lệnh DCANeg.USD TP per DCANeg order. |
DCA Positive
Nhánh DCAPos: 0.10 × 1.5, 34 pips, trần 0.5, TP ảo $10.DCAPos branch: 0.10 × 1.5, 34 pips, cap 0.5, virtual TP $10. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpDCAPosEnable | true | true | Master nhánh Add DCAPos (thuận giá).Master switch for DCAPos (with-price) Adds. |
InpDCAPosStartLot | 0.1 khác mặc định≠ default | 0.05 | Lot khởi đầu chân P — quyết định quy mô rủi ro.Start lot of the P leg — sets the risk scale. |
InpDCAPosMultiplier | 1.5 | 1.5 | Hệ số nhân lot DCAPos (martingale).DCAPos lot multiplier (martingale). |
InpDCAPosMinPips | 34 khác mặc định≠ default | 27 | Khoảng cách Add DCAPos (pips); cũng là khoảng Buy xuyên round và ngưỡng gap.DCAPos Add spacing (pips); also the cross-round Buy spacing and gap threshold. |
InpDCAPosMaxLot | 0.5 | 0.5 | Trần lot mỗi lệnh DCAPos.Max lot per DCAPos order. |
InpDCAPosMaxTrades | 0 khác mặc định≠ default | 68 | Max lệnh DCAPos mọi round (0 = không giới hạn).Max DCAPos orders across rounds (0 = unlimited). |
InpDCAPosTPEnable | true khác mặc định≠ default | false | TP từng lệnh DCAPos theo USD.Per-order USD TP for DCAPos. |
InpDCAPosTPUSD | 10 khác mặc định≠ default | 5 | Mức TP USD mỗi lệnh DCAPos.USD TP per DCAPos order. |
InpVirtualDcaTpEnable | true | true | TP do EA tự đóng (lệnh gửi TP = 0); false = gửi TP lên broker.EA-managed TP (orders sent with TP = 0); false = TP placed at the broker. |
InpDcaTpSkipWhenOpposLossUSD | 500 khác mặc định≠ default | 0 | Giữ TP từng lệnh khi phía đối diện lỗ ≥ USD (0 = tắt).Hold per-order TP while the opposite side is down ≥ USD (0 = off). |
InpDcaChainPersistent | false | false | Số mũ lot giữ qua các lần đóng một phần, chỉ reset khi round chết.Lot exponent survives partial closes; resets only when the round dies. |
DCA MinPips Mode (v1.41.1)
MinPips cố định (chế độ Pivot không dùng).Fixed MinPips (Pivot mode unused). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpDCAMinPipsMode | 0 Fixed | 0 Fixed | Fixed = MinPips cố định; Pivot = spacing Add động theo pivot range.Fixed = static MinPips; Pivot = dynamic Add spacing from the pivot range. |
InpDCAMinPipsPivotTF | 20 M20 khác mặc định≠ default | 16388 H4 | [Pivot] TF lấy pivot range.[Pivot] Timeframe of the pivot range. |
InpDCAMinPipsPivotK | 1 | 1 | [Pivot] Hệ số × nửa range.[Pivot] Factor × half range. |
InpDCAMinPipsFloor | 5 khác mặc định≠ default | 12 | [Pivot] Sàn MinPips động (pips).[Pivot] Floor of the dynamic MinPips (pips). |
Manual Init (v1.41.2)
Mặc định OFF; đổi trên web khi cần.OFF by default; change it from the web when needed. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpManualInit | 0 OFF | 0 OFF | Công cụ vận hành: OFF / Only BUY / Only SELL / Pause / Close all (hot-reload manual_init).Operator tool: OFF / Only BUY / Only SELL / Pause / Close all (hot-reload manual_init). |
InpManualForceDirection | false | false | (b6) Khi manual BUY/SELL: false chỉ ép chiều lệnh mồi lúc rổ trống; true ép cả init_pivot / init_gap khi đang có lệnh, dùng để gỡ lệnh theo xu hướng (hot-reload manual_force_dir).(b6) With manual BUY/SELL: false forces only the seed Init on an empty basket; true also forces init_pivot / init_gap while positions are open, to work out of positions along a trend (hot-reload manual_force_dir). |
InpManualForceAddDirection | false | false | (b7) Khi manual BUY/SELL: false lệnh bồi theo trend M3 như thường; true chỉ phía manual được bồi (bỏ qua bộ lọc chiều của lệnh bồi), phía ngược lại không bồi (hot-reload manual_force_add).(b7) With manual BUY/SELL: false adds follow the M3 trend as usual; true only the manual side gets adds (skipping the add direction filters) and the other side gets none (hot-reload manual_force_add). |
Hedging
Hedge — tắt.Hedging — off. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpHedgeEnable | false khác mặc định≠ default | true | Bật mở hedge mới (hot-reload hedge_enable).Allow new hedges (hot-reload hedge_enable). |
InpHedgeAfterTrades | 9999 khác mặc định≠ default | 10 | Hedge khi số lệnh một phía ≥ N và phía đó lỗ.Hedge when one side holds ≥ N orders and is losing. |
InpHedgeMode | 1 ByTotal | 1 ByTotal | Cách tính volume hedge.Hedge volume method. |
InpHedgeLotPercent | 70 khác mặc định≠ default | 90 | % lot dùng cho hedge (ByMainRound / ByTotal / PerRound).Hedge lot % (ByMainRound / ByTotal / PerRound). |
InpHedgeLotPer100USD | 0.01 | 0.01 | [ByAccountProfit] Lot hedge mỗi 100 USD lỗ.[ByAccountProfit] Hedge lot per 100 USD of loss. |
Tia Orders (Cluster Scalping)
Đóng cụm Tia: target $10, rescue $300, anchor + ladder, không partial.Tia clusters: $10 target, $300 rescue, anchor + ladder, no partials. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpTiaClusterMin | 3 khác mặc định≠ default | 1 | Số lệnh tối thiểu trong cụm Tia.Minimum positions in a Tia cluster. |
InpTiaClusterMax | 0 | 0 | Số lệnh tối đa trong cụm (0 = không giới hạn).Maximum positions in a cluster (0 = unlimited). |
InpTiaProfitUSD | 10 khác mặc định≠ default | 5 | Đóng cụm khi tổng lời ≥ X USD.Close a cluster when combined profit ≥ X USD. |
InpTiaProfitWhenLossEnable | true khác mặc định≠ default | false | Bật target rescue khi tài khoản lỗ sâu.Enable the rescue target when the account is deep in loss. |
InpTiaProfitWhenLossUSD | 300 khác mặc định≠ default | 30 | Target cụm ở rescue mode.Cluster target in rescue mode. |
InpTiaHighTargetLossUSD | 500 khác mặc định≠ default | 0 | Tổng floating ≤ −X USD → rescue mode (0 = tắt).Total floating ≤ −X USD → rescue mode (0 = off). |
InpTiaBotDCAStyle | true | true | Cụm phải có đủ lệnh ở cả hai phía.Clusters must mix both sides. |
InpTiaBotDCAMinSide | 2 | 2 | Số lệnh tối thiểu phía chính.Minimum positions on the main side. |
InpTiaBotDCAMinOtherSide | 3 khác mặc định≠ default | 1 | Số lệnh tối thiểu phía đối diện.Minimum positions on the opposite side. |
InpTiaPartialCloseEnable | false khác mặc định≠ default | true | Path A: lệnh lời tỉa lỗ (partial) trong budget.Path A: winners trim losers (partial) within budget. |
InpTiaMaskPartialCloseEnable | false khác mặc định≠ default | true | Cho partial close trong vòng mask (Path B).Allow partial close inside the mask loop (Path B). |
InpTiaPartialCloseLogEnable | false | false | Ghi log partial close ra file.Log partial closes to a file. |
InpTiaPartialCloseLogFile | (trống)(empty) | (trống)(empty) | Tên file log (trống = PartialClose.csv).Log file name (empty = PartialClose.csv). |
InpTiaProfitUSDMin | 0 | 0 | Target tối thiểu cho chốt sớm (0 = dùng InpTiaProfitUSD).Minimum target for early closes (0 = InpTiaProfitUSD). |
InpTiaPrioritizeByDistance | true | true | Ưu tiên đóng lệnh lỗ xa giá nhất.Prefer closing the losers farthest from price. |
InpTiaAnchorRequire | true | true | Cụm phải chứa anchor (lệnh lỗ xa + cũ nhất phía đối diện).Clusters must include the anchor (farthest + oldest opposite loser). |
InpTiaLadderRollClose | true | true | Lệnh lỗ phía đối diện đóng theo prefix liên tục từ ngoài vào.Opposite losers close as a contiguous prefix from the outside in. |
InpTiaAnchorMaxDistPips | 1000 khác mặc định≠ default | 0 | Anchor xa hơn N pips thì bỏ yêu cầu anchor (0 = không giới hạn).Anchor farther than N pips is waived (0 = unlimited). |
InpTiaBlockSameSideWhenStuck | true | true | Có lệnh stuck → giữ lệnh lời cả hai phía, bỏ Path B.Any stuck position → hold winners on both sides, skip Path B. |
InpTiaStuckLossUSD | 500 khác mặc định≠ default | 200 | Lệnh lỗ ≥ X USD là stuck (0 = tắt).A loser ≥ X USD is stuck (0 = off). |
InpTiaStuckAgeHours | 4 | 4 | Hoặc lệnh lỗ có tuổi ≥ N giờ là stuck (0 = tắt).Or a loser aged ≥ N hours is stuck (0 = off). |
InpStuckDebugLog | true | true | In log chẩn đoán stuck (throttle ~60 s).Print stuck diagnostics (≈60 s throttle). |
InpTiaCloseOldestFirst | false | false | Chọn lệnh lời theo FIFO thay vì lời lớn trước.Pick winners FIFO instead of largest profit first. |
InpTiaMaxHoldHours | 0 | 0 | Ưu tiên đóng lệnh lỗ cũ hơn N giờ (0 = tắt).Prefer closing losers older than N hours (0 = off). |
InpTiaDcaTpSynergyEnable | true khác mặc định≠ default | false | Nới target cụm và ưu tiên lệnh gần TP.Relax the cluster target and prefer legs near TP. |
InpTiaMaxPositions | 22 khác mặc định≠ default | 14 | Số lệnh cũ nhất đưa vào vòng mask (clamp 8–22; 22 ≈ 4M tổ hợp).Oldest positions fed to the mask loop (clamped 8–22; 22 ≈ 4M subsets). |
Residue Position Management
Ngăn lệnh lẻ quá nhỏ sau partial close.Prevents tiny leftovers after partial closes. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpResiduePreventEnable | true | true | Không partial nếu phần còn lại thành residue (đóng full hoặc bỏ qua).Avoid partials that would leave a residue (close full or skip). |
InpResidueAutoCleanEnable | false khác mặc định≠ default | true | Tự đóng residue có profit ≥ ngưỡng.Auto-close residues with profit ≥ floor. |
InpResidueAutoCleanProfitFloor | -2 | -2 | Ngưỡng profit (USD) để dọn residue.Profit floor (USD) for residue cleaning. |
InpResidueLotMultiplier | 1.5 | 1.5 | Residue = lot < min lot × hệ số này.Residue = lot < min lot × this factor. |
InpResidueFilterGapDetection | true | true | Bỏ residue khỏi tính gap.Exclude residues from gap detection. |
InpResidueFilterRoundRefs | true | true | Bỏ residue khỏi ref Add và MinPips xuyên round.Exclude residues from Add refs and cross-round MinPips. |
Global TP/SL
Global TP $10 đóng tất cả; không có Global SL.Global TP $10 closes everything; no Global SL. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpGlobalTPUSD | 10 khác mặc định≠ default | 70 | Tổng floating ≥ X USD → đóng tất cả ("bias close-all").Total floating ≥ X USD → close everything ("bias close-all"). |
InpGlobalSLUSD | 999999 | 999999 | Tổng floating ≤ −X USD → đóng tất cả (≥ 999999 = tắt).Total floating ≤ −X USD → close everything (≥ 999999 = off). |
Global SL Clear Stuck
Dọn lệnh kẹt — tắt.Stuck clearing — off. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpGlobalSLClearStuckEnable | false | false | Bật dọn lệnh kẹt bằng lợi nhuận đã chốt trong kỳ.Enable clearing stuck orders with realised period profit. |
InpGlobalSLClearStuckDistancePips | 250 khác mặc định≠ default | 50 | Giá đã đi ngược lệnh ≥ N pips mới xét.Price must be ≥ N pips against the order. |
InpGlobalSLClearStuckMode | 1 WorstOnly khác mặc định≠ default | 0 All | Chế độ đóng lệnh kẹt.Stuck-clearing mode. |
InpGlobalSLClearStuckMaxLossPctOfDayProfit | 35 khác mặc định≠ default | 50 | Budget = % lợi nhuận kỳ được phép dùng.Budget = % of period profit that may be spent. |
InpGlobalSLClearStuckProfitPeriod | 0 Daily | 0 Daily | Kỳ tính lợi nhuận: Daily hoặc Weekly.Profit period: Daily or Weekly. |
InpGlobalSLClearStuckEmergencyPips | 0 | 0 | Lệnh tệ nhất xa hơn N pips → cắt ngay bất kể lợi nhuận (0 = tắt).Worst order beyond N pips → cut regardless of profit (0 = off). |
Daily Profit Limit
Giới hạn ngày — tắt.Daily limit — off. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpDailyLimitEnable | false | false | Bật giới hạn lời/lỗ mỗi ngày.Enable the daily profit/loss limit. |
InpDailyLimitTargetProfitUSD | 0 | 0 | Lời trong ngày ≥ X → đóng hết, dừng tới hết ngày (0 = tắt).Daily profit ≥ X → close all, stop for the day (0 = off). |
InpDailyLimitTargetLossUSD | 0 | 0 | Floating lỗ ≥ X → đóng hết, dừng tới hết ngày (0 = tắt).Floating loss ≥ X → close all, stop for the day (0 = off). |
Risk Management (Protection)
Max drawdown / lỗ ngày — tắt.Max drawdown / daily loss — off. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpMaxDrawdownEnable | false khác mặc định≠ default | true | Bật chặn lệnh mới khi drawdown equity vượt ngưỡng.Block new orders when equity drawdown exceeds a limit. |
InpMaxDrawdownPercent | 35 khác mặc định≠ default | 80 | Ngưỡng drawdown % từ đỉnh equity.Drawdown % from the equity peak. |
InpMaxDrawdownUSD | 0 | 0 | Ngưỡng drawdown USD (0 = tắt).Drawdown in USD (0 = off). |
InpMaxDrawdownCloseAll | false | false | Vượt ngưỡng thì đóng hết thay vì chỉ chặn lệnh mới.Close everything instead of only blocking new orders. |
InpMaxLossPerDayEnable | false khác mặc định≠ default | true | Bật chặn lệnh mới khi lỗ đã chốt trong ngày vượt ngưỡng.Block new orders when realised daily loss exceeds a limit. |
InpMaxLossPerDayUSD | 5000 | 5000 | Ngưỡng lỗ trong ngày (USD).Daily loss limit (USD). |
Trading Time
Giao dịch cả ngày.Trades all day. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpStartHour | 0 | 0 | Giờ bắt đầu cho phép Init (giờ server).Init window start hour (server time). |
InpStartMinute | 0 khác mặc định≠ default | 1 | Phút bắt đầu.Start minute. |
InpEndHour | 23 | 23 | Giờ kết thúc.End hour. |
InpEndMinute | 59 | 59 | Phút kết thúc.End minute. |
Weekend Protection
Bảo vệ cuối tuần — tắt (các giá trị con để sẵn).Weekend protection — off (sub-values pre-set). Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpWeekendProtectionEnable | false | false | Bật bảo vệ cuối tuần (hot-reload weekend_protect_enable).Enable weekend protection (hot-reload weekend_protect_enable). |
InpFridayNoInitAfterHour | 13 khác mặc định≠ default | 12 | Thứ 6 từ giờ này: không Init / Add.Friday from this hour: no Init / Add. |
InpFridayCloseAllBeforeHour | 20 khác mặc định≠ default | 21 | Thứ 6 từ giờ này: đóng tất cả (0 = tắt).Friday from this hour: close everything (0 = off). |
InpFridayCloseMinProfitUSD | -50 khác mặc định≠ default | -999999 | Chỉ đóng thứ 6 khi tổng profit ≥ giá trị này.Close on Friday only when total profit ≥ this. |
InpMaxNetLotBeforeWeekend | 0.35 khác mặc định≠ default | 0.5 | |Buy − Sell| mục tiêu trước cuối tuần (hot-reload weekend_max_net_lot).Target |Buy − Sell| before the weekend (hot-reload weekend_max_net_lot). |
InpWeekendBalanceEnable | true | true | Thứ 6 tự mở lệnh phía nhẹ để giảm net lot.On Friday, open lighter-side orders to cut net lot. |
InpWeekendBalanceMaxLotPerOrder | 0.15 khác mặc định≠ default | 0.2 | Lot tối đa mỗi lệnh BalanceFri (1 lệnh/nến M1).Max lot per BalanceFri order (1 per M1 bar). |
InpMondayNoInitUntilHour | 0 khác mặc định≠ default | 2 | Thứ 2 trước giờ này: không Init (0 = không chặn).Monday before this hour: no Init (0 = no block). |
Symbol
Pip và magic.Pip size and magic. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpPipPoints | 10 | 10 | Số point mỗi pip (XAU: 10 → 1 pip = 0.10 giá).Points per pip (XAU: 10 → 1 pip = 0.10 in price). |
InpMagic | 2.14783e+07 | 2.14783e+07 | Magic number của EA — khoá sổ lệnh, file ticket map và account trên server.EA magic number — keys the order book, ticket-map file and server account. |
Cloud Sync (TMap Disaster Recovery)
fxconsole per-EA URL, heartbeat 10 s, EA Link HYBRID.fxconsole per-EA URL, 10 s heartbeat, EA Link HYBRID. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpCloudSyncEnable | true khác mặc định≠ default | false | Bật heartbeat, remote config, ticket map cloud, leader election (chỉ live).Enable heartbeat, remote config, cloud ticket map, leader election (live only). |
InpCloudBearerToken | <secret> nhập trên terminaltype on terminal | (trống)(empty) | Secret token của product EA trên fxconsole. Không bao giờ commit.The EA product's secret token on fxconsole. Never commit it. |
InpCloudCfDomain | (trống)(empty) | (trống)(empty) | Domain Cloudflare Worker (trống = không dùng).Cloudflare Worker domain (empty = unused). |
InpCloudMyApiDomain | https://fxconsole.gamelau.uk/easupported/goldenrobber khác mặc định≠ default | (trống)(empty) | URL per-EA dạng https://host/easupported/{slug}; EA tự thêm /api/tmap/…Per-EA URL https://host/easupported/{slug}; the EA appends /api/tmap/… |
InpCloudSyncIntervalSec | 10 khác mặc định≠ default | 30 | Chu kỳ heartbeat / đồng bộ (giây).Heartbeat / sync interval (seconds). |
InpCloudWebTimeoutMs | 5000 | 5000 | Timeout WebRequest (ms).WebRequest timeout (ms). |
InpCloudNodePriority | 100 | 100 | Priority node (số nhỏ ưu tiên làm leader).Node priority (lower wins leadership). |
InpCloudNodeId | (trống)(empty) | (trống)(empty) | ID node (trống = auto từ đường dẫn terminal).Node ID (empty = auto from the terminal path). |
InpCloudHeartbeatTimeoutSec | 90 | 90 | Node coi là chết nếu không heartbeat trong N giây.A node is dead after N seconds without heartbeat. |
InpLinkMode | 1 HYBRID | 1 HYBRID | HYBRID = heartbeat HTTP + tín hiệu EA Link realtime.HYBRID = HTTP heartbeat + realtime EA Link signal. |
InpLinkHost | fxconsole.gamelau.uk khác mặc định≠ default | (trống)(empty) | Host EaLinkBroker (trống = host của MyApi domain); phải có trong Allow WebRequest.EaLinkBroker host (empty = MyApi domain host); must be in Allow WebRequest. |
InpLinkPort | 9607 | 9607 | Cổng TLS EaLinkBroker.EaLinkBroker TLS port. |
Info Panel
Vị trí và màu Info Panel.Info Panel position and colours. Tham chiếuReference
| Input | Giá trịValue | Mặc địnhDefault | Ý nghĩaMeaning |
|---|---|---|---|
InpPanelRefreshSec | 1 | 1 | Chu kỳ vẽ panel (giây).Panel refresh interval (seconds). |
InpPanelX | 550 khác mặc định≠ default | 12 | Toạ độ X panel (pixel).Panel X position (pixels). |
InpPanelY | 25 | 25 | Toạ độ Y panel (pixel).Panel Y position (pixels). |
InpPanelBackground | true | true | Vẽ nền sau panel.Draw a background behind the panel. |
InpPanelBgColor | 0 clrBlack | 0 clrBlack | Màu nền panel.Panel background colour. |
InpPanelBgWidth | 650 khác mặc định≠ default | 240 | Chiều rộng nền (pixel).Background width (pixels). |
InpPanelBgHeight | 400 khác mặc định≠ default | 78 | Chiều cao nền (pixel).Background height (pixels). |
InpPanelColorBuy | 16748574 clrDodgerBlue | 16748574 clrDodgerBlue | Màu dòng Buy.Buy line colour. |
InpPanelColorSell | 42495 clrOrange khác mặc định≠ default | 17919 clrOrangeRed | Màu dòng Sell.Sell line colour. |
InpPanelColorNetLot | 65535 clrYellow | 65535 clrYellow | Màu dòng Net lot.Net lot line colour. |
InpPanelColorDCAMax | 12632256 clrSilver | 12632256 clrSilver | Màu dòng DCA max.DCA max line colour. |
InpPanelColorProfit | 65280 clrLime | 65280 clrLime | Màu dòng Profit.Profit line colour. |
InpPanelColorBalance | 16777215 clrWhite | 16777215 clrWhite | Màu dòng Balance.Balance line colour. |
InpPanelColorAutoBalActive | 3329434 clrYellowGreen | 3329434 clrYellowGreen | Màu AutoBal ACT / DONE.AutoBal ACT / DONE colour. |
InpPanelColorAutoBalStandby | 16777215 clrWhite | 16777215 clrWhite | Màu AutoBal standby.AutoBal standby colour. |
Đọc tiếpFurther reading
- Workflow & logic — các giá trị trên được dùng ở đâu trong mỗi tick.
- Tham số input — mô tả đầy đủ từng input.
- Phân tích pass58 (1.41.4) · Hướng dẫn vốn · So sánh backtest.
- Build & release · Release note 1.42 b3.
- Workflow & logic — where each of these values is used on every tick.
- Input parameters — full description of every input.
- pass58 analysis (1.41.4) · Capital sizing · Backtest comparison.
- Builds & releases · Release note 1.42 b3.