Gold Smc Liquidity Sweep V111
- Experts
- Version: 1.15
- Mise à jour: 13 septembre 2026
- Activations: 10
The GOLD SMC Liquidity Sweep V1.15 >>H4>>Gold Only<< ***Upgraded***
- H4 Market Structure: Automatically analyzes recent market swings using ZigZag, identifying high-probability Order Blocks (OB) and checking for Fair Value Gaps (FVG).
- Grid-Based Entry: Instead of instant execution, it deploys a precise pending order grid below ob_bottom (for BUY) and above ob_sell_top (for SELL).
- Liquidity Sweep Focus: Engineered to capitalize on market stop-hunts, entering trades exactly when price purges liquidity and reverses.
- Deep Sweep Protection: The InpSweepExtraLayer adds 2 additional deeper backup layers beyond the standard grid, capturing extreme volatility spikes that overshoot expectations.
Direction & trend filters
InpEnableBuy / InpEnableSell gate every function so you can run buy-only, sell-only, or both. An HTF EMA filter (D1, 200-period by default) blocks counter-trend grids, and an RSI filter blocks entries too close to overbought/oversold extremes.
Risk & drawdown management
Lot size is either fixed or auto-calculated by risk level, then scaled down automatically as floating drawdown rises (three configurable DD thresholds, e.g. cut to 75%/50%/25% of normal lot). If drawdown breaches a hard max ( InpMaxDrawdownCut , default 35%), it triggers an emergency lockdown: closes all positions, deletes all pending orders, and halts (optionally auto-resumes). There's also a "basket break-even" mode that closes the whole basket once floating P&L returns to roughly break-even, rather than waiting for a fixed TP.
News blackout guards (NFP & FOMC)
It has hard-coded NFP and FOMC release calendars for 2025–2027 (with CSV override files as a manual correction path), plus a fallback heuristic (first-Friday-of-month) for NFP. Around each release it blocks new entries and can auto-close positions / delete pendings, so the EA doesn't get caught trading straight through Fed or jobs-report volatility. There's also a dedicated fix ( GetReliableUTC() ) for a known MQL5 quirk where TimeGMT() misbehaves inside the Strategy Tester.
"Smart Entry" module (the right-hand dashboard panel)
Three semi-independent add-on triggers layered on top of the base grid:
- NFP follow-through — after an NFP blackout ends, watches for a strong M15 candle body (vs. ATR) to catch the real post-news move.
- ATR breakout — monitors H1 price against expected upper/lower bounds (daily ATR × factor) to flag volatility expansion.
- FVG lot booster — multiplies lot size when price aligns with a fresh FVG, for a stronger position on higher-conviction setups.
Dashboard
Two side-by-side on-chart panels: Panel 1 shows balance/equity/P&L, drawdown %, NFP/FOMC status, trend, OB levels, and overall EA status; Panel 2 shows the three Smart Entry modules' live state plus a "CLEAR PENDING ORDERS" button. As of V1.15, that button and the strip above it now change color and show the live count of this EA's own pending orders (grey/none, amber for a couple, red for several) instead of being static — so you can see at a glance what a click will actually delete.
🏛️ RISK DISCLAIMER:
Trading financial instruments involves significant risk. While GOLD SMC Liquidity Sweep V1.15 is engineered with multi-layered protection modules, market conditions can shift unpredictably. All backtests are simulation-based. Please execute your own rigorous testing on a demo account before risking live capital.
**************************************************************************************************************************************************************************************************************************************************************
Thai language
EA GOLD SMC Liquidity Sweep V1.15
กลยุทธ์หลัก — SMC Liquidity Sweep แบบ Grid
ใช้ไทม์เฟรม H4 วิเคราะห์โครงสร้างราคาด้วย ZigZag เพื่อหาสวิงล่าสุด แล้วสร้างโซน Order Block (OB) พร้อมดู Fair Value Gap (FVG) ประกอบ แทนที่จะเข้าไม้ตลาดครั้งเดียว ระบบจะวาง pending order เป็นตะแกรง (grid) รอบโซน OB ทั้งฝั่ง Buy (ใต้ ob_bottom ) และฝั่ง Sell (เหนือ ob_sell_top ) — แนวคิดคือรอให้ราคา "กวาดสภาพคล่อง" (sweep ตัดสต็อปลอส) ผ่านโซนนั้นก่อน แล้วค่อยรับไม้ตอนราคาสวนกลับ ส่วน InpSweepExtraLayer (V1.12) จะเพิ่มไม้สำรองอีก 2 ชั้นให้ลึกกว่าตะแกรงปกติ เผื่อราคากวาดเลยจุดที่คาดไว้
ตัวกรองทิศทาง/เทรนด์
InpEnableBuy / InpEnableSell ควบคุมทุกฟังก์ชันว่าจะเปิด Buy อย่างเดียว, Sell อย่างเดียว หรือทั้งคู่ มีตัวกรองเทรนด์ใหญ่ด้วย EMA (ค่าเริ่มต้น D1 ช่วง 200) เพื่อลดการสวนเทรนด์ใหญ่ และมีตัวกรอง RSI ป้องกันการเข้าไม้ตอนราคาสุดโต่งเกินไป (overbought/oversold)
การจัดการความเสี่ยง & Drawdown
ล็อตคำนวณได้ทั้งแบบ fixed หรือ auto ตามระดับความเสี่ยง แล้วจะลดขนาดล็อตอัตโนมัติเมื่อ drawdown ลอยตัวสูงขึ้น (มี 3 ระดับ threshold ที่ปรับได้ เช่น ลดเหลือ 75%/50%/25% ของล็อตปกติ) ถ้า drawdown ทะลุระดับอันตรายสูงสุด ( InpMaxDrawdownCut ค่าเริ่มต้น 35%) จะเข้าสู่โหมด emergency lockdown: ปิดโพซิชันทั้งหมด, ลบ pending order ทั้งหมด, แล้วหยุดทำงาน (ตั้งค่าให้กลับมาทำงานเองได้) นอกจากนี้ยังมีระบบ "basket break-even" ที่จะปิดตะกร้าไม้ทั้งหมดรวดเดียวเมื่อกำไร/ขาดทุนลอยตัวกลับมาใกล้จุดคุ้มทุน แทนที่จะรอ TP คงที่
ระบบป้องกันข่าว (NFP & FOMC)
ฝังตารางวันประกาศ NFP และการประชุม FOMC ไว้ล่วงหน้าถึงปี 2025-2027 (พร้อมช่องทางแก้ไขผ่านไฟล์ CSV หากตารางเปลี่ยน) และมีวิธีสำรองแบบประมาณการ (วันศุกร์แรกของเดือน) สำหรับ NFP ในช่วงก่อน/หลังประกาศข่าว ระบบจะบล็อกไม่ให้เปิดไม้ใหม่ และสามารถสั่งปิดโพซิชัน/ลบ pending order อัตโนมัติได้ เพื่อไม่ให้เทรดชนช่วงข่าวแรงๆ นอกจากนี้ยังมีการแก้บั๊กเฉพาะใน Strategy Tester เรื่องเวลา UTC ที่ไม่แม่นยำ (ผ่านฟังก์ชัน GetReliableUTC() )
โมดูล "Smart Entry" (แผงด้านขวาของแดชบอร์ด)
เป็นตัวกระตุ้นเสริม 3 ตัวที่ทำงานแยกต่างหากจาก grid หลัก:
- NFP Follow-Through — หลังพ้นช่วง blackout ของ NFP จะจับจังหวะแท่งเทียน M15 ที่ตัวแรงกว่าค่า ATR เพื่อจับการเคลื่อนไหวจริงหลังข่าว
- ATR Breakout — เฝ้าดูราคา H1 เทียบกับกรอบบน-ล่างที่คาดไว้ (คำนวณจาก daily ATR คูณตัวคูณ) เพื่อจับสัญญาณความผันผวนขยายตัว
- FVG Lot Booster — เพิ่มขนาดล็อตเมื่อราคาสอดคล้องกับ FVG ที่เพิ่งเกิดใหม่ เพื่อลงหนักขึ้นในจังหวะที่มั่นใจสูง
แดชบอร์ด
มี 2 แผงติดกันบนชาร์ต: แผง 1 โชว์ยอดเงิน/equity/กำไรขาดทุน, % drawdown, สถานะ NFP/FOMC, เทรนด์, ระดับ OB และสถานะรวมของ EA ส่วนแผง 2 โชว์สถานะของโมดูล Smart Entry ทั้ง 3 ตัว พร้อมปุ่ม "CLEAR PENDING ORDERS" ซึ่งตั้งแต่ V1.15 ปุ่มและแถบสีด้านบนจะเปลี่ยนสีและโชว์จำนวน pending order จริงของ EA ตัวเองแบบเรียลไทม์ (เทา/ไม่มี, เหลืองอำพันถ้ามีไม่กี่ไม้, แดงถ้ามีเยอะ) แทนที่จะเป็นสีนิ่งๆ เหมือนเดิม ทำให้เห็นชัดว่ากดแล้วจะลบอะไรไปบ้าง.
การซื้อขายในตลาดการเงินมีความเสี่ยงสูง แม้ว่า GOLD SMC Liquidity Sweep V1.15 จะถูกเขียนขึ้นพร้อมโมดูลการป้องกันความเสี่ยงที่หนาแน่นหลายชั้น แต่สภาวะตลาดสามารถเปลี่ยนแปลงได้โดยไม่คาดคิด ผลการทดสอบย้อนหลัง (Backtest) ทั้งหมดเป็นการจำลอง โปรดทำการทดสอบระบบอย่างเข้มงวดบนบัญชีทดลอง (Demo) ก่อนเริ่มใช้เงินจริง
