Model: 11.2 Creator: Giles Platform: MetaTrader 5 (MQL5) Kind: Automated Buying and selling EA based mostly 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 (Knowledgeable Advisor) that deeply integrates Good Cash Ideas (SMC), ICT (Internal Circle Dealer) idea, and traditional technical evaluation indicators, offering merchants with a extremely configurable automated buying and selling framework.
The EA options 20 entry indicators, 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 advanced — all with out writing a single line of code.
1.2 Core Design Philosophy
The core logic of GilesExpertSMC will be summarized in a single sentence:
Choose 1 entry sign + allow 0 to N filter indicators. The EA will solely place an order when the entry sign and ALL enabled filter indicators concurrently verify the identical course.
Particularly:
-
Entry Sign: Solely one will be chosen as the first set off situation. When it generates a bullish (purchase) or bearish (promote) course, and no filter indicators are added, the EA will instantly place an order.
-
Filter Alerts: Any quantity of filter indicators will be enabled throughout a number of timeframes. When a number of filters are added, all filter indicators should concurrently produce a sign in the identical course because the entry sign earlier than the EA executes a commerce. If any filter sign shouldn’t be glad, no order is positioned.
-
Sign Expiration: Pay particular consideration to the Final Sign Expiration setting for every filter sign. Many indicators solely seem on particular bars; setting an expiration extends the sign’s period.
1.3 General Structure
The EA execution circulate is as follows:
┌─────────────────────────────────────────────────────────────┐ │ OnTick() Triggered │ ├─────────────────────────────────────────────────────────────┤ │ ① CAP Test → ② Refresh Market Information → ③ Processing() │ ├─────────────────────────────────────────────────────────────┤ │ Processing() Important Loop │ │ │ │ ┌─ Iterate Present Positions ────────────────────────┐ │ │ │ • CheckClose() Test shut circumstances │ │ │ │ • CheckTrailingStop() Important trailing cease test │ │ │ │ • CheckTrailingStopForAddPos() Add-pos trailing │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ │ ┌─ Iterate Pending Orders ────────────────────────────┐ │ │ │ • Test order deletion/expiration circumstances │ │ │ └──────────────────────────────────────────────────────┘ │ │ │ │ ┌─ Open Place Logic ───────────────────────────────┐ │ │ │ Every day P&L restrict → Information filter → Hour/Day/Month │ │ │ │ → Unfold test → Max orders → Path allowed │ │ │ │ → Min place distance → Martin circumstances │ │ │ │ → Entry sign course + All filters confirmed │ │ │ │ → Cash administration lot calc → Execute open │ │ │ └──────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────┘
1.4 Module Overview
| Module Class | Depend | Description |
|---|---|---|
| Entry Alerts | 20 varieties | SMC/ICT/Basic indicators, choose one |
| Filter Alerts | 5 teams × 20 varieties | Present TF + TF1 + TF2 + SL filter + TP filter + Add-pos filter |
| Trailing Stops | 3 units × 9 varieties | Important trailing + Add-pos trailing + Partial cease trailing |
| Cash Administration | 6 varieties | None / FixedLot / FixedMargin / FixedRisk / SizeOptimized / SmartRecovery |
| Threat Management | A number of | Every 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 Title | Description |
|---|---|
| SMC_MarketStructure | Market construction evaluation (BOS / CHOCH / Swing Excessive/Low) |
| SMC_OrderBlock | Order Block identification |
| SMC_FVG | Truthful 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 on.) |
| SMC_RangeDetector | Consolidation vary detection |
| ICT_Bias | ICT Bias indicator |
| ICT_ATR | ICT Common Every day Vary |
| Price_Channel | Value Channel indicator |
Chapter 2: EA Primary Settings
Parameter Group: ===========INPUTS FOR EXPERT===========
| Parameter | Default | Description |
|---|---|---|
| Expert_Title | “Giles_Expert_SMC” | EA Title. Displayed on the chart and used for persistent information file naming. |
| Expert_MagicNumber | 123456 | Magic Quantity. Distinctive identifier to tell apart completely different EA cases. Every occasion should use a special Magic Quantity; in any other case, order administration will probably be disrupted. |
| Expert_EveryTick | false | Each Tick Mode. false = checks as soon as per minute bar formation; true = checks on each value tick. Most indicators do not want tick-level processing; maintain false . Set to true solely when utilizing indicators marked (Tick Degree). |
| Expert_slippage | 3 | Slippage Tolerance (adjusted factors). Most allowed value deviation when inserting 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 response to your dealer. |
| Expert_indicator_refresh_frequency | PERIOD_M1 | Indicator Refresh Frequency. Controls how usually the EA’s built-in indicators replace. Default: each minute. |
