Pipsgrowth EX15006 SMC-OrderBlock
MT5 Expert Advisor (Open Source) · XAUUSD · M5, M15
Pipsgrowth.com EX15006 ICT_Scalper — BOS/CHoCH + liquidity sweep + FVG + OB + killzones, full 12-layer stack.
Overview
Pipsgrowth EX15006 runs the full ICT / SMC vocabulary — Break of Structure, Change of Character, liquidity sweep, Fair Value Gap, Order Block — through a single 0-to-100 weighted score that decides whether a trade fires. The default InpSignalMinScore = 65 means a position only opens when at least two structural detectors plus a Fair Value Gap or Order Block agree inside the London 08:00-10:00 or New York 13:00-15:00 server-time killzone, after the H1 EMA(50), an engulfing or full-bodied candle, and a volume-not-spike-down check have all cleared. The result is a deliberately selective XAUUSD M5 scalper that, in a typical London or New York window, produces a handful of trades rather than dozens — and the score tells you, in one number, why.
The architecture is built around SignalDir(). Five detectors run in sequence and each contributes to either a bull-score or a bear-score. IsBOS() looks for a close beyond the most recent swing pivot over DEF_BOS_LOOKBACK = 5 bars; IsCHoCH() looks for a close beyond the most recent opposing-direction swing over DEF_CHOCH_LOOKBACK = 10 bars. Either structural break adds 30 to its side. IsLiquiditySweep() then checks whether the prior DEF_LIQ_LOOKBACK = 20 bars' extreme was wicked by at least DEF_LIQ_SWEEP_PIPS = 0.2 pips and price closed back inside — that adds 15. IsFVG() walks the last 10 closed bars for an unfilled 3-bar Fair Value Gap of at least DEF_FVG_MIN_PIPS = 0.5 pips, then checks whether the latest close has retraced to the gap's midpoint (DEF_FVG_RET_PCT = 50%) — a hit adds 25. IsOrderBlock() scans the last 20 bars for the last opposite-colour candle that preceded at least 2 momentum candles, with the current close now sitting inside its range — that adds 30. Each side also receives a 10-point base-context bonus, so the theoretical maximum is 110, clamped to 100 in code.
The scoring is not decorative — the three signal-input toggles (InpRequireFVG, InpRequireOB, InpRequireSweep) hard-zero a side when its detector misses. With both FVG and OB set to true (the default), a long setup that lacks an FVG collapses its bull-score to 0 regardless of how many BOS, CHoCH, or sweep hits it accumulated. That is what makes the score a structural gate rather than a vote: the EA will not enter a trade on structure alone if no liquidity void is being filled. The score is also where the sweep detector earns its keep — when InpRequireSweep = true is enabled, even a clean BOS + FVG + OB triple needs a prior liquidity raid to score at all.
Before the score becomes a position, TryEntry() runs three independent confirms. HTFTrendAgrees() reads the H1 EMA(50) handle g_hEmaH and refuses any trade whose direction disagrees with the higher-timeframe close — unless InpAllowCounterTrend is flipped on. EngulfingOrMomentum() requires the latest bar to be a full-bodied candle (body > 60% of range) or a classic engulfing of the previous bar; a small-bodied doji or pin bar is rejected with a weak-candle log line. VolNotSpikeDown() reads the last 10 bars of tick volume and demands the current bar be at least 50% of the rolling average — a quiet bar is allowed, a vacuum is not. Only after all three pass does the EA compute the lot from CalcLotByRisk() and call SendMarket() with SL = ATR(14) × InpATRslMult = 1.5 and TP = ATR(14) × InpATRtpMult = 2.5. The function then verifies the realised reward-to-risk is at least InpMinRR = 1.5 after broker stops-level rounding — a gold contract on a 5-digit broker with a 30-point stops-level can erode RR below the floor, in which case the trade is refused with a RR low log line.
The capital-allocation cap is the binding design choice. EffCapital() returns AccountInfo::Equity() - today's realised PnL and then caps the result at InpCapAmount (default 0, meaning disabled). When set, every percentage-based layer in the EA — the InpRiskPercent = 0.5% per-trade risk, the InpDailyLossPct = 3% daily stop, the DEF_WEEKLY_LOSS_PCT = 7% weekly stop, the DEF_PORTFOLIO_HEAT_PCT = 6% aggregate heat cap, and the InpCapFloor = 50 block-below-floor gate — all key off the capped equity rather than the real account balance. A trader with a $5,000 account who sets InpCapAmount = 500 is effectively running a 10% allocation, and all risk arithmetic follows that fraction. This is also the mechanism that lets PortfolioHeat() keep cumulative open-position risk bounded: it sums (entry - SL) / tickSize × tickValue × volume across all positions under the magic, divides by g_effCapital × 6%, and refuses new entries when the ratio reaches 1.0.
Management runs on every tick, not just on the signal bar. ManageOpenPositions() reads ATR(14) once per tick and walks the position list: at +1R (via DEF_BE_TRIGGER_R = 1.0) the stop moves to entry exactly; at the same +1R threshold, DEF_PARTIAL_PCT = 50% of the position is closed via TryClosePartial_EX15006; from then on, the stop trails at InpTrailATRmult = 2.0 × ATR behind price. The trail only ever moves the stop in the favourable direction — newSL > sl + stopsPts for longs, newSL < sl - stopsPts for shorts — and never widens it. All three modify paths are wrapped in 3-attempt retry loops (Sleep(200) for closes, Sleep(100) for modifies) that handle REQUOTE, TIMEOUT, PRICE_OFF, and PRICE_CHANGED retcodes. The opposite-signal exit in CheckExits() closes any open position when a fresh SignalDir() returns the opposing direction with confidence ≥ 80, and a hard time-stop fires at DEF_MAX_BARS_IN_TRADE = 60 M5 bars (5 hours of chart time).
The regime classifier is the structural gatekeeper. CalcRegime() pulls 100 bars of ATR(14), 2 bars of ADX(14), and 2 bars of Bollinger Bands(20, 2.0) to label the current state. The 70th-percentile of the ATR history (atr70) and the band-width comparison bbU - bbL between bar 0 and bar 1 drive most of the decisions. The seven states are: Choppy (default fallback), Range (ATR below 30th percentile AND ADX < 18), WeakTrend (ADX 20-27), StrongTrend (ADX ≥ 28), Compress (bands narrowing AND width < middle × 0.001), Expand (ATR above 70th percentile without trend confirmation), and Breakout (ATR > 70th × 1.05 AND ADX > 25 AND bands expanding). Choppy blocks entries outright. The other six are allowed but each carries a confOut confidence reading that the regime-aware portion of the manage layer could read in future revisions.
The no-trade stack is layered and explicit. IsInKillzone() allows entries only between 08:00-10:00 and 13:00-15:00 server time — exactly two hours per session, no overlap, no Asian session. SpreadOK() refuses when the spread exceeds DEF_MAX_SPREAD_PTS = 30 points. IsNewsWindow() pauses 30 minutes before and 15 minutes after the 08:30 and 13:30 server-time news minutes — a tight, predictable blackout rather than a rolling news feed. WeekendProximity() blocks new entries from Friday 22:00 onward and on Saturday and Sunday. CooldownActive() blocks for DEF_COOLDOWN_BARS = 3 bars after InpCooldownLosses = 3 consecutive losses. MaxSymbolExposure() enforces 1 open per symbol, and the loop that follows enforces InpMaxOpenTrades = 2 total. DailyLossExceeded() and WeeklyLossExceeded() cut off the day or week once realised PnL on the magic drops below the cap-bound limit.
InpDryRun = true is the default and the recommended starting state. With it on, SendMarket() logs [DRYRUN] BUY lot=... sl=... tp=... tag=... and returns success without sending; ManageOpenPositions() logs [DRYRUN] BE ticket=... and [DRYRUN] Trail ticket=... and [DRYRUN] Partial ticket=... without touching the position; CheckExits() logs [DRYRUN] OppSigExit ticket=... and [DRYRUN] TimeExit ticket=.... The trade comment that would have been sent is 'Psgrowth.com Expert_15006_<score>' — the score becomes the trade tag, so a post-mortem of the dry-run log shows you exactly which score magnitudes the EA would have entered. InpKillSwitch hard-aborts OnInit() if set at launch — useful for disabling the EA from the inputs panel without removing it from the chart. The OnDeinit() cleanup releases all six indicator handles and removes any ICT696_-prefixed chart objects.
The OnTester() custom fitness is (net × profitFactor) / (1 + equityDDPercent), returning 0 for any pass with fewer than 30 trades. The 30-trade floor is honest — it penalises short backtests that would otherwise score artificially high on tiny samples. Combined with the regime gate, the news blackout, the killzone restriction, and the capital-cap binding, the EA is designed to produce a small, well-characterised number of trades in a Strategy Tester pass and then to behave consistently when run on a live account with the same input set. The SendMarket() retry path in live mode handles REQUOTE / PRICE_OFF / TIMEOUT with one re-attempt after refreshing the symbol rates; the retry helpers TryClose_EX15006, TryClosePartial_EX15006, and TryModify_EX15006 add two more attempts each, so the total close-and-modify resilience is up to 3 retries per call site — a deliberate redundancy for a killzone scalper where a missed close on a 5-bar pullback can be the difference between +1R and -1.5R.
In practical terms, the EA expects a $100 minimum on XAUUSD M5 from a low-spread ECN broker whose server clock sits in the European or US trading day. The 30-point spread ceiling assumes spreads in the 15-25 point range under normal conditions; a broker that widens to 40+ points at NY open will see the EA refuse most entries. With the default 0.5% per-trade risk and 1.67:1 reward-to-risk, six consecutive losses exhaust the 3% daily cap — the survival layer is the capital cap and the killzone discipline, not any one trade's outcome.
Strategy Deep Dive
OnTick() first refreshes the six indicator handles — g_hATR (ATR(14)), g_hADX (ADX(14)), g_hBB (Bollinger Bands(20, 2.0)), g_hRSI (RSI(14)), g_hEmaL (EMA(20) on M5), g_hEmaH (H1 EMA(50)) — and recomputes g_effCapital = min(InpCapAmount, Account.Equity() - today's realised PnL). The hard gate is the no-trade stack: SpreadOK() (≤ 30 points), IsInKillzone() (08:00-10:00 or 13:00-15:00 server), IsNewsWindow() (paused 30/15 min around 08:30 and 13:30), WeekendProximity() (Friday 22:00 onward and weekends), CooldownActive() (3 bars after 3 losses), MaxSymbolExposure() (1 per symbol), the InpMaxOpenTrades = 2 cap, plus DailyLossExceeded() and WeeklyLossExceeded(). CalcRegime() then labels the market as one of 7 states (Choppy blocks outright; Range, WeakTrend, StrongTrend, Compress, Expand, Breakout are allowed). Only on a new closed bar — gated by IsNewBar() updating g_lastBarTime — does TryEntry() call SignalDir() to score BOS/CHoCH (30), sweep (15), FVG (25), OB (30), base (10) with FVG/OB/sweep hard-zeroable, then layer HTFTrendAgrees(), EngulfingOrMomentum(), and VolNotSpikeDown(). SL = ATR×1.5 / TP = ATR×2.5 are sized from InpRiskPercent = 0.5% of capped equity via CalcLotByRisk(), with PortfolioHeat() < 1.0 and InpMinRR = 1.5 as the final send gates. SendMarket() retries once on REQUOTE / PRICE_OFF / TIMEOUT after g_sym.RefreshRates(). Every tick, ManageOpenPositions() runs BE at +1R, 50% partial at +1R, and the ATR×2.0 trail; CheckExits() runs the opposite-signal-at-conf-80 and 60-bar time exits. InpDryRun = true is the default — all sends and modifies log [DRYRUN] lines and return success without touching the broker. OnTester() custom fitness is (net × profitFactor) / (1 + equityDDPercent), returning 0 for any pass with fewer than 30 trades.
Entries fire only on a closed M5 bar inside the London 08:00-10:00 or New York 13:00-15:00 server-time killzone, after SignalDir() returns a 0-100 score ≥ InpSignalMinScore = 65. The score combines Break-of-Structure or Change-of-Character across 5/10-bar swing scans (30 pts), an optional liquidity sweep beyond the 20-bar extreme by 0.2 pips (15 pts), an active unfilled 3-bar FVG of 0.5+ pips (25 pts), and an Order Block tap inside the last 20 bars (30 pts), with FVG and OB mandatory by default — when either is absent its side is hard-zeroed. Three confirms — H1 EMA(50) agreement, full-bodied or engulfing candle, tick volume ≥ 50% of the 10-bar average — must all pass before TryEntry() sizes the lot from InpRiskPercent = 0.5% of capped equity and sends at SL = ATR(14)×1.5 / TP = ATR(14)×2.5, gated by InpMinRR = 1.5 after broker stops-level rounding.
Three layered exits run on every tick. ManageOpenPositions() moves the stop to entry at +1R for break-even, closes 50% of the position at the same +1R trigger via TryClosePartial_EX15006, then trails the stop at ATR(14) × InpTrailATRmult = 2.0 behind price — the trail only ever moves the stop in the favourable direction. CheckExits() adds the opposite-signal exit (closes when a fresh SignalDir() returns the opposing direction with confidence ≥ 80) and a hard time-stop at DEF_MAX_BARS_IN_TRADE = 60 M5 bars (5 hours). All three close and modify paths are wrapped in 3-attempt retry helpers TryClose_EX15006, TryClosePartial_EX15006, TryModify_EX15006 (200ms close / 100ms modify backoff on REQUOTE / TIMEOUT / PRICE_OFF / PRICE_CHANGED).
Initial SL = ATR(14) × InpATRslMult = 1.5, clamped to broker stops-level + 1 pip. At +1R the stop moves to entry exactly for break-even; thereafter it trails at ATR(14) × InpTrailATRmult = 2.0 behind price and never widens. No global equity stop — losses are bounded by the per-trade SL plus a 3% daily and 7% weekly loss-of-capped-equity hard cap, a 6% aggregate portfolio heat ceiling (PortfolioHeat() >= 1.0 blocks new entries), and the InpCapFloor = 50 below-capital block.
Initial TP = ATR(14) × InpATRtpMult = 2.5 for a default 1.67:1 reward-to-risk, with TryEntry() refusing any order where broker-rounding drops the realised RR below InpMinRR = 1.5. 50% of the position is also closed at +1R as a partial TP via TryClosePartial_EX15006, after which the remainder rides the ATR trail or the opposite-signal / 60-bar time exit. There is no fixed R-multiple basket TP — the trade's life ends at TP, opposite-signal, or time-stop, whichever fires first.
Best deployed on XAUUSD M5 with a $100 minimum on a low-spread ECN broker whose server clock sits in European or US trading hours so the 08:00-10:00 London and 13:00-15:00 New York killzones overlap real liquidity. The capital-allocation cap (InpCapAmount) makes this a fit for traders running a sub-account or fixed-fraction strategy on a slice of a larger book — a $5,000 account with InpCapAmount = 500 trades as if the balance were $500, and the 3% daily / 7% weekly loss-of-capped-equity hard stops suit risk-averse operators who want the ICT killzone framework without discretionary overrides. Leave InpDryRun = true for at least one full London + New York session to audit the log, then disable it for live deployment.
Strategy Logic
Pipsgrowth EX15006 SMC-OrderBlock — Strategy Logic Analysis (from .mq5 source)
Family: SMC-OrderBlock
Magic: 22215006
Version: 2.00
BRIEF:
ICT/SMC scalper. Signal = swing-pivot BOS/CHoCH + liquidity sweep + Fair Value Gap + Order Block tap, scored 0-100. Entry on closed bar after price retraces into FVG/OB inside London/NY killzone. Confirm = HTF EMA(50) agreement + engulf/momentum + min R/R. Capital-cap, ATR trailing, break-even, partial TP, opposite-signal + regime-change exits. Default DRY-RUN. 12 layers: REGIME, SIGNAL, ENTRY, CONFIRM, NO-TRADE, CAPITAL CAP, RISK, SIZING, MANAGE, EXIT, SCALING, OnTester
INDICATOR STACK:
ATRADXBBRSIEmaLEmaH
KEY FUNCTIONS:
BarTime()BarO()BarH()BarL()BarC()ResetDayWeekAnchors()EffCapital()RealizedPnL()NormPrice()NormLot()StopLevelPts()TimeStrToMin()- ...and 34 more
INTERNAL CONSTANTS (5 total):
DEF_MAX_SPREAD_PTS= 30 // Max spread (points)DEF_BE_TRIGGER_R=1.0// Break-even trigger (R-multiple)DEF_PARTIAL_R=1.0// Partial TP atR(0=off)DEF_PARTIAL_PCT=50.0// Partial close %DEF_SIGNAL_TF_MIN= 5 // Signal timeframe (minutes)
INPUT PARAMETERS (21 total across 6 groups):
- [=== Identity ===]
InpMagic=22215006// Magic number - [=== Identity ===]
InpTradeComment= "Psgrowth.com Expert_15006" // Trade comment - [=== Identity ===]
InpDryRun=true// Dry-run (no live orders) - [=== Identity ===]
InpKillSwitch=false// Global kill switch - [=== Risk & Sizing ===]
InpRiskPercent=0.5// Risk % per trade (of effective cap) - [=== Risk & Sizing ===]
InpFixedLot=0.01// Fixed lot (used if Risk%<=0) - [=== Risk & Sizing ===]
InpDailyLossPct=3.0// Max daily loss % (of effective cap) - [=== Risk & Sizing ===]
InpMaxOpenTrades= 2 // Max concurrent trades (thisEA) - [=== Risk & Sizing ===]
InpMaxSymbolExp= 1 // Max concurrent trades per symbol - [=== Risk & Sizing ===]
InpCooldownLosses= 3 // Consecutive losses to trigger cooldown - [=== Capital Allocation Cap ===]
InpCapAmount=0.0// Capital cap amount ($, real money) - [=== Capital Allocation Cap ===]
InpCapFloor=50.0// Capital floor ($, block entries) - [=== Signal ===]
InpRequireFVG=true// Require Fair Value Gap - [=== Signal ===]
InpRequireOB=true// Require Order Block tap - [=== Signal ===]
InpRequireSweep=false// Require liquidity sweep - [=== Regime / Confirm ===]
InpAllowCounterTrend=false// Allow trades againstHTFtrend - [=== Regime / Confirm ===]
InpSignalMinScore=65.0// Min signal score (0-100) - [=== Regime / Confirm ===]
InpMinRR=1.5// Min reward:risk ratio - [=== Exit / Manage ===]
InpATRslMult=1.5//ATRSL multiplier - [=== Exit / Manage ===]
InpATRtpMult=2.5//ATRTP multiplier - [=== Exit / Manage ===]
InpTrailATRmult=2.0//ATRtrailing multiplier
// Pipsgrowth EX15006 SMC-OrderBlock — Execution Flow (from source analysis)
// Family: SMC-OrderBlock
// ICT/SMC scalper. Signal = swing-pivot BOS/CHoCH + liquidity sweep + Fair Value Gap + Order Block tap, scored 0-100. Entry on closed bar after price retraces into FVG/OB inside London/NY killzone. Confirm = HTF EMA(50) agreement + engulf/momentum + min R/R. Capital-cap, ATR trailing, break-even, partial TP, opposite-signal + regime-change exits. Default DRY-RUN. 12 layers: REGIME, SIGNAL, ENTRY, CONFIRM, NO-TRADE, CAPITAL CAP, RISK, SIZING, MANAGE, EXIT, SCALING, OnTester
ON_INIT:
Create indicator handles: ATR, ADX, BB, RSI, EmaL, EmaH
Initialize state variables
Detect broker GMT offset
ON_TICK:
1. Refresh indicator buffers (closed-bar shift=1)
2. Manage existing positions:
- Break-even check
- ATR trailing stop
- Profit lock ratchet
- Time-based exit
- Opposite-signal exit
3. If new bar:
a. ClassifyRegime() — ADX/ATR/BB regime detection
b. NoTradeGate() checks:
- Market open + session filter
- Spread limit
- Cooldown after loss
- Consecutive loss limit
- Kill switch
- Max drawdown
- Max concurrent positions
- Daily/weekly loss limits
c. GenerateSignal() — strategy-specific entry logic
d. CheckConfirm() — HTF alignment + R:R + ADX minimum
e. Calculate position size from risk %
f. Execute with retry logic
g. Mark bar to prevent duplicates
ON_TESTER:
Custom fitness = weighted(RecoveryFactor, ROI, ProfitFactor, TradeCount, Sharpe, Drawdown)Optimization Profile
How to Install This EA on MT5
- 1Download the .mq5 file using the button above
- 2Open MetaTrader 5 on your computer
- 3Click File → Open Data Folder in the top menu
- 4Navigate to MQL5 → Experts and paste the .mq5 file there
- 5In MT5, right-click Expert Advisors in the Navigator panel → Refresh
- 6Drag the EA onto a chart matching the recommended timeframe
- 7Configure parameters according to the table on this page
- 8Enable Allow Algo Trading and click OK
EA Parameters
| Parameter | Default | Description |
|---|---|---|
| InpMagic | 22215006 | Magic number |
| InpTradeComment | "Psgrowth.com Expert_15006" | Trade comment |
| InpDryRun | true | Dry-run (no live orders) |
| InpKillSwitch | false | Global kill switch |
| InpRiskPercent | 0.5 | Risk % per trade (of effective cap) |
| InpFixedLot | 0.01 | Fixed lot (used if Risk%<=0) |
| InpDailyLossPct | 3.0 | Max daily loss % (of effective cap) |
| InpMaxOpenTrades | 2 | Max concurrent trades (this EA) |
| InpMaxSymbolExp | 1 | Max concurrent trades per symbol |
| InpCooldownLosses | 3 | Consecutive losses to trigger cooldown |
| InpCapAmount | 0.0 | Capital cap amount ($, real money) |
| InpCapFloor | 50.0 | Capital floor ($, block entries) |
| InpRequireFVG | true | Require Fair Value Gap |
| InpRequireOB | true | Require Order Block tap |
| InpRequireSweep | false | Require liquidity sweep |
| InpAllowCounterTrend | false | Allow trades against HTF trend |
| InpSignalMinScore | 65.0 | Min signal score (0-100) |
| InpMinRR | 1.5 | Min reward:risk ratio |
| InpATRslMult | 1.5 | ATR SL multiplier |
| InpATRtpMult | 2.5 | ATR TP multiplier |
| InpTrailATRmult | 2.0 | ATR trailing multiplier |
#property copyright "Pipsgrowth.com"
#property link "https://pipsgrowth.com"
#property version "2.00"
#property strict
#property description "Pipsgrowth.com EX15006 ICT_Scalper — BOS/CHoCH + liquidity sweep + FVG + OB + killzones, full 12-layer stack."
#include <Trade\Trade.mqh>
#include <Trade\PositionInfo.mqh>
#include <Trade\SymbolInfo.mqh>
#include <Trade\AccountInfo.mqh>
#include <Trade\OrderInfo.mqh>
#include <Trade\DealInfo.mqh>
//============================== DEFINES ==============================
#define DEF_BOS_LOOKBACK 5
#define DEF_CHOCH_LOOKBACK 10
#define DEF_STRUCT_SENS 0.5
#define DEF_LIQ_LOOKBACK 20
#define DEF_LIQ_SWEEP_PIPS 0.2
#define DEF_FVG_LOOKBACK 10
#define DEF_FVG_MIN_PIPS 0.5
#define DEF_FVG_RET_PCT 50.0
#define DEF_FVG_MAX_AGE 50
#define DEF_OB_LOOKBACK 20
#define DEF_OB_RET_PCT 50.0
#define DEF_OB_MAX_AGE 50
#define DEF_HTF_TF PERIOD_H1
#define DEF_HTF_EMA_PERIOD 50
#define DEF_ATR_PERIOD 14
#define DEF_ATR_PCT_LOOKBACK 100
#define DEF_ADX_PERIOD 14
#define DEF_BB_PERIOD 20
#define DEF_BB_DEV 2.0
#define DEF_RSI_PERIOD 14
#define DEF_NEWS_BEFORE_MIN 30
#define DEF_NEWS_AFTER_MIN 15
#define DEF_MAX_BARS_IN_TRADE 60
#define DEF_WEEKEND_CLOSE_HR 22
#define DEF_COOLDOWN_BARS 3
#define DEF_PORTFOLIO_HEAT_PCT 6.0
#define DEF_MAX_SPREAD_PTS 30 // Max spread (points)
#define DEF_BE_TRIGGER_R 1.0 // Break-even trigger (R-multiple)
#define DEF_PARTIAL_R 1.0 // Partial TP at R (0=off)
#define DEF_PARTIAL_PCT 50.0 // Partial close %
#define DEF_SIGNAL_TF_MIN 5 // Signal timeframe (minutes)
#define DEF_WEEKLY_LOSS_PCT 7.0
#define DEF_LONDON_START "08:00"
#define DEF_LONDON_END "10:00"
#define DEF_NY_START "13:00"
#define DEF_NY_END "15:00"
//============================== INPUTS (22 TOTAL) ==============================
input group "=== Identity ==="
input ulong InpMagic = 22215006; // Magic number
input string InpTradeComment = "Psgrowth.com Expert_15006"; // Trade comment
input bool InpDryRun = true; // Dry-run (no live orders)
input bool InpKillSwitch = false; // Global kill switch
input group "=== Risk & Sizing ==="
input double InpRiskPercent = 0.5; // Risk % per trade (of effective cap)Full source code available on download
Educational purposes only. Do NOT use with real money. Test on demo accounts only.
Clear Warning: Educational Purposes Only
Clear Warning: This Expert Advisor is for educational and testing purposes only. Do NOT use it with real money. Test only on demo accounts. Trading with real money involves substantial risk of capital loss. This does not constitute investment advice.
Recommended Brokers for This EA
These EAs run on MT5 — use a regulated broker with fast execution and tight spreads
Markets.com
Exness
IC Markets
Similar Expert Advisors
View All Expert AdvisorsMore Other strategy EAs from our library
Pipsgrowth EX12080 MultiIndicatorConfluence
Pipsgrowth.com EX12080 ic_gold — Multi-indicator confluence gold scalper, full 12-layer stack.
Pipsgrowth EX01003 Adaptive
Pipsgrowth.com EX01003 AdaptiveForexMaster FillingMode Fixed — multi-adaptive confirmation EA, full 12-layer stack, configurable timeframe, trailing/BE/profit-lock toggles, pyramid gate, spread filter, new-bar gate.
Pipsgrowth EX04002 HAEA
Pipsgrowth.com EX04002 HA_XAUUSD_5M — Heiken Ashi trend change scalping, full 12-layer stack.
Community
Educational purposes only. Do NOT use with real money. Test on demo accounts only.