Model: 11.2 Creator: Giles Platform: MetaTrader 5 (MQL5) Kind: Automated Buying and selling EA primarily based on Good Cash Ideas (SMC) / ICT Idea
Desk of Contents
Chapter 1: Product Overview & Structure
1.1 Product Introduction
GilesExpertSMC is a feature-rich MetaTrader 5 automated buying and selling EA (Skilled Advisor) that deeply integrates Good Cash Ideas (SMC), ICT (Interior Circle Dealer) idea, and basic technical evaluation indicators, offering merchants with a extremely configurable automated buying and selling framework.
The EA options 20 entry alerts, 9 trailing cease strategies, 6 cash administration modes, and helps multi-timeframe filtering, information filtering, Martingale technique, partial take-profit/stop-loss, and extra. By flexibly combining these modules, customers can construct buying and selling methods starting from easy to complicated — all with out writing a single line of code.
1.2 Core Design Philosophy
The core logic of GilesExpertSMC might be summarized in a single sentence:
Choose 1 entry sign + allow 0 to N filter alerts. The EA will solely place an order when the entry sign and ALL enabled filter alerts concurrently verify the identical route.
Particularly:
-
Entry Sign: Solely one might be chosen as the first set off situation. When it generates a bullish (purchase) or bearish (promote) route, and no filter alerts are added, the EA will instantly place an order.
-
Filter Alerts: Any quantity of filter alerts might be enabled throughout a number of timeframes. When a number of filters are added, all filter alerts should concurrently produce a sign in the identical route because the entry sign earlier than the EA executes a commerce. If any filter sign is just not happy, no order is positioned.
-
Sign Expiration: Pay particular consideration to the Final Sign Expiration setting for every filter sign. Many alerts solely seem on particular bars; setting an expiration extends the sign’s period.
1.3 Total Structure
The EA execution circulation is as follows:
┌─────────────────────────────────────────────────────────────┐ │ OnTick() Triggered │ ├─────────────────────────────────────────────────────────────┤ │ ① CAP Test → ② Refresh Market Information → ③ Processing() │ ├─────────────────────────────────────────────────────────────┤ │ Processing() Fundamental Loop │ │ │ │ ┌─ Iterate Current Positions ────────────────────────┐ │ │ │ • CheckClose() Test shut circumstances │ │ │ │ • CheckTrailingStop() Fundamental trailing cease test │ │ │ │ • CheckTrailingStopForAddPos() Add-pos trailing │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ │ ┌─ Iterate Pending Orders ────────────────────────────┐ │ │ │ • Test order deletion/expiration circumstances │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ │ ┌─ Open Place Logic ───────────────────────────────┐ │ │ │ Day by day P&L restrict → Information filter → Hour/Day/Month │ │ │ │ → Unfold test → Max orders → Course allowed │ │ │ │ → Min place distance → Martin circumstances │ │ │ │ → Entry sign route + All filters confirmed │ │ │ │ → Cash administration lot calc → Execute open │ │ │ └──────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────┘
1.4 Module Overview
| Module Class | Rely | Description |
|---|---|---|
| Entry Alerts | 20 sorts | SMC/ICT/Basic indicators, choose one |
| Filter Alerts | 5 teams × 20 sorts | Present TF + TF1 + TF2 + SL filter + TP filter + Add-pos filter |
| Trailing Stops | 3 units × 9 sorts | Fundamental trailing + Add-pos trailing + Partial cease trailing |
| Cash Administration | 6 sorts | None / FixedLot / FixedMargin / FixedRisk / SizeOptimized / SmartRecovery |
| Threat Management | A number of | Day by day P&L limits, floating loss limits, unfold limits, information filter, time filter |
| Superior Methods | A number of | Martingale, CAP, Breakeven-when-loss, Partial TP/SL, Development bias filter |
1.5 Embedded Customized Indicators
The EA embeds the next 16 customized indicators through #useful resource , requiring no separate set up:
| Indicator Identify | Description |
|---|---|
| SMC_MarketStructure | Market construction evaluation (BOS / CHOCH / Swing Excessive/Low) |
| SMC_OrderBlock | Order Block identification |
| SMC_FVG | Honest Worth Hole detection |
| SMC_BreakerBlock | Breaker Block identification |
| SMC_BSL_SSL | Purchase/Promote Aspect Liquidity sweep detection |
| SMC_SwingHL | Swing Excessive/Low identification |
| SMC_FiboRe | Fibonacci Retracement calculation |
| SMC_Killzone | Killzone / Buying and selling Session identification |
| SMC_NWOG_NDOG | New York Week/Day Opening Hole detection |
| SMC_SD_OB | Provide/Demand zones + Order Block combo |
| SMC_StrongImbalance | Robust Imbalance detection |
| SMC_CandlesPatterns | Candlestick sample recognition (Inside bar, Engulfing, Double prime/backside, and so forth.) |
| SMC_RangeDetector | Consolidation vary detection |
| ICT_Bias | ICT Bias indicator |
| ICT_ATR | ICT Common Day by day Vary |
| Price_Channel | Worth Channel indicator |
Chapter 2: EA Fundamental Settings
Parameter Group: ===========INPUTS FOR EXPERT===========
| Parameter | Default | Description |
|---|---|---|
| Expert_Title | “Giles_Expert_SMC” | EA Identify. Displayed on the chart and used for persistent knowledge file naming. |
| Expert_MagicNumber | 123456 | Magic Quantity. Distinctive identifier to differentiate completely different EA situations. Every occasion should use a distinct Magic Quantity; in any other case, order administration will likely be disrupted. |
| Expert_EveryTick | false | Each Tick Mode. false = checks as soon as per minute bar formation; true = checks on each value tick. Most alerts do not want tick-level processing; preserve false . Set to true solely when utilizing alerts marked (Tick Stage). |
| Expert_slippage | 3 | Slippage Tolerance (adjusted factors). Most allowed value deviation when putting orders. |
| Expert_spread_allowed | 0.0 | Most Allowed Unfold (in factors). Checked earlier than every order; orders are blocked if unfold exceeds this worth. 0 = no restrict. |
| Expert_account_time_offset | 3.0 | GMT Time Offset. Hours distinction between dealer server time and GMT. Used for information filtering and time-related calculations. Set in keeping with your dealer. |
| Expert_indicator_refresh_frequency | PERIOD_M1 | Indicator Refresh Frequency. Controls how typically the EA’s built-in indicators replace. Default: each minute. |
