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 parts displayed on the chart
 Person Information: Buying and selling Strains & Sign Monitoring SystemThe 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 Indicators While you connect an indicator to a chart, the system renders the next visible parts 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 function that adjustments the complete chart colour scheme in MetaTrader 5 — together with the background, candles, grid, textual content, and Bid/Ask strains — with a single click on.
4CORE CONCEPTSBasic 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 gives prompt 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 vital value zones, retaining solely these related 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 automated function that stops new indicators from showing when you have already got an lively commerce operating in the wrong way.The precept could 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 perfect indicators — value patterns shaped clearly, with balanced proportions and excessive reliability — and reject weak indicators, boring patterns, and people under commonplace.
 6 TRADE MANAGEMENT 
 Person Information : Threat/Reward & SL Technique 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 realize (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 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.
7CONFIGURATION PARAMETERS GUIDEDetailed information to every configuration parameter
  SIGNAL SCANNING CONFIGURATION GUIDE – MIRAGE TRADING SYSTEM EA Information to mastering sign scanning settings throughout the Inputs tab, optimizing commerce discovery on a single chart or throughout the complete 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

HammerTradingSystem 1.00

Bullish Reversal and Bearish Warning at Pattern Turning Factors

Writer: Ich Khiem Nguyen | MQL5: https://www.mql5.com/en/customers/khiemni/vendor

What’s HammerTradingSystem?

HammerTradingSystem detects Hammer and Hanging Man candlestick patterns in your MetaTrader 5 charts mechanically. The indicator checks each accomplished bar, evaluates it towards six structural gates, scores surviving patterns with a weighted high quality system, and shows solely the setups that clear your minimal high quality threshold. Entry ranges, cease losses, and take revenue targets are drawn instantly on the chart so you’ll be able to concentrate on the commerce determination quite than the calculation.


What Are Hammer and Hanging Man Patterns?

The Hammer and Hanging Man share the identical single-candle form: a small physique sitting close to the highest of the candle vary, a protracted decrease shadow extending effectively under the physique, and little to no higher shadow. The distinction between them is context — the place in a development this form seems determines which sign it sends.

Bullish Hammer (Reversal Sign)

Seems after a downtrend. Sellers push value sharply decrease throughout the session, however patrons step in and drive the shut again up close to the open, leaving a protracted decrease shadow as proof of rejected promoting stress. When this form types after at the very least two declining bars, the indicator classifies it as a Hammer — a possible bullish reversal sign. The longer the decrease shadow relative to the candle vary, the stronger the customer dedication implied by the sample.

Bearish Hanging Man (Warning Sign)

The identical form showing after an uptrend tells a unique story. Worth has been rising, and the lengthy decrease shadow exhibits that sellers tried to push value down throughout the session — patrons recovered by the shut, however the try itself is a warning. Bulkowski’s analysis locations the Hanging Man at rank 87 out of 103 patterns with a 59% continuation fee, that means it extra typically continues the uptrend than reverses it. HammerTradingSystem treats it as a bearish warning quite than a confirmed reversal, getting into through Promote Cease solely after value breaks under the sample low.

Pattern Context Detection

The indicator examines the three bars instantly earlier than every candidate candle. If at the very least two of these three bars are declining (decrease closes), the sample is classed as a Hammer. If at the very least two of the three are rising (increased closes), it turns into a Hanging Man. When the context is ambiguous — neither development reaching the two-bar threshold — the indicator defaults to Hammer classification, reflecting the sample’s extra widespread bullish software.


How the Indicator Finds Patterns

The indicator evaluates every accomplished bar towards six sequential gates. All six should go for a sign to be generated.

  1. Decrease shadow gate: The decrease shadow should occupy at the very least the minimal required fraction of the full candle vary (Normal: 35%, Strict: 45%). This confirms that significant promoting stress was rejected throughout the session.

  2. Physique place gate: The midpoint of the physique should sit at or above the minimal place threshold throughout the candle vary (Normal: 50%, Strict: 60%). A physique clustered close to the high quality is the defining attribute of the Hammer form.

  3. Higher shadow gate: The higher shadow should stay under the utmost allowed ratio of whole vary (Normal: 15%, Strict: 10%). A big higher shadow would point out purchaser rejection from above, which conflicts with the bullish reversal story.

  4. Vary significance gate: The whole candle vary should equal or exceed the minimal a number of of ATR (Normal: 0.40×, Strict: 0.50×). This rejects tiny candles that type throughout low-volatility consolidation and carry little structural that means.

  5. Shadow-to-body ratio gate: The decrease shadow have to be at the very least twice the physique peak (Nison criterion). This ensures the lengthy decrease shadow isn’t merely a end result of a big physique quite than real rejection.

  6. Doji exclusion gate: The physique have to be at the very least 0.02× ATR. A near-zero physique would make this a Dragonfly Doji quite than a Hammer — the 2 patterns are structurally associated however analytically distinct.

Solely candles passing all six gates proceed to high quality scoring and sign registration.


High quality Rating — Evaluating Sample Energy

Each sample that clears detection receives a high quality rating between 0.00 and 1.00. Six elements contribute to this rating, every weighted by its significance to the sample’s structural integrity.

High quality Components

IssueWeightWhat It MeasuresIdeally suited Vary
QF-1: Decrease Shadow Ratio0.35Proportion of candle vary occupied by decrease shadow[0.55, 0.90]
QF-2: Physique Place0.25How excessive the physique midpoint sits throughout the vary[0.60, 1.00]
QF-3: Higher Shadow (inverted)0.15Absence of higher shadow — decrease is best[0.60, 1.00]
QF-4: Vary/ATR0.10Candle dimension relative to latest volatility[0.50, 2.00]
QF-5: Shut vs Prior Vary (inverted)0.10Shut place inside earlier candle’s vary[0.60, 1.00]
QF-6: Relative Vary0.05This candle’s vary in comparison with earlier candle[0.80, 2.50]

QF-3 and QF-5 are inverted elements: for QF-3, a smaller higher shadow produces a better rating; for QF-5, a detailed within the decrease portion of the earlier candle’s vary (indicating downtrend context) produces a better rating.

Rating Grades

High quality Threshold

The default minimal high quality is 0.30. You possibly can elevate this to filter for higher-conviction setups:


What You See on the Chart

When a Hammer or Hanging Man sample is detected and passes all filters, the indicator attracts the next parts:

Sign Markers

Buying and selling Strains

Visible Zones

Sign Lifecycle

  1. Pending: Sample detected, pending order not but triggered
  2. Triggered: Entry value reached, commerce is lively
  3. Goal Hit: Worth reached a take revenue stage
  4. Cease Hit: Worth reached the cease loss
  5. Cancelled: Sign invalidated earlier than entry (reversed path or bar closed towards)

Settings You Can Regulate

Detection Parameters

SettingWhat It DoesDefaultWhen to Change
ATR Interval for volatilityBars used to calculate ATR, which normalizes all range-based thresholds to present volatility14Enhance to twenty+ for smoother measurement on noisy markets
Max Bars to Scan (historical past depth)Historic bars scanned on first load to show previous patterns3000Enhance for extra historical past on increased timeframes
Min Bars Between PatternsMinimal hole between two consecutive indicators, stopping overlapping setups on the identical transfer5Enhance to 7-10 if indicators cluster; lower to three for extra frequent indicators
Detection PresetSwitches between Normal (relaxed thresholds), Strict (tighter thresholds), and Customized (user-defined)PRESET_STANDARDUse Strict for higher-conviction setups; Customized to tune particular person parameters
High quality Rating Filter (sample energy)Permits the standard filter — solely patterns at or above InpMinQuality seemtrueMaintain enabled for dwell buying and selling; disable just for analysis
Min High quality (0.0-1.0, 0.30=relaxed)Minimal high quality rating a sample should obtain to show0.30Elevate to 0.50+ for fewer however stronger indicators

Detection Preset Values

ParameterSTANDARDSTRICT
Min Decrease Shadow Ratio0.350.45
Min Physique Place0.500.60
Max Higher Shadow Ratio0.150.10
Min Vary/ATR0.400.50

Customized Threshold Parameters

SettingWhat It DoesDefaultWhen to Change
[Custom] Min Decrease Shadow Ratio (Std=0.35, Strict=0.45)Minimal decrease shadow as a fraction of whole vary0.35Enhance to 0.50+ for extra pronounced shadows; lower for extra indicators
[Custom] Min Physique Place (Std=0.50, Strict=0.60)Minimal physique midpoint place inside vary0.50Enhance to 0.65 for our bodies firmly on the high of vary
[Custom] Max Higher Shadow Ratio (Std=0.15, Strict=0.10)Most higher shadow as a fraction of whole vary0.15Lower to 0.08 for near-perfect hammer form
[Custom] Min Vary/ATR (Std=0.40, Strict=0.50)Minimal candle vary as a a number of of ATR0.40Enhance to 0.60+ to require bigger, extra vital candles
Entry Buffer (xATR for pending order)Further buffer added to entry stage past the sample excessive or low0.05Enhance to 0.10 on unstable markets to scale back false triggers
SL Buffer (xATR under sample Low)Buffer under the sample low (Hammer) or above sample excessive (Hanging Man)0.25Enhance to 0.35 on unstable devices to scale back stop-outs

Settings Ideas


Finest Timeframes and Markets

Finest Markets

The indicator works on any image and timeframe. The combos listed above have a tendency to provide patterns with stronger structural high quality scores.


Getting Began — Fast Setup

  1. Open MetaTrader 5 and cargo a chart (XAUUSD on H1 or H4 is an effective place to begin)
  2. Within the Navigator panel (Ctrl+N), develop Indicators → Customized and find HammerTradingSystem
  3. Drag the indicator onto the chart
  4. Within the settings dialog, choose your Detection Preset (Normal beneficial for first use) and click on OK — the indicator will scan historical past and show detected patterns instantly
  5. Observe the indicators that seem: blue upward arrows point out Hammer (bullish) indicators; orange downward arrows point out Hanging Man (bearish) indicators
  6. Verify the standard rating label on every sign to gauge structural energy — concentrate on patterns scoring 0.50 or increased when beginning out
  7. Non-obligatory: Allow alerts within the ALERTS part to obtain popup or push notifications for brand new patterns as they type in real-time

All Options at a Look

For detailed guides on every function, see the MANUAL included with the indicator.


Widespread Questions

Q: What’s the distinction between a Hammer and a Hanging Man?

Each patterns have the identical candle form — small physique close to the high quality with a protracted decrease shadow. The excellence is context: a Hammer types after a downtrend (bullish reversal sign) and a Hanging Man types after an uptrend (bearish warning). HammerTradingSystem determines which sort it’s by checking whether or not the three bars earlier than the sample present at the very least 2 declining or 2 rising closes.

Q: Why is the Hanging Man described as a “warning” quite than a confirmed reversal?

Thomas Bulkowski’s analysis locations the Hanging Man at rank 87 out of 103 candlestick patterns, with value persevering with the prior uptrend 59% of the time after the sample types. This implies a Hanging Man is extra prone to be a short lived pause within the uptrend than a confirmed high. The indicator generates a Promote Cease entry under the sample low — if value by no means breaks that low, the sign expires with out triggering, which naturally filters many false tops.

Q: What’s the distinction between Normal and Strict presets?

Normal makes use of relaxed thresholds (decrease shadow >= 35% of vary, physique place >= 50%, higher shadow <= 15%, vary >= 0.40×ATR) and passes a better proportion of candidate candles. Strict tightens all 4 thresholds (45%, 60%, 10%, 0.50×ATR respectively) and accepts solely probably the most clearly-formed patterns. Begin with Normal and change to Strict in the event you desire fewer however extra textbook-quality indicators.

Q: Why does the SL buffer default to 0.25×ATR quite than a smaller worth?

Hammer lows are frequent targets for cease hunts — value briefly drops under the sample low earlier than reversing upward. A buffer of 0.25×ATR gives sufficient clearance to soak up these temporary excursions with out being so huge that it materially adjustments the chance profile. On markets the place cease hunts are widespread (XAUUSD, main indices), you could contemplate rising this to 0.30×ATR.

Q: What if the context is ambiguous — neither a transparent uptrend nor downtrend?

If fewer than 2 of the three prior bars are declining and fewer than 2 are rising, the indicator classifies the sample as a Hammer (bullish) by default. This displays the Hammer’s extra widespread software within the literature and the truth that bullish reversals on ambiguous context carry a better continuation danger — all the time mix with your personal market construction evaluation in these instances.

Q: How do I scale back the variety of false indicators?

Elevate the Min High quality threshold to 0.50 or increased to see solely stronger patterns. You can too change to the Strict Detection Preset, allow the Route Filter to limit indicators to the dominant development path, or allow the Excessive Zone Filter to dam indicators close to overbought/oversold channel extremes.


What’s New — Model 1.00

That is the 1.00 launch of HammerTradingSystem. Key options embrace:


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?

HammerTradingSystem is constructed to determine Hammer and Hanging Man patterns mechanically, so you’ll be able to consider evaluating the commerce quite than looking for the setup. Connect the indicator to your chart, begin with the default settings, and observe how the indicators line up with your personal market construction evaluation.

Completely happy buying and selling!

Ich Khiem Nguyen


HammerTradingSystem 1.00 — Created 2026-02-24

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles