SmartEntry EA
- 专家
- Saksit Pawapootanont
- 版本: 1.75
- 激活: 10
Overview
SmartEntry EA gives traders full control over any trading symbol — Gold (XAUUSD), Indices, Crypto, and Forex — with both manual and automated entry modes. The EA automatically detects the symbol type and adjusts pip/unit calculations accordingly. The built-in panel allows real-time control of every feature without restarting the EA.
Key Features
Auto HG Trigger
• Automatically detects bullish M1 candles exceeding a configurable size threshold
• Mode 1 — HG Sure-Fire: Opens BUY and activates Zone Recovery automatically
• Mode 2 — MG + Pair Close: Opens BUY then manages with Martingale and Pair Close
• Time filter (From / To HHMM) prevents trading outside session hours
Zone Entry
• Define up to 3 BUY zones and 3 SELL zones independently
• BUY trigger: green candle breaks above the zone high with minimum breakout size
• SELL trigger: red candle breaks below the zone low with minimum breakout size
• Each zone fires once and locks — manual reset via panel button
• Zones are drawn visually on the chart with color-coded lines and shading
Martingale Recovery
• Configurable distance, lot multiplier, and maximum levels
• Direction-locked: tracks the first order's direction (BUY or SELL) — ignores opposite-side manual orders
• Cumulative lot calculation using raw compounding — reflects natural rounding at each level
• Live sequence display: shows projected lot sizes for each level in the panel
Sure-Fire Zone Recovery (HG)
• Implements the classic Sure-Fire Zone Recovery formula
• Configurable HG distance, multiplier, and maximum grid levels
• Auto-enable option: activates HG automatically when Auto Trigger fires
• HG TP is enforced across all open positions — closes everything when target is reached
Pair Close
• Automatically pairs the oldest (losing) order with the most profitable order
• Closes the pair when combined profit >= MinProfit threshold
• Works with any combination of BUY and SELL orders
Close Profit
• Closes positions when total floating profit reaches a target
• Mode: by Amount (account currency) or by Average Pips
• Side selector: close All / BUY only / SELL only — prevents unintended closure of opposing hedges
Other Tools
• Break Even: moves SL to entry when profit reaches a threshold
• Trailing Stop: follows price with configurable step
• Daily Stats: tracks daily P&L, drawdown, and percentage
• Risk Calculator: calculates lot size based on account risk %
• Close Profit (CP): closes all when profit target is met
Interactive Panel
• All settings editable in real-time — no need to restart the EA
• Collapsible sections for clean workflow
• GlobalVariable persistence — settings survive MT5 restart
• One-click BUY / SELL / CLOSE ALL buttons always visible
Recommended Usage
| Parameter | Recommended Value |
| Symbol | Any — XAUUSD, US30, NAS100, BTCUSD, EURUSD, etc. |
| Timeframe | M1 |
| Initial Lot | 0.01 |
| MG Distance | 50–100 $ |
| MG Multiplier | 1.2–1.5x |
| Zone Width | 10–20 $ |
| MinBreak | 3–5 $ |
| MinProfit (PC) | 30–100 $ |
Input Parameters
| Parameter | Description |
| Magic Number | Unique identifier for EA orders |
| Lot | Base lot size for first entry |
| SL / TP | Stop Loss and Take Profit in $ (0 = disabled) |
| MG Distance | Price distance to trigger next Martingale level |
| MG Lot x | Lot multiplier per Martingale level |
| MG Max Level | Maximum number of Martingale orders |
| HG Distance | Sure-Fire zone size in $ |
| HG Lot x | HG lot multiplier |
| AH MinMove | Minimum candle size to trigger Auto entry ($) |
| AH From / To | Trading time window (HHMM format) |
| AH Mode | 1=HG Sure-Fire, 2=MG+PairClose |
| ZB1-3 Low/High | BUY zone price boundaries |
| ZS1-3 Low/High | SELL zone price boundaries |
| ZE MinBreak | Minimum candle breakout beyond zone ($) |
| CP Target | Close Profit target amount or pips |
| CP Side | 0=All, 1=BUY only, 2=SELL only |
| PC MinProfit | Minimum combined profit to trigger Pair Close |
Important Notes
• Compatible with all symbols — auto-detects Gold, Index, Crypto, and Forex and adjusts calculations automatically
• Optimized and tested on XAUUSD M1 — recommended starting point for new users
• Martingale strategies carry significant risk — use appropriate lot sizes
• Always test in Strategy Tester or Demo account before live trading
• The EA does not close positions automatically unless CP, PC, BE, TS, or HG is active
• Zone Entry fires once per zone per session — press Reset to re-enable
Risk Disclaimer
| ⚠ RISK DISCLAIMER Trading foreign exchange, gold, indices, and cryptocurrencies involves substantial risk of loss and is not suitable for all investors. Past performance of this Expert Advisor — whether in backtesting or live trading — does not guarantee future results. SmartEntry EA is a tool to assist trading decisions and does not guarantee any profit or specific return. Users are solely responsible for their trading outcomes. Always test thoroughly on a demo account before using on a live account. Never trade with funds you cannot afford to lose. |
