Gravestone Doji Trading System
- 지표
- Ich Khiem Nguyen
- 버전: 1.0
- 활성화: 10
Gravestone Doji Trading System — Bearish Reversal Signals at Market Peaks [---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.
This indicator identifies Gravestone Doji formations by analyzing the relationship between opening price, closing price, and upper shadow length, confirming inverted T-shaped reversals where price initially rallies then retreats to close near the open at levels of significant buying exhaustion.
This indicator detects Gravestone Doji 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.
Included Tools
Each Gravestone Doji Trading System purchase includes access to the following companion tools at no additional cost:
-
Smart Trend Consensus MT5 — Multi-timeframe trend agreement indicator that combines signals from multiple trend methods to produce a single directional bias per timeframe. https://www.mql5.com/en/market/product/160553
-
Price Volume Distribution MT5 — Volume profile and price distribution analysis tool that identifies high-activity price zones and value area boundaries on any symbol and timeframe. https://www.mql5.com/en/market/product/160452
-
Gravestone Doji Trading System EA — Automated signal execution expert advisor that reads the indicator's signal buffers and places trades based on detected Gravestone Doji patterns. (Delivered via MQL5 private message after purchase confirmation.)
How Gravestone Doji Detection Works
The indicator evaluates each completed bar against a defined set of structural rules to confirm a valid formation:
- Body analysis: The candle body must be very small, with open and close positioned near the bottom of the candle range, confirming the rejection from higher prices.
- Upper shadow extent: The upper shadow must be significantly longer than the lower shadow, typically at least 2.5 times the body height, establishing the presence of buying pressure and subsequent seller recovery.
- Lower shadow constraint: The lower shadow must remain minimal relative to the upper shadow, confirming that the low point was firmly held without meaningful downside exploration.
- Range validation: The total candle range must exceed a minimum threshold relative to recent Average True Range, confirming the formation is meaningful rather than noise within a tight consolidation.
- Close positioning: The close must be positioned within a tight tolerance band near the open and low, validating the rejection completion.
6-Factor Quality Scoring
Each pattern that passes detection receives a score from 0 to 100 based on six weighted factors:
- Doji quality: how close the open and close prices are to the low (weight: 1.00)
- Upper shadow ratio: proportion of the total range occupied by the upper shadow (weight: 0.85)
- Lower shadow inverted: penalty applied when lower shadow becomes too long relative to upper shadow (weight: 0.70)
- Direction change: confirmation that price direction has shifted from the prior bar (weight: 0.90)
- Range to ATR: how large the candle range is relative to recent volatility (weight: 0.60)
- Range engulfing: whether the formation encompasses the prior candle's range (weight: 0.50)
Two detection presets are available. Standard mode applies baseline thresholds and passes approximately 36% of formations. Strict mode tightens all six factor thresholds and passes approximately 10% of formations, selecting only the clearest reversal examples with maximum confidence.
Pattern-Specific Settings
- Body Ratio Maximum: maximum allowed body-to-range ratio to qualify as a valid doji structure
- Upper Shadow Ratio Minimum: minimum allowed upper shadow length relative to total candle range
- Lower Shadow Ratio Maximum: maximum allowed lower shadow length relative to upper shadow
- Range Minimum (ATR multiplier): minimum candle range as a multiple of ATR to qualify as significant
- Close Match Tolerance: how close the close price must be to the low and open to confirm rejection
- Detection Preset: Standard or Strict
- Quality Score Minimum: filter signals below a defined score threshold
Automated Trading Levels
Every detected pattern automatically draws Entry, Stop Loss, and up to 4 Take Profit levels (TP1-TP4) directly on the chart. The Entry level is placed as a Sell Stop below the pattern low for bearish reversals. Stop Loss can be calculated using one of three methods: Donchian Channel (based on recent high for bearish), ATR (a multiple of average true range applied opposite to signal direction), or Pattern (a buffer above the upper shadow high for bearish formations). Take Profit levels are spaced using a configurable risk-reward multiplier applied to the SL distance.
Live Signal Tracking
The indicator tracks each signal from detection through completion. Signal states include: Pending (entry order not yet triggered), Active (trade entered, tracking in progress), TP Hit (one or more take profit levels reached), SL Hit (stop loss triggered), and Expired (signal invalidated without entry). All state transitions are logged in the signal statistics dashboard.
Donchian Channel Trailing Stop
An optional trailing stop system uses the Donchian Channel upper band for bearish reversals as a dynamic stop level that moves with price as the trade progresses. As the channel upper band falls during a downward move, the trailing stop follows, locking in profit without requiring a fixed exit target. For bullish reversals, the lower band trails upward. This trailing method can be used independently or alongside fixed TP levels.
Multi-Timeframe Scanner (150 Symbols x 8 Timeframes)
Monitor patterns across the entire market from a single chart. The scanner checks up to 150 symbols across 8 timeframes simultaneously and displays results in a sortable panel. Each row shows symbol, timeframe, signal direction, quality score, and current signal state. Symbols are loaded from MT5 Market Watch. Scanner updates asynchronously to avoid blocking chart calculations during refresh cycles.
Market Structure Analysis (BOS / CHOCH)
Built-in Break of Structure and Change of Character detection identifies key swing points and labels structural shifts on the chart. BOS marks a continuation of the prevailing direction when price breaks a prior swing. CHOCH marks a potential reversal when price breaks structure against the trend. These labels provide context for evaluating whether a Gravestone Doji signal aligns with the current market structure and represents a genuine bearish reversal or a false break at resistance.
Multi-Layer Signal Filtering
Five independent filters can be enabled or disabled individually to control which detected patterns are displayed:
- Trend filter: only show signals aligned with the higher-timeframe trend direction
- Volume filter: require above-average volume on the pattern candle to confirm institutional participation
- Session filter: restrict signals to defined trading sessions (London, New York, Tokyo, Sydney)
- Volatility filter: exclude signals during extreme volatility conditions or during very low-volatility consolidation zones
- Market structure filter: only show signals that occur at confirmed swing points or after structural confirmation
4-Channel Alert System
Never miss a signal. Alerts are delivered through four independent channels that can be enabled separately: MT5 pop-up notification, MT5 push notification to mobile app, email alert, and sound alert with a selectable audio file. Alerts fire at pattern detection and optionally at entry trigger, TP hits, and SL hit.
Signal Statistics Dashboard
A draggable panel displaying real-time performance metrics for signals detected in the current session and historically. Metrics include: total signals detected, entry trigger rate, TP1/TP2/TP3/TP4 hit rates, SL hit rate, average quality score, win rate by timeframe, and reversal success rate. The dashboard updates automatically as signal states change.
Professional Chart Themes
Built-in color schemes allow switching the indicator's visual style to match different chart backgrounds. Available themes include Dark, Light, and Minimal. Each theme adjusts the color palette for pattern markers, trading level lines, scanner panel, and dashboard text. Custom color overrides are available for all elements through the inputs panel.
EA Signal Buffers
Indicator outputs are available as data buffers for Expert Advisors. Buffer 0 outputs the bullish or bearish signal value at the bar where a pattern is detected. Buffer 1 outputs the quality score at detection. Buffer 2 outputs the calculated Entry price. Buffer 3 outputs the Stop Loss price. Buffers 4 through 7 output TP1 through TP4 prices. An EA can read these buffers using iCustom() to build automated strategies without modifying the indicator source.
Recommendations
Timeframes: M15, M30, H1, and H4 provide consistent pattern frequency and reliable reversal confirmation. Lower timeframes generate more signals with higher false-reversal risk; higher timeframes produce fewer but structurally cleaner formations with stronger reversals.
Symbols: The indicator works on any symbol available in MT5 Market Watch. Gravestone Doji formations are commonly observed on Forex major and minor pairs, XAUUSD, stock indices, and cryptocurrency pairs, particularly during trend reversals at resistance and supply zones.
Installation:
- Copy the indicator file to the MQL5/Indicators directory in the MT5 data folder.
- Restart MetaTrader 5 or refresh the Navigator panel.
- Locate Gravestone Doji Trading System under Custom Indicators in the Navigator.
- Drag the indicator onto a chart and configure inputs as needed.
- For the scanner, attach the indicator to a single chart; it will monitor all configured symbols automatically.
Notes:
- No repainting: signals are confirmed only on bar close and do not change after detection.
- Bar-close processing only: the indicator evaluates each bar once at close, following R-46 per-bar processing standards.
- Scanner operates asynchronously and updates in the background without affecting chart rendering performance.
- Memory usage is optimized for long-running sessions; object pooling is used for all chart drawings.
Documentation and User Guides
Detailed guides for each feature are available on the MQL5 Blog:
| PART | Section | Description | ||
|---|---|---|---|---|
| 1 | INTRODUCTION | Product introduction, what the product helps you with | ||
| 2 | INSTALLATION & SETUP | System requirements, step-by-step installation guide | ||
| Guide to Installing Free Indicators and EAs Included with the Mirage Trading System Purchase | ||||
| 3 | INTERFACE DISPLAY | Explanation of the components displayed on the chart | ||
| User Guide: Trading Lines & Signal Tracking System | The system automatically draws Entry, Stop Loss, and Take Profit lines (TP 1–4) on the chart, tracks price action for hits, records Win/Loss results, and displays real-time performance statistics. | |||
| User Guide : Visualization, Zone Fill, Signal Dashboard & Cancelled Signals | When you attach an indicator to a chart, the system renders the following visual components for each detected signal | |||
| User Guide: MTF SCAN & Dashboard User Guide | MTF SCAN automatically scans all Market Watch symbols across 8 timeframes (M1 to W1) and displays results on a Dashboard grid directly on your chart. | |||
| User Guide : Chart Theme User Guide | Chart Theme is a feature that changes the entire chart color scheme in MetaTrader 5 — including the background, candles, grid, text, and Bid/Ask lines — with a single click. | |||
| 4 | CORE CONCEPTS | Fundamental concepts that the system is built upon | ||
| User Guide: Market Structure Functionality in the Trading System | Identifies trend direction (Uptrend, Downtrend, Ranging) by analyzing swing highs/lows, and detects key events: BOS (trend continuation) and CHoCH (potential trend reversal). | |||
| User Guide : Signal Types, States, and Lifecycle | A signal is the system's notification when it detects a qualifying candlestick pattern on the chart. Each signal tells you the expected price direction and provides suggested entry, stop loss, and take profit levels. | |||
| 5 | SIGNAL FILTERS | Filters that refine and validate trading signals | ||
| User Guide: Trade Direction (Direction Filter) in the Trading System | Defines the allowed trading direction (Buy only, Sell only, both, or neither) as the first filter before searching for entry signals, based on current market trend. | |||
| User Guide: Signal Zone Filter in the Trading System | Eliminates signals not near important price zones, retaining only those connected to market structures (swing high/low, BOS, CHoCH) to reduce noise. | |||
| User Guide: StoplossHunt Filter User Guide — Filtering "SL Sweep" Signals | Identifies higher-probability signals by checking whether price "swept stoploss" before forming a pattern. | |||
| User Guide : Extreme Zone Filter | Extreme Zone Filter is a signal filtering feature that helps avoid entering trades when price is at the top or bottom of a Donchian price channel. | |||
| User Guide: Opposite Signal Filter | The Opposite Signal Filter is an automatic feature that prevents new signals from appearing when you already have an active trade running in the opposite direction.The principle is very simple: Don't buy when you're selling. Don't sell when you're buying. | |||
| User Guide : Quality Filter User Guide | Quality Filter is a feature that helps you receive only the best signals — price patterns formed clearly, with balanced proportions and high reliability — and reject weak signals, dull patterns, and those below standard. | |||
| 6 | TRADE MANAGEMENT | |||
| User Guide : Risk/Reward & SL Method User Guide | Risk/Reward (R:R) is the ratio between the amount of money you accept losing (Risk) and the amount of money you expect to gain (Reward) in a single trade. | |||
| User Guide: Trailing Stop Loss (TSL) User Guide | Regular Stop Loss (SL) stays fixed in one place. You set SL at 1990.00, and it stays there forever — even if price has risen to 2030.00.Trailing Stop Loss (TSL) is different. It automatically moves in your favor when price advances. As price moves up, TSL moves up with it. When price stalls or reverses, TSL holds the best position it reached. | |||
| 7 | CONFIGURATION PARAMETERS GUIDE | Detailed guide to each configuration parameter | ||
| SIGNAL SCANNING CONFIGURATION GUIDE - MIRAGE TRADING SYSTEM EA | Guide to mastering signal scanning settings within the Inputs tab, optimizing trade discovery on a single chart or across the entire market. | |||
| 8 | ALERTS & NOTIFICATIONS | |||
| User Guide: Alerts & Notifications User Guide | Configure push notifications, and on-screen popups when new signals are detected. | |||
| 9 | SYSTEM RISKS & LIMITATIONS | Notes on system risks and limitations |
Support
- Product comments section on this page
- Direct message to the author via MQL5: https://www.mql5.com/en/users/khiemni/seller
- Response time: within 24 hours
