| PART | Part | Description | ||
|---|---|---|---|---|
| 1 | INTRODUCTION | Product introduction, what the product helps you with | ||
| 2 | INSTALLATION & SETUP | System necessities, step-by-step set up information | ||
| Information to Putting in Free Indicators and EAs Included with the Mirage Buying and selling System Buy | ||||
| 3 | INTERFACE DISPLAY | Rationalization of the elements displayed on the chart | ||
| Person Information: Buying and selling Strains & Sign Monitoring System | The system mechanically attracts Entry, Cease Loss, and Take Revenue strains (TP 1–4) on the chart, tracks value motion for hits, information Win/Loss outcomes, and shows real-time efficiency statistics. | |||
| Person Information : Visualization, Zone Fill, Sign Dashboard & Cancelled Alerts | While you connect an indicator to a chart, the system renders the next visible elements for every detected sign | |||
| Person Information: MTF SCAN & Dashboard Person Information | MTF SCAN mechanically scans all Market Watch symbols throughout 8 timeframes (M1 to W1) and shows outcomes on a Dashboard grid instantly in your chart. | |||
| Person Information : Chart Theme Person Information | Chart Theme is a characteristic that adjustments the whole chart colour scheme in MetaTrader 5 — together with the background, candles, grid, textual content, and Bid/Ask strains — with a single click on. | |||
| 4 | CORE CONCEPTS | Elementary ideas that the system is constructed upon | ||
| Person Information: Market Construction Performance within the Buying and selling System | Identifies development course (Uptrend, Downtrend, Ranging) by analyzing swing highs/lows, and detects key occasions: BOS (development continuation) and CHoCH (potential development reversal). | |||
| Person Information : Sign Sorts, States, and Lifecycle | A sign is the system’s notification when it detects a qualifying candlestick sample on the chart. Every sign tells you the anticipated value course and supplies instructed entry, cease loss, and take revenue ranges. | |||
| 5 | SIGNAL FILTERS | Filters that refine and validate buying and selling indicators | ||
| Person Information: Commerce Route (Route Filter) within the Buying and selling System | Defines the allowed buying and selling course (Purchase solely, Promote solely, each, or neither) as the primary filter earlier than trying to find entry indicators, based mostly on present market development. | |||
| Person Information: Sign Zone Filter within the Buying and selling System | Eliminates indicators not close to essential value zones, retaining solely these linked to market constructions (swing excessive/low, BOS, CHoCH) to cut back noise. | |||
| Person Information: StoplossHunt Filter Person Information — Filtering “SL Sweep” Alerts | Identifies higher-probability indicators by checking whether or not value “swept stoploss” earlier than forming a sample. | |||
| Person Information : Excessive Zone Filter |
Excessive Zone Filter is a sign filtering characteristic that helps keep away from coming into trades when value is on the high or backside of a Donchian value channel. | |||
| Person Information: Reverse Sign Filter | The Reverse Sign Filter is an computerized characteristic that forestalls new indicators from showing when you have already got an energetic commerce working in the other way.The precept may be very easy: Do not buy whenever you’re promoting. Do not promote whenever you’re shopping for. | |||
| Person Information : High quality Filter Person Information | High quality Filter is a characteristic that helps you obtain solely the perfect indicators — value patterns fashioned clearly, with balanced proportions and excessive reliability — and reject weak indicators, boring patterns, and people beneath normal. | |||
| 6 | TRADE MANAGEMENT | |||
| Person Information : Threat/Reward & SL Technique Person Information | Threat/Reward (R:R) is the ratio between the sum of money you settle for shedding (Threat) and the sum of money you count on to realize (Reward) in a single commerce. | |||
| Person Information: Trailing Cease Loss (TSL) Person Information | Common Cease Loss (SL) stays mounted in a single place. You set SL at 1990.00, and it stays there without end — even when value has risen to 2030.00.Trailing Cease Loss (TSL) is completely different. It mechanically strikes in your favor when value advances. As value strikes up, TSL strikes up with it. When value stalls or reverses, TSL holds the perfect place it reached. | |||
| 7 | CONFIGURATION PARAMETERS GUIDE | Detailed information to every configuration parameter | ||
| SIGNAL SCANNING CONFIGURATION GUIDE – MIRAGE TRADING SYSTEM EA | Information to mastering sign scanning settings inside the Inputs tab, optimizing commerce discovery on a single chart or throughout the whole market. | |||
| 8 | ALERTS & NOTIFICATIONS | |||
| Person Information: Alerts & Notifications Person Information | Configure push notifications, and on-screen popups when new indicators are detected. | |||
| 9 | SYSTEM RISKS & LIMITATIONS | Notes on system dangers and limitations |
1. INTRODUCTION
Counterattack Buying and selling System
Hole Reversal at Matching Closes — 2-Bar Sentiment Shift Detection
Creator: Ich Khiem Nguyen | MQL5: https://www.mql5.com/en/customers/khiemni/vendor
What’s Counterattack Buying and selling System?
Counterattack Buying and selling System helps you notice Counterattack Line patterns in your MetaTrader 5 charts — mechanically. A Counterattack Line is a robust 2-bar hole reversal sign that happens when the market opens with a niche in opposition to the prevailing development, then closes at the very same stage because the prior bar’s shut. The indicator scans each candle pair, filters out weak setups, and reveals you solely the perfect buying and selling alternatives with clear entry factors, cease losses, and revenue targets already calculated. It really works on any market and any timeframe, providing you with extra time to focus in your buying and selling choices.
What Are Counterattack Patterns?
Counterattack Strains are reversal patterns that seem when market momentum shifts dramatically in a single bar. The defining attribute is a hole opening adopted by a shut that matches the earlier candle’s shut — proving the counterattacking aspect has absolutely absorbed the development’s momentum.
Bullish Counterattack (Bullish Reversal)
Seems on the backside of a downtrend. The primary candle is bearish, persevering with the promoting stress. The second candle opens with a niche DOWN (beneath the primary candle’s shut), exhibiting excessive bearish sentiment. However then patrons step in aggressively, pushing value all the way in which again as much as shut on the similar stage as the primary candle’s shut. This dramatic reversal from gap-down to matching-close proves that bulls have absolutely neutralized the bears.
Bearish Counterattack (Bearish Reversal)
Seems on the high of an uptrend. The primary candle is bullish, persevering with the shopping for stress. The second candle opens with a niche UP (above the primary candle’s shut), exhibiting excessive bullish sentiment. However then sellers step in aggressively, pushing value all the way in which again down to shut on the similar stage as the primary candle’s shut. This reveals that bears have fully absorbed the shopping for stress.
While you see these patterns forming close to essential help or resistance ranges, they turn into much more dependable indicators for potential development reversals.
How the Indicator Finds Patterns
The indicator scans your charts in real-time and checks every potential sample in opposition to a number of high quality necessities:
- Hole Detection — Checks that the second candle opens with a significant dislocation in opposition to the development course (at the very least 0.08x ATR — works on each gapped and steady markets)
- Shut Matching — Verifies each candles shut at roughly the identical value stage (inside 0.25x ATR tolerance)
- Physique Validation — Confirms each candles have substantial our bodies (at the very least 0.20x ATR every) — no doji or indecision bars
- Vary Verify — Not less than one candle should have vital vary (0.40x ATR minimal)
Solely patterns that cross all these checks seem in your chart, so you do not waste time on weak or invalid setups.
High quality Rating — How Good Is the Sample?
Each sample will get a high quality rating from 0% to 100%, like a grade on a check. This helps you give attention to the perfect buying and selling alternatives.
What the Rating Means
The indicator evaluates 6 components to calculate the rating. Crucial issue is shut match precision (25% weight) — tighter convergence between the 2 closes means a stronger sign. Hole dimension and course change every contribute 20%, rewarding bigger gaps and confirmed opposite-body candles. Relative physique dimension (15%) checks that each candles have balanced our bodies. Doji verify (10%) penalizes indecisive candles. Vary significance (10%) rewards candles with significant vary relative to volatility.
| Grade | Rating Vary | High quality Degree |
|---|---|---|
| A | 80-100% | Glorious — Finest indicators |
| B | 60-79% | Good — Dependable setups |
| C | 40-59% | Common — Wants affirmation |
| D | 20-39% | Under Common — Dangerous |
| F | 0-19% | Poor — Keep away from |
High quality Threshold Setting
By default, the indicator solely reveals patterns scoring 30% or greater. You’ll be able to regulate this within the settings:
- Elevate to 50-60%: See solely the perfect indicators (fewer however greater high quality)
- Decrease to twenty%: See extra indicators (extra frequent however blended high quality)
- Tip: Begin with the default 30% and regulate based mostly in your backtest outcomes
What You See on the Chart
When the indicator detects a Counterattack sample, it attracts all the things you should know instantly on the chart:
Sign Markers
- Arrow icons: Inexperienced up arrow for bullish counterattack, crimson down arrow for bearish counterattack
- High quality labels: Rating displayed subsequent to the sample (e.g., “Q:72%”)
Buying and selling Strains
- Entry line: Blue horizontal line on the pending entry stage (above sample excessive for purchase, beneath sample low for promote)
- Cease Loss line: Purple line on the reverse sample excessive plus ATR buffer
- Take Revenue strains: Inexperienced strains at TP1 (1R), TP2 (1.5R), TP3 (2R), TP4 (3R) with pip labels
Visible Zones
- Sample spotlight: Each candles coloured (inexperienced for bullish, crimson for bearish) with grey for cancelled indicators
- Zone fill: Shaded rectangles exhibiting threat zone (entry to SL) and reward zone (entry to TP4)
Sign Lifecycle
Alerts progress by way of completely different states, proven by altering colours and monitoring dots:
- Pending: Sample simply detected, ready for entry affirmation
- Triggered: Entry value reached, commerce is energetic
- Goal Hit: Value reached take revenue stage (sign turns inexperienced)
- Cease Hit: Value hit cease loss (sign turns crimson)
- Cancelled: Sign invalidated earlier than entry (sign disappears or grays out)
You’ll be able to watch your indicators evolve in real-time with out opening any menus or panels.
Settings You Can Alter
Listed below are the principle settings that management how the indicator finds and shows Counterattack patterns:
| Setting | What It Does | Default | When to Change It |
|---|---|---|---|
| ATR Interval for volatility | Controls the volatility measurement interval for all ATR-based thresholds | 14 | Improve to twenty for smoother readings on unstable markets |
| Min Hole (xATR, 0.08=8% dislocation) | Minimal hole/dislocation between candles required for detection | 0.08 | Improve to 0.20+ for shares with bigger gaps; default works for foreign exchange/XAUUSD |
| Shut Match Tolerance (xATR, 0.25=25%) | Most distance between each closes | 0.25 | Lower to 0.15 for precision; enhance to 0.30 for extra indicators |
| Min Physique/ATR (each candles, 0.20) | Each candles should have physique at the very least this dimension | 0.20 | Elevate to 0.30 for strict filtering; decrease to 0.15 for extra indicators |
| Min Vary/ATR (at the very least 1 bar, 0.40) | Not less than one candle wants this vary | 0.40 | Elevate to 0.60 for greater conviction; decrease for extra indicators |
| SL Buffer (xATR past sample excessive) | Further distance added to cease loss | 0.10 | Improve for unstable markets; lower for tight threat management |
| Entry Buffer (xATR for pending) | Distance past sample excessive for pending order | 0.05 | Hold small for fast fills; enhance to keep away from fakeouts |
| High quality Rating Filter (sample power) | Allow/disable high quality filter | ON | Hold enabled for finest outcomes |
| Min High quality (0.0-1.0, 0.30=relaxed) | Minimal high quality rating to point out sign | 0.30 | Elevate to 0.50 for fewer however higher indicators |
Settings Ideas
- Begin with all default settings — they’re pre-tuned for foreign exchange and XAUUSD (steady markets)
- On markets with pure gaps (shares, indices), enhance the hole threshold to 0.20+ ATR for higher-quality indicators
- The default hole threshold (0.08 ATR) detects session dislocations on foreign exchange/crypto the place true gaps are uncommon
- All the time backtest any setting adjustments earlier than utilizing them on a stay account
Finest Timeframes and Markets
Beneficial Timeframes
| Timeframe | Sign High quality | Sign Frequency | Finest For |
|---|---|---|---|
| D1 (Each day) | Highest | Low (2-5/month) | Swing merchants, finest hole high quality on shares/indices |
| H4 | Excessive | Average (5-10/month) | Intraday swing, good hole proxy on foreign exchange |
| H1 | Average | Average-Excessive | Energetic merchants, use with stricter high quality filter |
| W1 (Weekly) | Highest | Very Low (1-2/month) | Place merchants, strongest conviction indicators |
Finest Markets
- Inventory Indices (US30, NAS100, SPX500): Pure in a single day gaps make counterattack patterns extremely dependable on D1/W1
- Commodities (XAUUSD, Oil): Session gaps create real counterattack setups, particularly on H4 and D1
- Foreign exchange Majors (EURUSD, GBPUSD, USDJPY): Use ATR dislocation as hole proxy — works on H1, H4 with adjusted thresholds
- Cryptocurrency: 24/7 market however weekend gaps happen — efficient on D1 timeframe
The indicator works on any image and timeframe, however these combos have a tendency to provide essentially the most dependable indicators.
Getting Began — Fast Setup
Observe these steps to start out utilizing Counterattack Buying and selling System:
- Open MetaTrader 5 and cargo your most popular chart (we suggest beginning with a inventory index on D1 or XAUUSD on H4)
- Within the Navigator panel (Ctrl+N), develop “Indicators” and discover “CounterattackTradingSystem”
- Drag it onto your chart
- A settings window seems — click on OK to make use of the default settings (they’re pre-tuned for normal use)
- The indicator will scan historic bars and show any detected counterattack patterns
- Watch for brand spanking new indicators as bars full — the indicator will provide you with a warning mechanically
- Non-obligatory: Allow Push Notifications within the Alerts part for cell alerts
That is it! The indicator is now scanning your charts mechanically and can provide you with a warning when high-quality Counterattack patterns seem.
All Options at a Look
Sample-Particular Options
- Hole detection with ATR-scaled thresholds that adapt to market volatility
- Shut-match validation guaranteeing each candles converge on the similar value stage
- 6-factor weighted high quality scoring (hole, course, shut match, physique, doji, vary)
- Pending entry mode (Purchase Cease / Promote Cease) for breakout affirmation
- Sample-specific cease loss at candle extremes plus configurable ATR buffer
The next professional-grade options can be found throughout all our indicators:
| 3 | INTERFACE DISPLAY | Rationalization of the elements displayed on the chart | ||
| Person Information: Buying and selling Strains & Sign Monitoring System | The system mechanically attracts Entry, Cease Loss, and Take Revenue strains (TP 1–4) on the chart, tracks value motion for hits, information Win/Loss outcomes, and shows real-time efficiency statistics. | |||
| Person Information : Visualization, Zone Fill, Sign Dashboard & Cancelled Alerts | While you connect an indicator to a chart, the system renders the next visible elements for every detected sign | |||
| Person Information: MTF SCAN & Dashboard Person Information | MTF SCAN mechanically scans all Market Watch symbols throughout 8 timeframes (M1 to W1) and shows outcomes on a Dashboard grid instantly in your chart. | |||
| Person Information : Chart Theme Person Information | Chart Theme is a characteristic that adjustments the whole chart colour scheme in MetaTrader 5 — together with the background, candles, grid, textual content, and Bid/Ask strains — with a single click on. | |||
| 4 | CORE CONCEPTS | Elementary ideas that the system is constructed upon | ||
| Person Information: Market Construction Performance within the Buying and selling System | Identifies development course (Uptrend, Downtrend, Ranging) by analyzing swing highs/lows, and detects key occasions: BOS (development continuation) and CHoCH (potential development reversal). | |||
| Person Information : Sign Sorts, States, and Lifecycle | A sign is the system’s notification when it detects a qualifying candlestick sample on the chart. Every sign tells you the anticipated value course and supplies instructed entry, cease loss, and take revenue ranges. | |||
| 5 | SIGNAL FILTERS | Filters that refine and validate buying and selling indicators | ||
| Person Information: Commerce Route (Route Filter) within the Buying and selling System | Defines the allowed buying and selling course (Purchase solely, Promote solely, each, or neither) as the primary filter earlier than trying to find entry indicators, based mostly on present market development. | |||
| Person Information: Sign Zone Filter within the Buying and selling System | Eliminates indicators not close to essential value zones, retaining solely these linked to market constructions (swing excessive/low, BOS, CHoCH) to cut back noise. | |||
| Person Information: StoplossHunt Filter Person Information — Filtering “SL Sweep” Alerts | Identifies higher-probability indicators by checking whether or not value “swept stoploss” earlier than forming a sample. | |||
| Person Information : Excessive Zone Filter |
Excessive Zone Filter is a sign filtering characteristic that helps keep away from coming into trades when value is on the high or backside of a Donchian value channel. | |||
| Person Information: Reverse Sign Filter | The Reverse Sign Filter is an computerized characteristic that forestalls new indicators from showing when you have already got an energetic commerce working in the other way.The precept may be very easy: Do not buy whenever you’re promoting. Do not promote whenever you’re shopping for. | |||
| Person Information : High quality Filter Person Information | High quality Filter is a characteristic that helps you obtain solely the perfect indicators — value patterns fashioned clearly, with balanced proportions and excessive reliability — and reject weak indicators, boring patterns, and people beneath normal. | |||
| 6 | TRADE MANAGEMENT | |||
| Person Information : Threat/Reward & SL Technique Person Information | Threat/Reward (R:R) is the ratio between the sum of money you settle for shedding (Threat) and the sum of money you count on to realize (Reward) in a single commerce. | |||
| Person Information: Trailing Cease Loss (TSL) Person Information | Common Cease Loss (SL) stays mounted in a single place. You set SL at 1990.00, and it stays there without end — even when value has risen to 2030.00.Trailing Cease Loss (TSL) is completely different. It mechanically strikes in your favor when value advances. As value strikes up, TSL strikes up with it. When value stalls or reverses, TSL holds the perfect place it reached. | |||
| 7 | CONFIGURATION PARAMETERS GUIDE | Detailed information to every configuration parameter | ||
| SIGNAL SCANNING CONFIGURATION GUIDE – MIRAGE TRADING SYSTEM EA | Information to mastering sign scanning settings inside the Inputs tab, optimizing commerce discovery on a single chart or throughout the whole market. | |||
| 8 | ALERTS & NOTIFICATIONS | |||
| Person Information: Alerts & Notifications Person Information | Configure push notifications, and on-screen popups when new indicators are detected. |
Frequent Questions
Q: Why are counterattack indicators uncommon on foreign exchange charts?
The default settings (0.08 ATR hole threshold) are already optimized for foreign exchange and XAUUSD, detecting session dislocations as gap-equivalent strikes. If indicators are nonetheless uncommon in your particular pair, attempt reducing the Min Hole to 0.05 or growing Shut Match Tolerance to 0.30. Inventory indices and commodities naturally produce extra gaps and can generate extra frequent indicators.
Q: How is the Counterattack Line completely different from Engulfing patterns?
Each are 2-bar reversal patterns, however the mechanism is completely different. An Engulfing sample has the second candle’s physique fully engulfing the primary — exhibiting overwhelming power. A Counterattack Line has a niche opening adopted by an in depth that matches the primary bar’s shut — exhibiting absorption of momentum. The hole is the important thing differentiator.
Q: Why does the cease loss appear removed from entry?
The indicator locations the cease loss on the reverse excessive of the 2-bar sample plus an ATR buffer. Since counterattack patterns contain a niche, the general sample vary might be huge. You’ll be able to change to Donchian Channel or ATR-based cease loss within the Threat/Reward settings for probably tighter stops. All the time make sure the reward:threat ratio justifies the commerce.
Q: Can I take advantage of this on decrease timeframes like M15?
Sure, the default settings work on M15 and above. Decrease timeframes will detect extra dislocation-based indicators throughout session transitions (London/NY open). For finest outcomes, use H1 or above. If indicators are too frequent on M15, increase the standard threshold to 50%+ to filter out weak setups.
What’s New — Model 1.00
That is the v1.00 launch of Counterattack Buying and selling System. Key options embody:
- Computerized detection of Bullish and Bearish Counterattack Line patterns on all timeframes
- Hole detection with ATR-normalized thresholds for each gapped and steady markets
- Shut-match validation with configurable tolerance
- 6-factor high quality scoring from 0-100%
- Seven impartial filter methods to cut back false indicators
- Pending entry mode (Purchase Cease / Promote Cease) with configurable entry buffer
- Multi-timeframe scanner monitoring as much as 150 symbols throughout 8 timeframes
- Donchian Channel trailing cease with auto-activation
- Absolutely customizable alerts and notifications
- EA sign buffers for algorithmic buying and selling integration
- Theme help for gentle and darkish charts
Getting Assist
In case you have questions or want help:
I am dedicated to serving to you get essentially the most out of this indicator.
Able to Begin?
Counterattack Buying and selling System is designed to avoid wasting you time and assist you discover high-probability hole reversal patterns mechanically. Connect the indicator to your chart and begin with the default settings — you possibly can fine-tune all the things later as you get comfy with the way it works.
Comfortable buying and selling!
Ich Khiem Nguyen
Counterattack Buying and selling System v1.00 — Created 2026-02-22
