HomeSample Page

Sample Page Title


PARTPartDescription
1INTRODUCTIONProduct introduction, what the product helps you with
   
2INSTALLATION & SETUPSystem necessities, step-by-step set up information
Information to Putting in Free Indicators and EAs Included with the Mirage Buying and selling System Buy
3INTERFACE DISPLAYClarification of the elements displayed on the chart
 Person Information: Buying and selling Traces & Sign Monitoring SystemThe 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.
4CORE CONCEPTSElementary ideas that the system is constructed upon
 Person Information: Market Construction Performance within the Buying and selling SystemIdentifies 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.
5SIGNAL FILTERSFilters that refine and validate buying and selling indicators
 Person Information: Commerce Route (Route Filter) within the Buying and selling SystemDefines 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 SystemEliminates 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” IndicatorsIdentifies 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 InformationThreat/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 InformationCommon 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.
7CONFIGURATION PARAMETERS GUIDEDetailed 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.
 9SYSTEM 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:

  1. 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)
  2. Shut Matching — Verifies each candles shut at roughly the identical value degree (inside 0.25x ATR tolerance)
  3. Physique Validation — Confirms each candles have substantial our bodies (no less than 0.20x ATR every) — no doji or indecision bars
  4. 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.

GradeRating VaryHigh quality Degree
A80-100%Wonderful — Finest indicators
B60-79%Good — Dependable setups
C40-59%Common — Wants affirmation
D20-39%Under Common — Dangerous
F0-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:


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

Buying and selling Traces

Visible Zones

Sign Lifecycle

Indicators progress via totally different states, proven by altering colours and monitoring dots:

  1. Pending: Sample simply detected, ready for entry affirmation
  2. Triggered: Entry value reached, commerce is lively
  3. Goal Hit: Worth reached take revenue degree (sign turns inexperienced)
  4. Cease Hit: Worth hit cease loss (sign turns crimson)
  5. 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:

SettingWhat It DoesDefaultWhen to Change It
ATR Interval for volatilityControls the volatility measurement interval for all ATR-based thresholds14Enhance to twenty for smoother readings on risky markets
Min Hole (xATR, 0.08=8% dislocation)Minimal hole/dislocation between candles required for detection0.08Enhance 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 closes0.25Lower 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 dimension0.20Increase 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 vary0.40Increase to 0.60 for larger conviction; decrease for extra indicators
SL Buffer (xATR past sample excessive)Further distance added to cease loss0.10Enhance for risky markets; lower for tight danger management
Entry Buffer (xATR for pending)Distance past sample excessive for pending order0.05Preserve small for fast fills; enhance to keep away from fakeouts
High quality Rating Filter (sample energy)Allow/disable high quality filterONPreserve enabled for finest outcomes
Min High quality (0.0-1.0, 0.30=relaxed)Minimal high quality rating to indicate sign0.30Increase to 0.50 for fewer however higher indicators

Settings Suggestions


Finest Timeframes and Markets

TimeframeSign High qualitySign FrequencyFinest For
D1 (Each day)HighestLow (2-5/month)Swing merchants, finest hole high quality on shares/indices
H4ExcessiveAverage (5-10/month)Intraday swing, good hole proxy on foreign exchange
H1AverageAverage-ExcessiveLively merchants, use with stricter high quality filter
W1 (Weekly)HighestVery Low (1-2/month)Place merchants, strongest conviction indicators

Finest Markets

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:

  1. Open MetaTrader 5 and cargo your most well-liked chart (we suggest beginning with a inventory index on D1 or XAUUSD on H4)
  2. Within the Navigator panel (Ctrl+N), increase “Indicators” and discover “CounterattackTradingSystem”
  3. Drag it onto your chart
  4. A settings window seems — click on OK to make use of the default settings (they’re pre-tuned for common use)
  5. The indicator will scan historic bars and show any detected counterattack patterns
  6. Watch for brand new indicators as bars full — the indicator will provide you with a warning routinely
  7. 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

The next professional-grade options can be found throughout all our indicators:

3INTERFACE DISPLAYClarification of the elements displayed on the chart
 Person Information: Buying and selling Traces & Sign Monitoring SystemThe 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.
4CORE CONCEPTSElementary ideas that the system is constructed upon
 Person Information: Market Construction Performance within the Buying and selling SystemIdentifies 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.
5SIGNAL FILTERSFilters that refine and validate buying and selling indicators
 Person Information: Commerce Route (Route Filter) within the Buying and selling SystemDefines 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 SystemEliminates 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” IndicatorsIdentifies 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 InformationThreat/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 InformationCommon 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.
7CONFIGURATION PARAMETERS GUIDEDetailed 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:


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

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles