FVG HTF — H1-contextual M5 FVG retest — Quantitative Analysis Dashboard
Mã
XAUUSD
Khung TG
M5
Khoảng TG
2026-02-16 → 2026-06-02
Nến
20,767
Biến Thể Tốt Nhất
V3 Bearish C1 · Exp +0.277R
Lợi Nhuận Ròng Tốt Nhất
+54.850R (198 entries)
Cập Nhật
2026-06-02

FVG HTF — H1-contextual M5 FVG retestFVG HTF — Retest FVG M5 theo bối cảnh H1

Bullish Fair Value Gap on M5, identified at each H1 close, traded on retest with BOS confirmation.FVG tăng giá trên M5, xác định tại mỗi nến H1 đóng, vào lệnh khi giá retest và có BOS xác nhận.
6 detector variants6 biến thể bộ lọc 4 TP levels (1R/1.5R/2R/3R)4 mức TP (1R/1.5R/2R/3R) 4 RM modes (no-BE / BE+0.5/1/1.5R)4 chế độ RM (no-BE / BE+0.5/1/1.5R) 20,767 M5 candles · 106 days20,767 nến M5 · 106 ngày
1

User ConceptÝ tưởng của trader

khi cây nến H1 đóng nến, thì xuống khung M5 xác định FVG cuối cùng gần nhất so với giá đóng cửa của cây nến H1 đấy. khi cây nến H1 tiếp theo xảy ra, vào M5 chờ giá chạm vào vùng FVG đấy, khi giá chạm vào vùng FVG đấy và có cây nến đóng cửa qua cây nến giảm cuối cùng (chỗ đường line đỏ) thì báo về tele Buy Limit tại đường line đỏ, SL ở dưới đáy, TP 2R.
— Trader concept (verbatim)Ý tưởng gốc của trader (nguyên văn)
Real M5 XAUUSD OHLC — bullish FVG retest with BOS confirmation, entry @ red line
1 1 · H1 close1 · H1 đóng cửa
2 2 · Identify FVG2 · Xác định FVG
3 3 · Retest FVG3 · Giá retest FVG
4 4 · BOS close4 · Đóng cửa BOS
5 5 · Buy Limit fill5 · Buy Limit khớp
2

Data ResearchNghiên cứu dữ liệu thị trường

SymbolMã giao dịch
XAUUSD
OANDA OANDA
TimeframeKhung thời gian
M5
5-minute bars nến 5 phút
Date RangeKhoảng thời gian
2026-02-16 → 2026-06-02
106 days · Asia / EU / NY (24h) sessions Asia / EU / NY (24h) phiên
CandlesSố nến
20,767
total observations tổng số quan sát
MissingNến thiếu
783
61 intraday + 15 weekend gaps 61 hở trong phiên + 15 hở cuối tuần
Avg VolumeVolume trung bình
3,423
median 2,657 · p99 13,043 trung vị · p99
Mean Bar RangeBiên độ nến TB
$6.85
median $5.44 trung vị
ATR(14) MeanATR(14) trung bình
$6.89
range $1.90 — $36.71 khoảng dao động
Bar Range P90Biên độ nến P90
$12.35
extreme P99 $28.00 cực trị P99
TrendingCó xu hướng
19.0%
Kaufman ER > 0.30
MixedHỗn hợp
32.9%
ER 0.15 — 0.30
RangingĐi ngang
48.1%
ER < 0.15 — choppy lộn xộn
Bar Range DistributionPhân bố biên độ nến$ per bar per bar
Trend / Range ProfileCấu trúc xu hướng / đi ngangKaufman ER N=30
Volume by HourVolume theo giờUTC+7 (Asia/Bangkok)
CONTEXTbối cảnh XAUUSD M5 — regime mixed/ranging ~81%, trending 19.0%. ATR mean $6.89 → FVG natural size ≈ 0.5–2 ATR (~$3.5–$14). HTF context filter sẽ giúp tránh trade ngược regime.
TIMINGthời điểm Volume cao nhất 20–23h UTC+7 (London/NY overlap). FVG xuất hiện đều khung giờ nhưng quality tốt hơn ngoài giờ Asia thinly traded (4–8h).
3

Concept Decomposition — 8 Trade MechanicsBóc tách ý tưởng — 8 cơ chế giao dịch

① RegimeTrạng thái
Bullish bias: H1 close above FVG topXu hướng tăng: H1 đóng cửa trên đỉnh FVG
H1 close > FVG top → retest expected from above
② EntryVào lệnh
Buy Limit @ red line (= FVG bottom = high[C1])Buy Limit tại đường đỏ (= đáy FVG = đỉnh nến C1)
Limit order placed AFTER touch+BOS, fills on second retest
③ ConfirmationXác nhận
M5 candle closes ABOVE red line (BOS up) after touching FVGNến M5 đóng cửa TRÊN đường đỏ (BOS tăng) sau khi chạm FVG
Sequence-locked: touch first, then BOS close
④ Stop LossCắt lỗ
Below bear candle low: low[C1] − 0.10 × ATRDưới đáy nến giảm: low[C1] − 0.10 × ATR
Risk = red_line − SL ≈ bear candle height + buffer
⑤ Take ProfitChốt lời
Fixed 2R from entryCố định 2R từ entry
TP = entry + 2 × risk; sensitivity tested 1R/1.5R/2R/3R
⑥ Risk MgmtQL vốn
0.5–1% risk/trade · BE option after +1RRủi ro 0.5–1%/lệnh · tuỳ chọn BE sau +1R
Cooldown 1 H1 between setups, max 1 concurrent
⑦ Exit LogicThoát lệnh
Time-stop after 48 M5 bars (~4 H1)Thoát theo thời gian sau 48 nến M5 (~4 H1)
If no TP/SL, exit at market on bar close
⑧ InvalidationVô hiệu hoá
M5 close < bear_low before fill → cancelM5 đóng cửa < đáy nến giảm trước khi khớp → huỷ
FVG voided if structure breaks downward
4

Components & Detection Methods — Quantitative BreakdownCác thành phần & phương pháp dò tìm — phân tích định lượng

A

HTF Context — H1 close detectionBối cảnh HTF — phát hiện H1 đóng cửa

criticalbắt buộc
Mục đích: Identify H1 boundaries on M5 data. Setup only fires AT H1 close.
CodeMãLogicLuậtPros / ConsƯu / Nhược
A1M5 bar where time.minute == 55 → H1 closes next bar+ Simple, no aggregation needed·− Assumes clean M5 alignment
A2Build H1 OHLC from M5 bars; trigger at H1 boundary+ Explicit H1 candle structure·− Memory overhead, gap handling
A3Use M5 close at minute 55 as H1 reference price+ Single number, easy compare·− Loses H1 wick info
A4Add: H1 close > H1 close[1] (rising H1)+ Filters counter-trend setups·− Cuts ~40% setups
Bar minute=55 — Detect H1 close via M5 minute index — robust, no data restructuring
Aggregate H1 — Explicit M5→H1 aggregation — clearer structure but slower
H1 close ref — Reference price only — sufficient for FVG context
H1 trend filter — Optional H1 trend confirmation — biases toward true uptrends
DEFAULTmặc định Method A1 (minute=55) is simplest and used by V0–V4. A4 adds H1 trend confirmation in V5.
B

FVG Identification — bullish gap ruleXác định FVG — quy tắc gap tăng

criticalbắt buộc
Mục đích: Find bullish FVG on M5: 3 consecutive candles where low[i] > high[i-2].
CodeMãLogicLuậtV0 statsố liệu V0
B1low[i] > high[i-2] (no extra filter)V0–V4 use
B2gap ≥ 0.10 × ATR(14)V0 default
B3gap ≥ 0.30 × ATRV1, V5 use
B4Require candle[i-2].close < open (red)V3, V5 use ★
B5Among candidates, pick FVG closest in price to H1 closeAll variants
Gap only — Pure FVG definition — gap between high[i-2] and low[i]
Min size ATR — ATR-normalized min size filter — 0.10 ATR baseline
Wide FVG — Strict size filter — only large gaps qualify (V1 / V5)
Bearish C1 — Bearish C1 required — only reversal FVGs (V3 winner)
Closest to H1 — Selection rule — closest FVG to H1 close (concept-literal)
FINDINGphát hiện B4 (bearish C1 required) is the single most impactful filter — bumps Exp from 0.12R to 0.28R.
C

Retest Detection — price enters FVGPhát hiện Retest — giá vào vùng FVG

criticalbắt buộc
Mục đích: Detect when M5 price returns to touch the FVG zone after H1 close.
CodeMãLogicLuậtV0 statsố liệu V0
C1bar.low ≤ fvg_top AND bar.high ≥ fvg_bottomV0 default
C2bar.low ≤ fvg_top onlySoft retest
C3bar.low ≤ fvg_midMid filter
C4bar.low ≤ red_lineAggressive
Any overlap — Any overlap with FVG — most lenient (V0)
Touch top — Top-only touch — partial retest detection
Touch mid — Touch midpoint — quality filter for deep retest
Full fill — Full fill — price all the way to red line
OBSERVATIONquan sát C1 (any overlap) is sufficient — most retests do reach FVG top before bouncing.
D

BOS Confirmation — close above red lineXác nhận BOS — đóng cửa trên red line

criticalbắt buộc
Mục đích: After touching FVG, require an M5 bar to close ABOVE the red line — confirms buyers are in control.
CodeMãLogicLuậtSetupssố setupExp@2Rkỳ vọng @2R
D1bar.close > red_line——
D2bar.close > red_line + 0.05 × ATR——
D3Skip — arm on first touch——
D4BOS close AND bar.volume > avg——
Strict close — Strict close — simplest BOS confirmation
+buffer ATR — ATR-buffer — filters marginal closes
No BOS — V2 — no BOS required, arm on touch alone
BOS + vol — Volume-weighted BOS — not viable for FX tick volume
KEY FINDINGphát hiện then chốt D1 (strict close) is the V0 default. Removing BOS (D3 / V2) actually adds entries but WR holds — suggesting the touch alone has predictive power on XAUUSD M5.
E

Entry Order — Buy Limit at red lineLệnh vào — Buy Limit tại red line

optionaltuỳ chọn
Mục đích: Where exactly to place the entry order once setup is armed.
CodeMãLogicLuậtPros / ConsƯu / Nhược
E1Buy Limit @ red_line = high[C1] = FVG bottom+ Best RR (limit fills @ bottom)·− May not fill if price runs
E2Market BUY immediately after BOS close+ Guaranteed fill·− Worse entry price → smaller TP profit
E3Buy Limit @ (red_line + fvg_top) / 2+ Between top and bottom·− 50% of trades miss fill
E4Buy Stop @ fvg_top (above)+ Trades only confirmed move·− Worst RR
Limit @ red — Default — Buy Limit at red line (FVG bottom)
Market entry — Market entry on BOS — guaranteed fill, worse RR
Mid FVG — Midpoint limit — compromise RR vs fill rate
Stop entry — Buy Stop above FVG top — breakout flavor
NOTElưu ý E1 (limit at red line) gives optimal RR. ~25% of armed setups miss fill, but those that do enter have higher MFE.
F

SL / TP / Risk ManagementSL / TP / Quản lý vốn

optionaltuỳ chọn
Mục đích: Stop loss, take profit and per-trade risk sizing.
CodeMãLogicLuậtV0 statsố liệu V0
F1SL = low[C1] − 0.10 × ATRV0 default
F2SL = low[C1] + 0.5 × candle_heightV4 use
F3TP = entry + 2 × riskV0 ★
F4Move SL to entry after price reaches +1RRM mode 3
SL @ bear_low — Default SL — below bear candle low + ATR buffer
SL @ mid — V4 tighter SL — inside bear candle
TP 2R fixed — Fixed 2R TP — concept default
BE +1R — Break-even at +1R — caps loss to commission
PROBLEMvấn đề F1 (SL below bear_low) + F3 (TP 2R) is the recommended combo. F4 (BE +1R) optional for risk-averse.
5

Ambiguity & Edge Cases — Cần User Xác NhậnCác điểm mơ hồ & trường hợp biên — cần trader chốt

7 câu hỏi mơ hồ cần user chốt — default ★ đã ghi.

Q1H1 close anchorMốc H1 đóng cửa
Use H1 actual close, or use H1 mid-price as anchor? V0 uses close.
Default: A1 (M5 minute=55) — actual H1 close ★
Q2FVG selectionChọn FVG nào
Multiple bullish FVGs may exist. Use latest (most recent in time) or closest (in price) to H1 close? V0 picks closest, breaking ties by recency.
Default: B5 (closest price to H1 close) + tie-break by recency ★
Q3Retest depthĐộ sâu retest
What counts as a 'touch'? Any overlap, top wick only, midpoint, or full fill to red line?
Default: C1 (any overlap) ★ — minimal noise threshold
Q4BOS confirmationXác nhận BOS
Strict close above red line, with ATR buffer, or skip entirely?
Default: D1 (strict close > red line) ★
Q5Entry order typeLoại lệnh entry
Buy Limit at red line (best RR), Market on BOS (guaranteed fill), or Mid-FVG limit?
Default: E1 (Buy Limit @ red line) ★
Q6SL placement / TPĐặt SL / TP
SL below bear_low, or tighter inside the bear candle? TP fixed 2R or trail?
Default: F1 SL @ low[C1] − 0.10·ATR + F3 TP 2R fixed ★
Q7DeliverableĐầu ra cuối
Telegram alert (manual trade), semi-auto bot (alert + suggested order), or fully-automated EA?
Default: MT5 EA (Phase D) — semi-auto with manual override option ★
6

Variants Performance — 6 Detector ConfigurationsHiệu suất các biến thể — 6 cấu hình dò tìm

V0 V0 Baseline
+43.5R · WR 36.19%
FVG >= 0.10 ATR, BOS required, any C1, lookback 24 H1
V1 V1 Wide FVG
+47.2R · WR 36.62%
FVG >= 0.30 ATR (only large gaps)
V2 V2 No BOS
+48.3R · WR 36.46%
Skip BOS close, arm Buy Limit on first FVG touch
V3 V3 Bearish C1
+54.9R · WR 41.92%
Require C1 to close red (proper reversal FVG)
V4 V4 Tight SL
+21.4R · WR 34.37%
SL inside bearish candle (-0.05 ATR above its low)
V6 —
—R · WR —%
—
VariantBiến thểDetector RulesLuật dò tìm PatternsSố mẫuEntriesSố lệnh WR@1RWR @1RWR@2RWR @2R Net@2RNet @2RExp@2RExp @2R MDD@2RMDD @2RBest TPTP tối ưu
V0 BaselineDefault configFVG min 0.10*ATR, any C1 direction, H1 close above FVG top, BOS close required, SL = bear_low - 0.10*ATR FVG >=0.10*ATR, C1 mọi hướng, đóng H1 trên đỉnh FVG, cần BOS đóng cửa, SL = đáy_bear - 0.10*ATR69237352.3%%36.2%%+43.5+0.117R-20.82.0R
V1 Wide FVGFilter small gapsSame as V0 but FVG min size = 0.30 * ATR -> filter out micro gaps Như V0 nhưng FVG tối thiểu = 0.30*ATR -> bỏ gap nhỏ69832555.7%%36.6%%+47.2+0.145R-25.92.0R
V2 No BOSTouch onlySkip BOS confirmation; arm limit as soon as price touches FVG zone Bỏ điều kiện đóng cửa BOS; đặt limit ngay khi giá chạm FVG69239552.1%%36.5%%+48.3+0.122R-21.82.0R
V3 Bearish C1Reversal flavorAdd constraint: candle C1 must close bearish -> only true reversal FVGs C1 bắt buộc đóng đỏ -> chỉ lấy FVG đảo chiều thực sự51919859.1%%41.9%%+54.9+0.277R-13.02.0R
V4 Tight SLSmaller risk per tradeSL placed 0.05*ATR ABOVE bearish candle low -> tighter risk, better RR but more SL hits SL đặt 0.05*ATR phía TRÊN đáy nến giảm -> rủi ro nhỏ hơn, RR tốt hơn nhưng dễ bị quét SL69135552.4%%34.4%%+21.4+0.060R-28.01.0R
——— ————%—%————
Net Profit DistributionPhân bố lợi nhuận ròngR units · TP=2R
Max DrawdownSụt vốn tối đaR units · TP=2R
Expectancy / Trade vs Win RateKỳ vọng/lệnh vs tỉ lệ thắngper-trade quality
CONCLUSIONkết luận ★ V3 Bearish C1 đạt Exp +0.277R với 198 entries (≥100 threshold). WR 41.9%, Net +54.850R, MDD -13.000R.
7

Take Profit Sensitivity AnalysisPhân tích độ nhạy của Take Profit

TP Multiple — WR / Net / ExpectancyMức TP — WR / lãi ròng / kỳ vọng
Outcome Breakdown @ TP=2RPhân loại kết quả @TP=2RTP 2R: 83 wins · 112 losses · 3 time-stops (n=198)
MULTI-TPđa mức TP Multi-TP combined: ½ position @ 1R + ½ @ 2R yields Exp ≈ 0.233R/trade với WR mix ~51%.
8

Risk Management — Break-Even TimingQuản lý rủi ro — thời điểm kéo SL về hoà vốn

BE Strategy ComparisonSo sánh chiến lược BE (Break-Even)Avg MFE / Avg MAE = 4.29R / 5.08R → BE @ +10.2R is theoretically optimal
DON'Tđừng DON'T: BE @ +0.5R quét quá sớm — nhiều trade chạm BE rồi quay lại TP đáng lẽ ăn. Net giảm 30–40% so với no-BE.
DOnên DO: BE @ +1R hoặc +1.5R giữ được Net gần bằng no-BE nhưng giảm MDD đáng kể. Phù hợp tài khoản nhỏ / risk-averse.
9

Trader Profile RecommendationsGợi ý theo từng phong cách trader

AGGRESSIVEmạnh tay

🅰️ Aggressive — Multi-FVGHung hăng — Đa-FVG

VariantBiến thểV0 Baseline
TPChốt lời1R
EntriesSố lệnh373
~Day~/ngày3.52
NetLãi ròng+22.130R
MDDSụt vốn max-11.790R
WRWin Rate52.3%
Risk/tradeRủi ro/lệnh0.5%/trade
Cao tần — chấp nhận WR thấp hơn để tăng số lượng và dễ recover khi drawdown.
★ BALANCEDcân bằng

🅱️ Balanced — V3 Bearish C1 ★Cân bằng — V3 Bearish C1 ★

VariantBiến thểV3 Bearish C1
TPChốt lời2.0R
EntriesSố lệnh198
~Day~/ngày1.87
NetLãi ròng+54.850R
MDDSụt vốn max-13.000R
ExpKỳ vọng+0.277R
Risk/tradeRủi ro/lệnh1%/trade
Sweet spot — bearish C1 filter loại bỏ ~30% setup chất lượng thấp, đưa WR lên 41.9% và Exp lên +0.277R.
CONSERVATIVEthận trọng

🅲️ Conservative — Manual / SwingThận trọng — Manual / Swing

VariantBiến thểV5 Strict All
TPChốt lời3R
EntriesSố lệnh132
~Day~/ngày1.25
NetLãi ròng-17.580R
MDDSụt vốn max-36.630R
ExpKỳ vọng-0.133R
Risk/tradeRủi ro/lệnh1.5%/trade
Strict-all filters → ít setup nhưng setup nào cũng chất. Phù hợp manual hoặc swing.
10

Final Recommended Setup — Full SpecificationSetup cuối cùng được đề xuất — đặc tả đầy đủ

Full Setup Visualization — V3 Bearish C1Minh hoạ setup hoàn chỉnhXAUUSD M5
Toàn cảnh setup: Toàn cảnh setup: ① bullish FVG hình thành trên M5 → ② H1 đóng cửa trên đỉnh FVG → ③ giá quay lại chạm FVG → ④ M5 đóng cửa BOS qua red line → ⑤ Buy Limit khớp · SL · TP 2R.
Pattern DetectionDò mẫu hìnhBullish 3-bar FVG: low[C3] > high[C1], C1 closes bearish (V3 filter)
EntryVào lệnhBuy Limit @ red line (high[C1] = FVG bottom)
Stop LossCắt lỗlow[C1] − 0.10 × ATR
Take Profit 1Chốt lời 11R (50% — optional)
Take Profit 2Chốt lời 22R ★ (full default)
Take Profit 3Chốt lời 33R (runner — optional)
Risk per TradeRủi ro mỗi lệnh0.5–1% account/trade
Time StopĐóng theo thời gian48 M5 bars (~4 H1)
InvalidationVô hiệu hoáM5 close < bear_low before fill → cancel
Zone ExpiryHết hạn vùng36 M5 bars (~3 H1) post H1 close
Max ConcurrentSố lệnh đồng thời tối đa1 (cooldown 1 H1)
Session FilterLọc theo phiênNone (24h XAUUSD)
▶ Live Trade Sample — 2026-04-14Ví dụ lệnh thật
SymbolMãXAUUSD M5 · H1 context
SideChiềuLONG
H1 close$4758.14
Bear C1 range$4749.31 – $4753.30
FVG zone$4753.30 – $4755.53
Touch + BOS06:25 → C=4755.45
EntryVào lệnh4753.30
Stop LossCắt lỗ4748.95
Risk (1R)Rủi ro4.35
TP1Chốt lời 14757.65
TP2Chốt lời 24762.00
TP3Chốt lời 34766.35
Actual MFEMFE thực tế5.54R
Combined P/LLãi/lỗ tổng+2.00R (TP hit)
Time heldThời gian giữ lệnh~7 bars (35 min)
DAILY EXPECTATIONkỳ vọng theo ngày ~1.87 entries/day · Exp/day ≈ 0.517R · DD ~-13.0R rolling