BISMILLAH GOLD SMC CHoCH MultiTF EA
Version 2.10 | MetaTrader 5 | XAUUSD / XAUEUR | No grid, no martingale
OVERVIEW
Bismillah Gold SMC CHoCH MultiTF EA is a fully automated Expert Advisor for gold, built on Smart Money Concepts (SMC) market structure. The EA detects a Change of Character (CHoCH) — a confirmed break of the last swing structure — and enters only when price returns and retests the broken level. Each trade is protected by a structural Stop Loss placed beyond the swing that produced the break, plus a configurable point buffer.
The same logic runs independently on eight timeframes: M1, M3, M5, M15, H1, H4, D1 and W1. Every timeframe has its own structure state, its own Magic Number and its own position, so a setup on H1 is never mixed with a setup on M5. Any timeframe can be switched off individually.
HOW THE LOGIC WORKS
1. Swing detection — confirmed pivot highs and lows are found by a configurable left/right bar filter.
2. CHoCH — a close beyond the last confirmed swing marks a structure break, and a retest level is stored.
3. Retest entry — the EA waits for price to come back to the broken level within a tolerance (InpTouchTolPoints) and enters in the direction of the break.
4. Stop Loss and Take Profit — SL is placed beyond the structural swing with an extra buffer, TP follows the configured risk/reward.
5. Trade management — a 1R trailing stop: after the position gains one risk unit the stop moves to break-even and is then trailed with a fixed step, respecting the broker stop level.
KEY FEATURES
- Eight timeframes running in parallel, each with an independent engine and Magic Number
- Two trading instruments from a single chart: XAUUSD and XAUEUR
- Automatic broker suffix resolution: XAUUSDm, XAUUSDc, XAUUSD.raw and similar symbols are found automatically
- Independent ON/OFF switch per instrument (InpEnableSymbol1 … InpEnableSymbol4)
- Structural Stop Loss on every trade — no position is ever opened without SL
- 1R trailing stop with break-even floor and step filter (no per-tick modification spam)
- Market session control: while the market is closed the EA does not open orders, does not move stop losses and does not trail; entries are blocked during the last minutes of the session
- Spread filter, volume normalisation to the symbol lot step, broker stops level and freeze level checks
- Netting account protection: only one position per symbol in netting mode
- Risk guard: optional daily loss limit and maximum drawdown limit that block new entries
- Information dashboard: per-symbol and per-timeframe state, current spread and MARKET CLOSED status
- No grid, no martingale, no averaging, no hedging recovery, no DLL
INSTRUMENTS AND SWITCHES
InpTradeSymbols default value: XAUUSD,XAUEUR
InpEnableSymbol1 = true (first instrument), InpEnableSymbol2 = true (second instrument)
IMPORTANT: ONE INSTRUMENT PER CHART
Attach the EA to one chart and trade one instrument. Running both gold symbols at the same time is NOT recommended: XAUUSD and XAUEUR are the same market quoted in different currencies, so their trades duplicate each other and the load on the account doubles — exposure, drawdown and margin consumption grow accordingly. Use the per-instrument switches (or the symbol list) to keep only one instrument active. If you want to compare both, test them separately.
RECOMMENDED SETTINGS
- Deposit: 10 000 USD (or the equivalent in your account currency)
- Chart: one chart only — XAUUSD H1 (internal timeframes are handled by the EA)
- Lot: 0.01 per 10 000 USD of deposit
- Account: hedging or netting, any execution mode; ECN / RAW accounts with tight gold spreads are preferred
- Broker: low spread and low commission on gold, stable execution
- VPS: recommended for continuous operation
MAIN INPUTS
01 General: InpEnableTrading, InpTradeSymbols, InpEnableSymbol1..4, InpBaseMagic, InpLotSize, InpSlippagePoints, InpEnableDebugLog
02 Timeframes: InpUseM1, InpUseM3, InpUseM5, InpUseM15, InpUseH1, InpUseH4, InpUseD1, InpUseW1
03 Structure: InpSwingLeft, InpSwingRight, InpSLBufferPoints, InpTouchTolPoints, InpSetupExpiryBars
04 Risk and execution: InpMaxSpread, InpTrailDistRatio, InpTrailStepPoints, InpMaxOpenPositions, InpSessionEndGuardMin, InpMaxDailyLossPct, InpMaxDrawdownPct
05 Visual: InpShowDashboard, InpDrawChartMarks, InpMaxChartMarks, colors
PRICE
The current price is an introductory offer. The price is increased after each sale, so the earlier the purchase, the lower the price.
IMPORTANT NOTES
- Backtest results describe the behaviour of the algorithm on historical data only. They are not a promise or a guarantee of future profit.
- Gold is a highly volatile instrument. Start on a demo account and keep risk per trade small.
- The EA implements the described SMC / CHoCH retest logic; results depend on your broker, spread, execution and settings.
RISK WARNING
Trading leveraged instruments such as gold involves a high level of risk and can lead to the loss of the entire deposit. Never risk money you cannot afford to lose. Past performance does not guarantee future results.