The CMP Trader
- Experts
- Soong Chern Shiuh
- Versione: 1.0
- Attivazioni: 10
The CMP Trader — Breakout and Retest EA for Forex and Gold
Automated CMP Zone Breakout and Retest Expert Advisor for Forex and Gold (XAUUSD). Price Action Based. No Martingale. No Grid. ATR SL/TP, Trailing Stop, News Filter. Works on M15, M30, H1, H4. Prop Firm Friendly.
WHAT IS THE CMP TRADER?
The CMP Trader is a fully automated price action Expert Advisor built around the concept of the Current Market Price (CMP) Zone — a dynamic support and resistance area defined by recent candle formations that reflects where the market is most actively contested. By identifying these high-probability breakout zones and reacting to price behavior during the retest, the EA places precise, rule-based trades on Forex pairs and Gold (XAUUSD) without any manual intervention.
Whether you are a complete beginner looking for a set-and-forget automated trading solution, or a seasoned price action trader wanting to automate your existing CMP breakout strategy, The CMP Trader is built for you.
THE STRATEGY — CMP ZONE BREAKOUT AND RETEST
The concept of trading the Current Market Price (CMP) Zone is a well-established price action strategy used daily by professional Forex and Gold traders around the world. Every trader who applies CMP trading has their own fingerprint on it — their preferred timeframe, how they define the zone boundary, what they consider a valid breakout candle, and how they confirm a retest entry. It is a deeply personal yet universally respected approach to reading market structure.
The CMP Trader does not reinvent the wheel — it automates yours.
Whether you have been trading CMP zones manually for years and simply want to remove emotion and screen time from your execution, or you are just discovering the power of breakout and retest trading for the first time, this EA is built to walk you through it. It handles the zone detection, the breakout confirmation, the retest entry trigger, and the full trade management — so you can focus on learning, refining, and growing as a trader instead of sitting in front of your screen waiting for a setup.
Your strategy. Your rules. Now running 24 hours a day, 5 days a week — without you.
HOW IT WORKS — THREE STAGE PRICE ACTION LOGIC
The EA continuously monitors the chart for high-probability CMP zone formations based on closed candle structure. Once a valid zone is identified, it waits for a confirmed breakout and retest before executing any trade — ensuring every entry is taken at the most relevant price level rather than chasing the market.
Stage 1 — CMP Zone Formation
The EA automatically builds the CMP zone using a defined number of closed candles on your selected timeframe. You control how tight or wide the zone is by choosing between body-based calculation using open and close prices, or wick-based calculation using candle highs and lows.
Stage 2 — Breakout Confirmation
The EA monitors for a valid breakout beyond the zone boundary with a minimum pip distance filter to eliminate false breaks. Optional strength filters including body ratio and close position percentage ensure only decisive, high-momentum candles qualify as confirmed breakouts.
Stage 3 — Retest Entry
After a confirmed breakout, the EA watches for price to return and retest the CMP zone. Entry is triggered either instantly via Market Order when the retest level is touched, or via a Pending Limit Order pre-placed at the trigger level — giving you full control over your execution style.
KEY FEATURES
- Automated CMP Zone Detection. Automatically identifies and tracks Current Market Price breakout zones formed by candle structure in real time across Forex pairs and Gold (XAUUSD).
- Breakout and Retest Entry Logic. Waits for confirmed breakout then enters on the retest — the cleanest and most disciplined price action entry method available.
- Smart Automated Risk Management. Automatic lot sizing based on account balance and defined risk percentage ensures every trade is proportional and capital is always protected.
- Automated Stop Loss and Take Profit. Every trade is placed with clearly defined SL and TP levels. No unprotected positions, no guesswork.
- ATR-Based Dynamic Stop Loss and Take Profit. Optionally switch to volatility-adjusted SL and TP levels using Average True Range that automatically adapt to current market conditions — ideal for Gold (XAUUSD) and volatile Forex pairs.
- Flexible Trailing Stop System. Choose from no trailing stop, fixed pip trailing, or breakeven-then-trail mode to lock in profits as the trade moves in your favour.
- Built-In Economic News Filter. Automatically pauses all new trade entries within a defined window around high-impact news events using the MT5 economic calendar.
- CMP Zone Quality Filter. Optional minimum and maximum zone size filter in pips ensures only high-quality, well-defined zones are traded. Fully adjustable for both Forex and Gold.
- Multi-Timeframe Support. Fully compatible with M15, M30, H1, and H4 timeframes.
- Prop Firm Friendly. Clean single-trade logic with defined stop loss on every trade, no martingale, no grid, no hedging.
- No Martingale. No Grid. No Hedging. Every trade stands on its own with fixed risk.
SUPPORTED MARKETS
- Forex — EURUSD, GBPUSD, USDJPY, AUDUSD and all major and minor currency pairs.
- Gold — XAUUSD optimised for the volatility and price action structure of precious metals trading.
WHO IS IT FOR?
The CMP Trader is built for all levels of traders. It suits manual CMP traders who want to automate their existing breakout and retest strategy, beginner traders who want a fully automated rule-based price action EA that is easy to set up and understand, prop firm traders who need a clean disciplined EA with defined risk on every trade, and Gold and Forex traders who want a transparent EA where they can see and understand exactly why every trade is taken.
WHO IS THIS EA NOT FOR?
The CMP Trader is built on a disciplined, rule-based approach to trading. Before purchasing, please read this carefully.
This EA is not suitable for traders looking for overnight success or guaranteed profits on every trade. No trading strategy wins on every entry — and any seller who tells you otherwise is not being honest with you.
The Current Market Price zone strategy is built on patience. Some sessions will produce no valid setup at all. The zone may form, the breakout may happen, and the retest may never come — and the EA will correctly do nothing. That is not a failure. That is the strategy working exactly as intended, protecting your capital by refusing to take low-quality entries.
What The CMP Trader does is remove the hardest part of manual trading — the emotional pressure to act, to force a trade, to revenge trade after a loss, or to second-guess a perfectly valid setup. It waits with complete discipline for the exact conditions you have defined, and only then does it act.
If you are expecting the EA to trade continuously throughout the day, take dozens of trades per week, or produce consistent daily profits — this is not the right tool for you.
If you understand that a strategy's edge is built over a series of trades, not a single session — and you are looking for a patient, disciplined, rule-based system that executes your CMP approach without emotion — then The CMP Trader is exactly what you need.
Consistency over time. Discipline over impulse. That is the CMP way.
RECOMMENDED SETTINGS
- Minimum deposit: $100 (higher recommended for better risk distribution)
- Recommended timeframes: M15, H1, H4
- Recommended pairs: EURUSD, GBPUSD, XAUUSD
- Lot mode: Auto Lot with 1% risk recommended for consistent risk management
- SL/TP mode: ATR-based recommended for Gold (XAUUSD)
PRICING AND LICENSING
Monthly — $39. Perfect for traders who want to test The CMP Trader on a live account before committing long term.
3-Month — $99. Ideal for testing across different market conditions and refining your zone and breakout settings.
Lifetime — $449. Pay once, use forever across 10 activations. Just 12 months of the monthly plan costs $468 — making the Lifetime license the smarter long-term investment for serious traders.
10 activations included with every license.
SETTINGS REFERENCE GUIDE
EA IDENTIFICATION
Magic Number (Default: 20240001) Unique identifier for this EA instance. Use a different number for each chart to avoid trade conflicts.
EA Comment (Default: CMP_Trader) Text label attached to all orders placed by this EA. Appears in the journal log for easy filtering.
CMP ZONE SETTINGS
Selected_TF (Default: H1) Trading timeframe. Options: M15, M30, H1, H4. The EA counts closed candles on this timeframe to form the CMP zone.
CMP_Candles (Default: 3) Number of closed candles used to form the CMP zone. More candles = wider zone. Recommended: 3 to 5 for H1, 5 to 12 for M15/M30.
CMP_Mode (Default: Body) Zone boundary method. Body uses open/close prices for a tighter zone. Wick uses high/low for a wider zone.
BREAKOUT SETTINGS
Breakout_Candles (Default: 1) Number of candles to watch for a breakout after the zone forms. Candles are checked one by one as they close.
Breakout_Distance_Pips (Default: 5.0) Minimum pip distance the candle close must be beyond the zone boundary to confirm a breakout. Filters out false breaks.
Use_Body_Ratio (Default: false) Strength filter. When enabled, the breakout candle body must meet the minimum body ratio to confirm a decisive break.
Min_Body_Ratio_Pct (Default: 50.0) Minimum body size as a percentage of total candle range (1 to 100). Only active when Use_Body_Ratio is enabled.
Use_Close_Position (Default: false) Strength filter. When enabled, the breakout candle must close in the top percentage for BUY or bottom percentage for SELL of its range.
Close_Position_Pct (Default: 60.0) The close must be in the top or bottom X percentage of the candle range. Only active when Use_Close_Position is enabled.
RETEST SETTINGS
Retest_Candles (Default: 3) Number of candles to watch for a retest after breakout. Setup is cancelled if no retest occurs within this window.
Retest_Percent (Default: 10.0) How deep price must re-enter the CMP zone to trigger entry, as a percentage of zone range. Example: 10% of a 30-pip zone = 3 pips into the zone.
Entry_Mode (Default: Market) Market Order: trade executes immediately when the retest trigger is touched. Pending Limit: a limit order is pre-placed at the trigger level and waits for price to return automatically.
PENDING ORDER SETTINGS
Pending_Distance_Cancel (Default: false) When enabled, cancels the pending order if price moves too far beyond the trigger in the breakout direction, making a retest unlikely.
Pending_Cancel_Pips (Default: 50.0) Distance in pips beyond the trigger at which the pending order is cancelled. Only active when Pending_Distance_Cancel is enabled.
CMP QUALITY FILTER
CMP_Quality_Filter (Default: false) Enable or disable the zone size filter. When disabled, all CMP zones are accepted regardless of size.
CMP_Min_Pips (Default: 10.0) Minimum zone range in pips. Zones smaller than this are skipped. Set higher for volatile instruments like Gold.
CMP_Max_Pips (Default: 100.0) Maximum zone range in pips. Zones wider than this are skipped. For Gold (XAUUSD), consider setting this to 1000 to 2000.
TRADE MANAGEMENT
Lot_Mode (Default: Fixed) Fixed Lot: always uses the Fixed_Lot value. Auto Lot (Risk %): automatically calculates lot size so the stop loss equals the defined risk percentage of balance.
Fixed_Lot (Default: 0.01) Lot size used when Lot_Mode is set to Fixed Lot.
Risk_Percent (Default: 1.0) Percentage of account balance to risk per trade when using Auto Lot mode. Example: 1.0 = risk 1% per trade.
SL_Pips (Default: 20.0) Stop loss distance in pips from entry price. Used when Use_ATR_SLTP is disabled.
TP_Pips (Default: 40.0) Take profit distance in pips from entry price. Default is a 1:2 risk-to-reward ratio. Used when Use_ATR_SLTP is disabled.
Max_Trades (Default: 1) Maximum number of open positions at any one time, including trades carried forward from previous days.
ATR-BASED SL/TP
Use_ATR_SLTP (Default: false) Enable dynamic ATR-based SL/TP. When enabled, SL_Pips and TP_Pips are ignored and ATR values are used instead.
ATR_Period (Default: 14) Number of candles used to calculate the ATR value.
ATR_SL_Multiplier (Default: 1.5) Stop loss = entry plus or minus (ATR multiplied by this value). Example: ATR 20 pips x 1.5 = 30 pip stop loss.
ATR_TP_Multiplier (Default: 3.0) Take profit = entry plus or minus (ATR multiplied by this value). Example: ATR 20 pips x 3.0 = 60 pip take profit.
TRAILING STOP
Trail_Mode (Default: None) None: no trailing stop. Fixed Pip Trail: stop follows price by Trail_Pips distance once in profit. Breakeven + Trail: moves stop to breakeven first at Breakeven_Pips profit, then starts trailing.
Trail_Pips (Default: 15.0) Distance in pips between current price and the trailing stop.
Breakeven_Pips (Default: 10.0) Profit in pips required before stop is moved to breakeven. Only used with Breakeven + Trail mode.
NEWS FILTER
News_Filter (Default: false) Enable or disable the news filter. When enabled, no new trades are placed within the defined window around news events. Requires MT5 economic calendar.
News_Impact (Default: High) Minimum impact level to block. High: major news only such as NFP, CPI, and rate decisions. Medium+High: medium and high impact events. All: every calendar event.
News_Before_Mins (Default: 30) Minutes before a news event to block new trade entries.
News_After_Mins (Default: 30) Minutes after a news event to allow new entries again.
