Ironframe SMC Gold MT5 EA
- Experts
- Versão: 2.19
- Atualizado: 19 outubro 2026
- Ativações: 5
Ironframe SMC Gold MT5 EA
Five selectable trading modes for MetaTrader 5
Five selectable approaches in one gold-focused MT5 Expert Advisor: market structure, range trading, breakouts, inflection signals and candlestick-pattern execution.
OVERVIEW
Ironframe SMC Gold MT5 EA brings five selectable approaches into one MetaTrader 5 Expert Advisor: Conservative, Rangebound, Active Range Breakout, Inflection Ultra-Scalp and Pattern Recognition. Select the approach, then configure its confirmation rules, filters, execution conditions and trade management.
Designed primarily for gold symbols such as XAUUSD and broker-specific equivalents. Test other instruments separately because contract size, tick value, spreads and trading hours vary. No trade frequency, profit, win rate or drawdown is guaranteed.
WHY THIS DESIGN
Instead of forcing every entry through one universal rule, Ironframe separates five approaches with different qualification logic. Choose structure-based scoring, range setups, breakout confirmation, short-horizon inflections or candle-pattern recognition in one EA. Optional macro, sentiment and options components can add context when correctly configured; those layers can remain disabled when you prefer a price-action-focused setup.
FIVE TRADING MODES
1. CONSERVATIVE
Conservative Mode scores order-block context, liquidity-sweep evidence and selected confirmations before applying direction, regime and execution checks. It suits traders who prefer several conditions before considering an entry.
Key settings: RequireOrderBlock, RequireSweep, RequireDivergence, MinSignalScore and OBProximityPct. The reviewed default requires an order block and liquidity sweep; divergence can be configured as a further condition. MinSignalScore defaults to 4. The exact combination of required conditions depends on the chosen inputs.
2. RANGEBOUND
Rangebound evaluates structure and confirmation evidence in consolidating conditions. Divergence, exhaustion and absorption can contribute to the setup score. RangeBoundMinScore is the main mode-specific threshold (default 2).
In this source version, the final entry gate still requires a qualifying order block even when supply/demand evidence contributes to the score. Rangebound does not apply the directional regime gate in exactly the same way as Conservative Mode. Review the inputs and test this mode independently before live use.
3. ACTIVE RANGE BREAKOUT
Active Range Breakout waits for a candle close beyond an active range boundary; a touch alone is not a breakout. ATR buffer, candle-body size, volume, setup age and invalidation rules qualify or reject the setup. Higher-timeframe, session and execution filters may also apply.
Important settings include BreakoutUseATRBuffer=true, BreakoutBufferATR=0.10, BreakoutMinBodyATR=0.50, BreakoutRequireVolume=true, BreakoutVolumeFactor=1.00, BreakoutSetupMaxBars=3 and BreakoutInvalidateATR=0.50. These settings control how much evidence a breakout must show; looser values may admit more setups, while stricter values may reduce signal frequency.
4. INFLECTION ULTRA-SCALP
Inflection Ultra-Scalp is the default in the reviewed v2.21 source. It evaluates Hull Moving Average slope and curvature, regression-mean deviation, RSI context and proximity to points of interest. It targets short-horizon changes in price behavior; a signal does not prove a lasting reversal.
Key inputs include InflectionHMAPeriod=21, InflectionMeanPeriod=34, InflectionSlopeATR=0.05, InflectionMinConcavityATR=0.02, InflectionMeanDeviationATR=0.25, InflectionRSIPeriod=14, InflectionOversold=30, InflectionOverbought=70, InflectionPOIATR=1.0 and InflectionMinScore=4. The EA uses the chart timeframe for the shared mode, so select and test a timeframe appropriate to your market and execution costs.
Inflection has dedicated management for ATR stops, optional safety targets, break-even/profit locks, runners, adverse moves and stagnation. Key controls: InflectionSLATR=2.50, InflectionTPATR=1.20, InflectionUseSafetyTP=false, InflectionCloseOnNewArrow=true, InflectionProfitProtectionEnabled=true and InflectionAsymmetricPayoffEnabled=true. The safety target is off by default; review the complete exit logic before live use.
5. PATTERN RECOGNITION
Pattern Recognition has its own detection and execution path. Patterns include bullish/bearish engulfing, hammer, shooting star, morning/evening star and Head-and-Shoulders / Inverse Head-and-Shoulders; doji recognition is configurable. Entries can use confirmation bars, spread/session limits, daily trade caps, trend filters, structural or ATR stops, risk-reward targets and trailing stops.
Important inputs include TradeSymbol (blank means the current chart symbol), Timeframe=PERIOD_CURRENT, RiskMode=PATTERN_RISK_PERCENT, FixedLot=0.10, RiskPercent=0.50, StopLossMode=PATTERN_SL_LOW_HIGH, ATRPeriodPattern=14, ATRMultiplier=1.50, TakeProfitMode=PATTERN_TP_RR, RiskRewardRatio=1.50, MaxSpreadPoints=80, MaxTradesPerDay=10, ConfirmationBars=1, FractalDepth=2, ZigZagDepth=30 and NecklineBreakBufferPoints=10.
Pattern Recognition has separate position sizing and trade management. Do not assume it uses the shared InpLotSize, InpMaxLotSize, break-even or weekend settings in exactly the same way as the other modes. Configure its own RiskMode, RiskPercent or FixedLot, stop, target, spread and session settings separately, and confirm the behavior in the Strategy Tester.
STRUCTURE-BASED PRICE ACTION
The shared structure engine evaluates swing highs/lows, order blocks, liquidity sweeps and supply/demand zones. ATR-based thresholds scale selected distances to volatility. Structure-age and cooldown settings determine whether a setup remains eligible.
Key inputs: SwingWing=3, SwingLookback=100, ATRPeriod=14, OBDisplacementMult=1.0, OBMaxWickRatio=0.3, SDMoveMultiple=3.0, EquilibriumBandPct=0.05, SDLookback=100, SDMaxBaseCandles=4 and SDDisplacementMult=0.5. Effects vary by mode. Looser thresholds may increase activity and admit weaker setups; stricter thresholds may reduce signal frequency.
CONFIRMATION AND CONFLUENCE
The confirmation layer can combine:
· Divergence between price swings and available momentum/tick-data measures.
· Exhaustion based on candle wick/body proportions.
· Absorption based on elevated tick activity, limited range and rejection.
· Cluster scoring for multiple confirmations on the same bar.
· Supply/demand zones and order blocks as structural reference areas.
Controls include EnableDivergence, DivergenceMinSwingATR, EnableExhaustion, ExhaustionWickMult, ExhaustionBodyMult, EnableAbsorption, AbsorptionVolFactor, AbsorptionRangeFactor, AbsorptionRejectPct, UseClusterScoring, MinClusterSignals and ClusterBonusScore. Tick activity is a terminal-data proxy, not a complete centralized order book or verified institutional flow.
MARKET CONTEXT AND SIGNAL FILTERS
Optional filters include higher-timeframe direction, trading session, signal age and cooldown. UseHTFFilter=true, HTFTimeframe=H4 and HTFLookbackBars=20 set the higher-timeframe context where applied. AllowedSession defaults to SESSION_ALL. UTCOffsetHours adjusts approximate UTC session windows, but they are not automatically daylight-saving aware. Pattern Recognition uses separate TradingSessionStart and TradingSessionEnd inputs.
SignalCooldownBars=5 controls spacing between repeated shared signals, while MaxBarAgeForSignal=25 limits how old a structure can be and remain eligible. Draw settings such as DrawOrderBlocks, DrawSupplyDemandZones, DrawDivergenceMarks and DrawInflectionMarks control chart display; a visible object or arrow does not mean every final entry condition has passed.
OPTIONAL OPTIONS-MARKET CONFLUENCE
The optional options layer can use strike, volume and open-interest data as context or score confluence. It supports an API or local CSV. UseLiveAPI selects the API route and requires a valid key/expiry. The default FlashAlpha_Symbol=NEM is a gold-proxy equity, not direct COMEX Gold futures-options data; do not treat it as GC positioning.
For GC-specific analysis, use a validated Gold futures-options CSV with UseLiveAPI=false or a source providing the intended contract/expiry. Verify data freshness, strike units and symbol mapping. Min_OI_Threshold, Min_Volume_Threshold, Max_Pain_Buffer, Max_Strikes_Processed and Max_Battle_Zones_Shown control filtering/display; UseOptionsConfluence, OptionsConfluenceATRMult and OptionsConfluenceBonus control its score contribution where applied. This layer is optional.
MACROECONOMIC AND SENTIMENT CONTEXT
Optional macro and sentiment components add broader context to selected modes. UseAutoFundamentals and UseAutoSentiment control supported automatic inputs; FundamentalScore and SentimentScore use 50 as a neutral fallback. Depending on configuration, inputs may include FRED/BLS series, broker oil pricing, CFTC positioning and a sentiment feed. Some fields require manual values or external consensus data.
ManualFedStance, ManualCmeCutProb, ManualNFPActual/Expected, ManualADPActual/Expected, ManualGeoScore and BPR_USBanksLong/Short provide manual context. External feeds can be delayed or unavailable. Allow WebRequest only for required sources and verify updates. Macro and sentiment are context inputs, not price forecasts.
EXECUTION AND RISK SETTINGS
The shared execution path provides controls for trading enablement, lot size, magic number, order deviation, stop buffers, position limits and protective management. Review these before adjusting entry filters.
Key shared inputs: EnableTrading=true, InpLotSize=0.05, MagicNumber, InpDeviationPoints=50, InpSLBufferPoints=20, OnePositionPerSymbol=true, InpMaxOpenPositions=1, CloseOppositePosition=false, MoveToBreakEven=true and InpBreakEvenAfterBars=5. InpUseRiskPercentSizing=false selects fixed lots; if enabled, InpRiskPercentPerTrade=0.25 sets the risk budget. InpMaxLotSize=0.05 caps the shared path, not Pattern Recognition in this source.
Shared risk inputs include InpMaxDailyLossPercent=3.0, InpMaxDrawdownPercent=10.0, InpMaxConsecutiveLosses=6, InpLossPauseBars=20, InpDrawdownPauseBars=200 and InpMinRiskATRFraction=0.25. They apply only where implemented and cannot prevent all losses. Pattern Recognition has separate sizing and must be tested independently.
Execution checks include V2ProtectSpread=true, V2MaxSpreadATR=0.15, V2ProtectQuoteAge=true, V2MaxQuoteAgeSeconds=2 and V2ProtectSlippage=true. V2MaxSpreadPoints=0 means that this absolute spread-point threshold is not active; V2MaxObservedSlippagePoints=0 is monitor-only for that threshold. V2NewsPolicy defaults to V2_NEWS_MONITOR, which monitors rather than automatically blocking every entry around news. Choose the policy deliberately and test the behavior that your configuration actually enables.
CHART DISPLAY AND DIAGNOSTICS
Optional chart tools include DrawActiveRange, DrawOrderBlocks, DrawSupplyDemandZones, DrawExhaustionMarks, DrawAbsorptionMarks, DrawDivergenceMarks and DrawInflectionMarks. V2IntelligenceEnabled, V2ShowFingerprint and V2ShowDashboard control the intelligence display. V2ResearchRiskTelemetryEnabled, V2TrackMFE_MAE and V2ShowRegimeBreakdown support trade/regime review. InpDiagLog and InpDiagLogEveryBars help explain why a candidate did not become an order. Visual objects do not prove that all entry gates passed.
QUICK START
1. Install the EX5 file in MQL5/Experts and refresh Navigator, or compile the MQ5 file in MetaEditor.
2. Attach it to the intended chart and verify symbol, timeframe, contract size, tick value, spread, commission and trading hours.
3. Select a mode and review its dedicated inputs. Inflection Ultra-Scalp is the default in the reviewed v2.21 build.
4. Start on demo with conservative volume. Configure shared and Pattern Recognition risk controls separately; check that lots and stops suit the broker's contract.
5. Enable Algo Trading after review. Monitor Experts and Journal for rejected orders, invalid stops, stale feeds or symbol errors.
6. Test modes separately using identical dates, deposit, leverage and cost assumptions. When history supports it, use real-tick modelling. Review drawdown, profit factor, average trade, largest loss, losing streak and after-cost results, not net profit alone.
WHO THIS EA IS FOR
Ironframe suits traders who want to choose between structure, range, breakout, inflection and candlestick-pattern approaches while controlling filters and risk settings. Users should understand the selected mode, validate any external data and test on their broker. Settings copied from another account do not ensure equivalent results.
IMPORTANT RISK NOTICE
Leveraged trading involves substantial risk. Historical simulations do not establish future performance; results vary with contract specifications, costs, slippage, liquidity, server conditions, data quality and settings. Stops may fill away from the requested price during fast markets or gaps. External data may be delayed or unavailable. Test on demo, size for your account and contract, and risk only capital you can afford to lose.
