Counter attack Trading System

Counterattack Trading System — Gap Reversal at Matching Closes

Identifies 2-bar counterattack line formations by detecting a gap opening against the prevailing trend followed by a close that matches the prior candle's close. This gap-then-match structure signals that the opposing side has mounted a full counterattack, absorbing all trend momentum in a single bar. Each signal is evaluated by 6 weighted quality factors including gap magnitude, close-match precision, and candle significance.

This indicator detects Counterattack Line formations on any symbol and timeframe, draws automated Entry/SL/TP trading levels, and tracks signal performance in real-time. Includes a multi-timeframe scanner monitoring up to 150 symbols across 8 timeframes simultaneously.

--------MANUAL  --------

Introductory Pricing: This indicator is offered at introductory pricing that increases based on sales milestones. The current price is $49. After 10 sales, the price increases to $59. After 30 sales, it increases to $69. After 60 sales, the final price of $79 takes effect. All buyers receive the same full-featured indicator regardless of purchase price

Included Tools

Each Counterattack Trading System purchase includes access to the following companion tools at no additional cost:

  1. Smart Trend Consensus MT5 — Multi-timeframe trend agreement indicator. Displays trend direction across up to 7 timeframes on a single dashboard. Helps filter counterattack signals by confirming whether the gap reversal aligns with higher-timeframe structure. https://www.mql5.com/en/market/product/160553

  2. Price Volume Distribution MT5 — Volume profile and price distribution analysis. Identifies high-volume price zones where institutional orders cluster. Useful for confirming whether the close-match level coincides with a high-volume node. https://www.mql5.com/en/market/product/160452

  3. Counterattack Trading System EA — Automated signal execution based on indicator output buffers. Reads Entry/SL/TP levels from the indicator and places pending orders automatically. Configurable lot sizing, risk per trade, and session filters. (Delivered via MQL5 private message after purchase confirmation.)

Contact the author through MQL5 messaging after purchase to receive access to the companion tools.

How Counterattack Line Detection Works

The indicator scans for a 2-candle gap reversal structure:

  1. Setup Candle (Bar 1) — A candle continuing the existing trend. For bullish counterattack: a bearish candle pushing lower. For bearish counterattack: a bullish candle pushing higher.

  2. Gap Opening — The second candle opens with a measurable gap against the prior trend direction. Bullish: open gaps below the setup candle's close. Bearish: open gaps above the setup candle's close. The gap must be at least 0.15-0.50x ATR to confirm genuine dislocation.

  3. Close Matching — The second candle closes at approximately the same level as the first candle's close (within 0.15x ATR tolerance). This convergence demonstrates that the counterattacking side has fully neutralized the trend's progress.

  4. Body Validation — Both candles must have meaningful bodies (at least 0.30x ATR each), confirming genuine conviction rather than indecision. At least one candle must have significant range (0.60x ATR).

Entry is placed as a pending order (Buy Stop / Sell Stop) beyond the pattern extreme plus an ATR buffer. Stop Loss is set at the opposite pattern extreme or via Donchian Channel.

6-Factor Quality Scoring evaluates:

  • Gap size: larger gaps indicate stronger dislocation (weight 20%)
  • Direction change: confirms opposing candle bodies (weight 20%)
  • Close match precision: tighter convergence scores higher (weight 25%)
  • Relative body size: balanced body sizes between candles (weight 15%)
  • Doji check: penalizes indecisive candles (weight 10%)
  • Range significance: meaningful candle range relative to ATR (weight 10%)

Pattern-Specific Settings:

  • Min Gap (xATR, 0.20=20% of ATR)
  • Close Match Tolerance (xATR, 0.15=15%)
  • Min Body/ATR (both candles, 0.30)
  • Min Range/ATR (at least 1 bar, 0.60)
  • Require Trend Bars Before (0=disable)
  • SL Buffer (xATR beyond pattern extreme)
  • Entry Buffer (xATR for pending order)

Automated Trading Levels

Every detected pattern automatically draws Entry, Stop Loss, and up to 4 Take Profit levels (TP1-TP4) based on configurable Risk:Reward ratios. Price labels display pip distance and R:R ratio for each level.

Stop Loss methods:

  • Donchian Channel (structure-based, adapts to volatility)
  • ATR Multiplier (fixed distance based on Average True Range)
  • Pattern-specific (detector calculated SL from candle extremes)

Default R:R targets: TP1=1.0R, TP2=1.5R, TP3=2.0R, TP4=3.0R (all customizable, set to 0 to disable any level).

Live Signal Tracking

The indicator tracks each signal from detection through completion:

  • Pending: waiting for entry price to be hit
  • Active: entry hit, tracking toward TP or SL
  • Finished: TP or SL reached

A dotted tracking path shows the actual price movement after each signal. Profit/loss labels appear at hit points. Zone fill rectangles visualize risk and reward areas on the chart.

Donchian Channel Trailing Stop

An optional trailing stop system that automatically adjusts the stop loss as price moves favorably:

  • Uses the Donchian Channel (lowest low / highest high over N bars)
  • Activates after price reaches a configurable R:R threshold
  • Locks at breakeven when TP1 is hit
  • Visual color changes: orange (trailing buy), yellow (trailing sell), green (locked at breakeven)

Multi-Timeframe Scanner (150 Symbols x 8 Timeframes)

Monitor patterns across the entire market from a single chart:

  • Scans up to 150 symbols from your Market Watch
  • Checks 8 timeframes: M1, M5, M15, M30, H1, H4, D1, W1
  • Live dashboard panel shows detected signals with quality scores
  • Configurable batch scanning to control CPU usage
  • Independent alert system for scanner-detected signals

Scanner can operate in two modes:

  • Current Symbol MTF: scans only the chart symbol across all timeframes
  • Full Market Scan: scans all Market Watch symbols across selected timeframes

Market Structure Analysis (BOS / CHOCH)

Built-in Break of Structure and Change of Character detection:

  • Identifies swing highs and lows using fractal analysis
  • Labels swing sequences: HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low)
  • Detects BOS (trend continuation) and CHOCH (trend reversal) events
  • Configurable timeframe and sensitivity
  • Visual lines and labels on chart

Multi-Layer Signal Filtering

Seven independent filters to reduce noise and increase signal quality:

  1. Quality Filter — Reject weak patterns below a configurable quality threshold
  2. Extreme Zone Filter — Block signals near overbought/oversold zones using Donchian Channel position
  3. Direction Filter — Only allow signals aligned with market structure trend
  4. Stop Hunt Filter — Validate signals originating from liquidity sweeps of prior swing levels
  5. Signal Zone Filter — Require signals near meaningful BOS/CHOCH events
  6. Spacing Filter — Enforce minimum bar distance between consecutive signals
  7. Opposite Signal Filter — Prevent conflicting buy/sell signals simultaneously

Each filter can be enabled/disabled independently.

4-Channel Alert System

Never miss a signal with multi-channel notifications:

  • Desktop Popup Alert (MT5 Alert dialog)
  • Sound Alert (customizable sound file)
  • Mobile Push Notification (MT5 mobile app)
  • Configurable for Entry hits, TP hits, and SL hits separately

Anti-spam: once-per-signal deduplication with configurable cooldown period.

Signal Statistics Dashboard

A draggable panel displaying real-time performance metrics:

  • Total signals detected
  • Win/Loss count and Win Rate percentage
  • Active vs completed signal counts
  • Customizable position, font size, and row height

Professional Chart Themes

Built-in color schemes for comfortable chart reading:

  • Dark Muted (default) — reduced eye strain
  • Dark — high contrast
  • Light — bright background
  • Custom — full color control for every chart element

Original chart colors automatically restored when indicator is removed.

EA Signal Buffers

Indicator outputs are available as data buffers for Expert Advisors:

  • Buffer 0: Signal direction (1=Buy, -1=Sell)
  • Buffer 1: Entry price
  • Buffer 2: Stop Loss price
  • Buffer 3-6: TP1-TP4 prices
  • Buffer 7: Quality score

Connect your EA to read these buffers for automated trade execution.

Recommended Settings

  • Timeframes: H1, H4, D1 (gap-based patterns are more reliable on higher timeframes where genuine gaps occur)
  • Symbols: Works on all markets. Particularly effective on stocks, indices, and commodities with natural overnight gaps. Forex and crypto work with ATR-based dislocation thresholds
  • Account type: Any (demo or live)
  • Minimum bars on chart: 500+ for reliable market structure analysis

Installation

  1. Download and place in your Indicators folder
  2. Drag onto any chart
  3. Enable "Allow notifications" in MT5 if using push alerts
  4. Adjust Quality Score threshold to control signal frequency (lower = more signals, higher = fewer but stronger signals)

Notes

  • This indicator does NOT repaint — signals are confirmed on bar close only
  • All calculations use completed bars (bar index 1+) for stability
  • Scanner operates asynchronously to prevent chart lag
  • Memory-optimized for 24/7 continuous operation

Documentation and User Guides

Detailed guides for each feature are available on the MQL5 Blog:

All guides include parameter explanations, chart examples, and recommended settings for each feature.

Support

  • Product comments section on this page
  • Direct message to the author via MQL5
  • Response time: within 24 hours

Plus de l'auteur
Chaque jour, de nombreux traders font face à un défi courant : le prix semble casser un niveau clé, ils entrent en position, puis le marché se retourne, déclenchant leur stop loss. C'est ce qu'on appelle une fausse cassure (false breakout) — un mouvement de prix qui dépasse brièvement un niveau de support ou de résistance avant de changer de direction. Ces mouvements peuvent entraîner le déclenchement des stop loss avant que la direction réelle du prix ne devienne claire. En analyse technique, c
Outil d'Analyse de Tendance Multi-Temporelle Vous voulez suivre les tendances sur plusieurs unités de temps sans changer constamment de graphiques ? Smart Trend Consensus MT5   est un outil d'analyse technique qui consolide les données de   7 unités de temps simultanément   (M1, M5, M15, M30, H1, H4, D1). L'indicateur utilise   7 critères techniques   pour évaluer l'état de la tendance sur chaque unité de temps et affiche toutes les informations sur un tableau de bord visuel. Un outil d'analyse
Price Volume Distribution Indicateur Volume Profile analysant la distribution du volume de trading par niveau de prix. Affiche POC, Value Area, pics de volume et filtrage de signaux base sur les zones pour MT5. Apercu Price Volume Distribution est un indicateur d'analyse de volume pour MetaTrader 5. Il calcule et affiche la distribution du volume sur les niveaux de prix en utilisant les donnees du timeframe M1, fournissant une representation visuelle par des barres d'histogramme et des lignes
VISUAL ATR CANDLESTICK SCANNER PRO - Reconnaissance de Modèles Améliorée Le Visual ATR Candlestick Scanner Pro est un indicateur conçu pour identifier et filtrer automatiquement les modèles de chandeliers courants, offrant une vue plus claire des potentiels retournements ou continuations du marché. I. Caractéristiques Clés et Fonctionnalité 1. Reconnaissance Automatisée des Modèles de Chandeliers L'indicateur reconnaît automatiquement plus de 25 modèles de chandeliers professionnels, classés en
ChartStyler applique des schémas de couleurs à vos graphiques MetaTrader 5. Choisissez parmi des thèmes prédéfinis ou créez votre propre palette de couleurs personnalisée. === CARACTÉRISTIQUES === Thèmes Prédéfinis : Dark : Thème sombre moderne avec des bougies vertes/rouges sur fond sombre Dark Muted : Couleurs de bougies atténuées pour la compatibilité avec les indicateurs de figures (patterns) Light : Fond blanc propre avec une visibilité claire des bougies Mode Thème Personnalisé : Couleur d
Star Trading System — Morning Star and Evening Star Reversal A 3-candle reversal formation where the market shifts from momentum to indecision and back — that is the Morning Star and Evening Star pattern. The first candle shows strong directional force. The second candle gaps into a small-body "star" signaling exhaustion. The third candle drives back in the opposite direction, confirming the reversal. Star Trading System detects both Morning Star (bullish reversal) and Evening Star (bearish reve
Three Soldiers Trading System — Momentum Continuation Pattern Detection A sequence of three consecutive strong-bodied candles moving in the same direction — that is the Three White Soldiers (bullish) and Three Black Crows (bearish) pattern. Each candle builds upon the prior, showing progressive higher closes (soldiers) or lower closes (crows), clean bodies with minimal shadows, and consistent body sizes. This 3-bar formation signals sustained directional conviction, not a single-candle spike.Thr
Three Inside Trading System — Harami Reversal Pattern Detection A large directional candle followed by a smaller inside candle whose body is fully contained within the mother body, then a third candle that confirms the reversal by closing beyond the mother's open — that is the Three Inside Up (bullish) and Three Inside Down (bearish) pattern. The inside bar creates a classic harami structure showing indecision, while the confirmation candle validates the direction change. This 3-bar formation si
Three Methods Trading System — Continuation Pattern Detection A five-candle continuation pattern: one tall directional candle establishes a strong trend, three small consolidation candles pause the movement while staying within the first candle's range, and a fifth breakout candle closes beyond the first candle's extreme to confirm the trend resumes. This 5-bar formation signals not a trend reversal, but a trend pause followed by continuation in the original direction. Three Methods Trading Syst
Three Outside Trading System — Engulfing Reversal Confirmation Pattern Detection A small setup candle followed by a larger engulfing candle whose body fully contains the setup body, then a third candle that confirms the reversal by closing beyond the engulfing close — that is the Three Outside Up (bullish) and Three Outside Down (bearish) pattern. The engulfing candle creates a dramatic power shift showing new direction dominance, while the confirmation candle validates sustained momentum. This
Separating Lines Trading System — Trend Continuation at the Open Identifies 2-bar continuation formations where the signal candle opens at exactly the same price as the prior setup candle's open, then moves in the direction of the prevailing trend. The shared open price is the defining structural condition: it signals that despite a temporary counter-move, the market returns to the same reference point and then resumes directional pressure. Each detected signal is evaluated by a 5-factor quality
Above the Stomach Trading System — Two-Bar Reversal Detection Identifies 2-bar reversal formations where the signal candle opens at or above the midpoint of the prior candle's body and closes above that candle's open, confirming a shift in momentum. Covers both the bullish variant (Above the Stomach) and the bearish variant (Below the Stomach). Each signal is evaluated by a 5-factor quality scoring model that measures candle geometry, penetration depth, and close position. This indicator detects
Engulfing Trading System — Power Reversal in Two Bars Detects 2-bar reversal patterns where the engulfing candle's body completely wraps the prior setup candle's body. Covers both Bullish Engulfing (bottom reversal after downtrend) and Bearish Engulfing (top reversal after uptrend). Each signal is scored by 4 weighted quality factors: engulf ratio, body/ATR significance, close position, and trend context. This indicator identifies Engulfing formations on any symbol and timeframe, draws automated
Line Strike Trading System — Three Candles Build, One Strike Reverses Detects 4-bar Three Line Strike patterns where three consecutive trend candles form an ascending or descending staircase, followed by a single engulfing strike candle that reverses the entire structure. Covers both Bullish Three Line Strike (3 bull ascending + bear strike) and Bearish Three Line Strike (3 bear descending + bull strike). Each signal is scored by 4 weighted quality factors: stair-step consistency, engulf strengt
Tweezer Trading System — 2-Bar Reversal Pattern Detection for MT5 Identifies two-candle reversal structures where a setup bar and a signal bar share a matching high or matching low, measured with ATR-scaled tolerance. The matching extreme signals that price was rejected from the same level on back-to-back bars, indicating a shift in directional pressure. Each detected signal is scored by 6 weighted quality factors covering direction change, overlap, close position, CLV, range size, and doji char
Filtrer:
Aucun avis
Répondre à l'avis