| 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 | Clarification of the elements displayed on the chart | ||
| Person Information: Buying and selling Traces & Sign Monitoring System | The system routinely attracts Entry, Cease Loss, and Take Revenue traces (TP 1–4) on the chart, tracks value motion for hits, data Win/Loss outcomes, and shows real-time efficiency statistics. | |||
| Person Information : Visualization, Zone Fill, Sign Dashboard & Cancelled Indicators | If 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 routinely scans all Market Watch symbols throughout 8 timeframes (M1 to W1) and shows outcomes on a Dashboard grid straight in your chart. | |||
| Person Information : Chart Theme Person Information | Chart Theme is a function that modifications all the chart shade scheme in MetaTrader 5 — together with the background, candles, grid, textual content, and Bid/Ask traces — 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 path (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 path and supplies urged 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 path (Purchase solely, Promote solely, each, or neither) as the primary filter earlier than looking for entry indicators, primarily based 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 buildings (swing excessive/low, BOS, CHoCH) to scale back noise. | |||
| Person Information: StoplossHunt Filter Person Information — Filtering “SL Sweep” Indicators | 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 function that helps keep away from getting 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 function that stops new indicators from showing when you have already got an lively commerce working in the wrong way.The precept may be very easy: Do not buy if you’re promoting. Do not promote if you’re shopping for. | |||
| Person Information : High quality Filter Person Information | High quality Filter is a function that helps you obtain solely the very best indicators — value patterns fashioned clearly, with balanced proportions and excessive reliability — and reject weak indicators, uninteresting patterns, and people under commonplace. | |||
| 6 | TRADE MANAGEMENT | |||
| Person Information : Threat/Reward & SL Methodology Person Information | Threat/Reward (R:R) is the ratio between the amount of cash you settle for dropping (Threat) and the amount of cash you count on to achieve (Reward) in a single commerce. | |||
| Person Information: Trailing Cease Loss (TSL) Person Information | Common Cease Loss (SL) stays fastened in a single place. You set SL at 1990.00, and it stays there eternally — even when value has risen to 2030.00.Trailing Cease Loss (TSL) is totally different. It routinely strikes in your favor when value advances. As value strikes up, TSL strikes up with it. When value stalls or reverses, TSL holds the very best 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 all the 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 see Counterattack Line patterns in your MetaTrader 5 charts — routinely. A Counterattack Line is a robust 2-bar hole reversal sign that happens when the market opens with a spot towards the prevailing development, then closes at the very same degree because the prior bar’s shut. The indicator scans each candle pair, filters out weak setups, and reveals you solely the very best 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 selections.
What Are Counterattack Patterns?
Counterattack Traces 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 spot DOWN (under the primary candle’s shut), exhibiting excessive bearish sentiment. However then consumers step in aggressively, pushing value all the best way again as much as shut on the similar degree 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 spot UP (above the primary candle’s shut), exhibiting excessive bullish sentiment. However then sellers step in aggressively, pushing value all the best way again down to shut on the similar degree as the primary candle’s shut. This reveals that bears have utterly absorbed the shopping for stress.
If you see these patterns forming close to essential assist or resistance ranges, they develop 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 towards a number of high quality necessities:
- Hole Detection — Checks that the second candle opens with a significant dislocation towards the development path (no less than 0.08x ATR — works on each gapped and steady markets)
- Shut Matching — Verifies each candles shut at roughly the identical value degree (inside 0.25x ATR tolerance)
- Physique Validation — Confirms each candles have substantial our bodies (no less than 0.20x ATR every) — no doji or indecision bars
- Vary Examine — At the least one candle should have important vary (0.40x ATR minimal)
Solely patterns that go 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 concentrate on the very best buying and selling alternatives.
What the Rating Means
The indicator evaluates 6 elements 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 path 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% | Wonderful — 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 larger. You possibly can modify this within the settings:
- Increase to 50-60%: See solely the very best indicators (fewer however larger high quality)
- Decrease to twenty%: See extra indicators (extra frequent however combined high quality)
- Tip: Begin with the default 30% and modify primarily based in your backtest outcomes
What You See on the Chart
When the indicator detects a Counterattack sample, it attracts every thing it’s worthwhile to know straight 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 Traces
- Entry line: Blue horizontal line on the pending entry degree (above sample excessive for purchase, under sample low for promote)
- Cease Loss line: Pink line on the reverse sample excessive plus ATR buffer
- Take Revenue traces: Inexperienced traces 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 danger zone (entry to SL) and reward zone (entry to TP4)
Sign Lifecycle
Indicators progress via totally different states, proven by altering colours and monitoring dots:
- Pending: Sample simply detected, ready for entry affirmation
- Triggered: Entry value reached, commerce is lively
- Goal Hit: Worth reached take revenue degree (sign turns inexperienced)
- Cease Hit: Worth hit cease loss (sign turns crimson)
- Cancelled: Sign invalidated earlier than entry (sign disappears or grays out)
You possibly can watch your indicators evolve in real-time with out opening any menus or panels.
Settings You Can Alter
Listed here are the primary 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 | Enhance to twenty for smoother readings on risky markets |
| Min Hole (xATR, 0.08=8% dislocation) | Minimal hole/dislocation between candles required for detection | 0.08 | Enhance 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 no less than this dimension | 0.20 | Increase to 0.30 for strict filtering; decrease to 0.15 for extra indicators |
| Min Vary/ATR (no less than 1 bar, 0.40) | At the least one candle wants this vary | 0.40 | Increase to 0.60 for larger conviction; decrease for extra indicators |
| SL Buffer (xATR past sample excessive) | Further distance added to cease loss | 0.10 | Enhance for risky markets; lower for tight danger management |
| Entry Buffer (xATR for pending) | Distance past sample excessive for pending order | 0.05 | Preserve small for fast fills; enhance to keep away from fakeouts |
| High quality Rating Filter (sample energy) | Allow/disable high quality filter | ON | Preserve enabled for finest outcomes |
| Min High quality (0.0-1.0, 0.30=relaxed) | Minimal high quality rating to indicate sign | 0.30 | Increase to 0.50 for fewer however higher indicators |
Settings Suggestions
- 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
- At all times backtest any setting modifications earlier than utilizing them on a reside 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 | Lively 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 probably the most dependable indicators.
Getting Began — Fast Setup
Observe these steps to begin utilizing Counterattack Buying and selling System:
- Open MetaTrader 5 and cargo your most well-liked chart (we suggest beginning with a inventory index on D1 or XAUUSD on H4)
- Within the Navigator panel (Ctrl+N), increase “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 common use)
- The indicator will scan historic bars and show any detected counterattack patterns
- Watch for brand new indicators as bars full — the indicator will provide you with a warning routinely
- Non-compulsory: Allow Push Notifications within the Alerts part for cell alerts
That is it! The indicator is now scanning your charts routinely 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 making certain each candles converge on the similar value degree
- 6-factor weighted high quality scoring (hole, path, 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 | Clarification of the elements displayed on the chart | ||
| Person Information: Buying and selling Traces & Sign Monitoring System | The system routinely attracts Entry, Cease Loss, and Take Revenue traces (TP 1–4) on the chart, tracks value motion for hits, data Win/Loss outcomes, and shows real-time efficiency statistics. | |||
| Person Information : Visualization, Zone Fill, Sign Dashboard & Cancelled Indicators | If 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 routinely scans all Market Watch symbols throughout 8 timeframes (M1 to W1) and shows outcomes on a Dashboard grid straight in your chart. | |||
| Person Information : Chart Theme Person Information | Chart Theme is a function that modifications all the chart shade scheme in MetaTrader 5 — together with the background, candles, grid, textual content, and Bid/Ask traces — 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 path (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 path and supplies urged 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 path (Purchase solely, Promote solely, each, or neither) as the primary filter earlier than looking for entry indicators, primarily based 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 buildings (swing excessive/low, BOS, CHoCH) to scale back noise. | |||
| Person Information: StoplossHunt Filter Person Information — Filtering “SL Sweep” Indicators | 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 function that helps keep away from getting 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 function that stops new indicators from showing when you have already got an lively commerce working in the wrong way.The precept may be very easy: Do not buy if you’re promoting. Do not promote if you’re shopping for. | |||
| Person Information : High quality Filter Person Information | High quality Filter is a function that helps you obtain solely the very best indicators — value patterns fashioned clearly, with balanced proportions and excessive reliability — and reject weak indicators, uninteresting patterns, and people under commonplace. | |||
| 6 | TRADE MANAGEMENT | |||
| Person Information : Threat/Reward & SL Methodology Person Information | Threat/Reward (R:R) is the ratio between the amount of cash you settle for dropping (Threat) and the amount of cash you count on to achieve (Reward) in a single commerce. | |||
| Person Information: Trailing Cease Loss (TSL) Person Information | Common Cease Loss (SL) stays fastened in a single place. You set SL at 1990.00, and it stays there eternally — even when value has risen to 2030.00.Trailing Cease Loss (TSL) is totally different. It routinely strikes in your favor when value advances. As value strikes up, TSL strikes up with it. When value stalls or reverses, TSL holds the very best 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 all the market. | |||
| 8 | ALERTS & NOTIFICATIONS | |||
| Person Information: Alerts & Notifications Person Information | Configure push notifications, and on-screen popups when new indicators are detected. |
Widespread 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, strive 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 totally different from Engulfing patterns?
Each are 2-bar reversal patterns, however the mechanism is totally different. An Engulfing sample has the second candle’s physique utterly engulfing the primary — exhibiting overwhelming pressure. A Counterattack Line has a spot opening adopted by a detailed 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 spot, the general sample vary may be broad. You possibly can change to Donchian Channel or ATR-based cease loss within the Threat/Reward settings for doubtlessly tighter stops. At all times make sure the reward:danger ratio justifies the commerce.
Q: Can I exploit 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, elevate 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 programs to scale 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 assist for mild and darkish charts
Getting Assist
If in case you have questions or want assist:
I am dedicated to serving to you get probably the most out of this indicator.
Able to Begin?
Counterattack Buying and selling System is designed to avoid wasting you time and enable you to discover high-probability hole reversal patterns routinely. Connect the indicator to your chart and begin with the default settings — you possibly can fine-tune every thing later as you get snug with the way it works.
Comfortable buying and selling!
Ich Khiem Nguyen
Counterattack Buying and selling System v1.00 — Created 2026-02-22
