Marubozu Trading System
- インディケータ
- Ich Khiem Nguyen
- バージョン: 1.0
- アクティベーション: 10
Marubozu Trading System for MetaTrader 5
Marubozu Trading System is a price action indicator for MT5 designed to detect continuation candles with strong body dominance and classify them into multiple Marubozu variants.
A detailed user guide is available on the author’s MQL5 Blog.
Additional updates are available through the author’s MQL5 Channel.
Depending on the current support policy, buyers may receive additional access to selected companion tools developed by the author.
Overview
Marubozu Trading System detects bullish and bearish Marubozu formations on completed bars and displays structured trading levels on the chart.
The detection model evaluates candle body dominance, range significance, shadow proportions, and relative strength compared with the previous candle.
This structure can be used to identify continuation conditions when one side of the market maintains control through most of the session.
All calculations are based on completed bars only.
Detection is non-repainting. Signal values do not change after the bar is closed.
The indicator can draw Entry, Stop Loss, and Take Profit levels directly on the chart and track signal progress after detection.
Detection Logic
The detection model evaluates each completed candle through several structural conditions.
These conditions can include:
-
Body-to-range ratio
-
Body size relative to ATR
-
Total range relative to ATR
-
Shadow classification
-
Relative body strength compared with the previous candle
The indicator can classify multiple Marubozu variants based on candle direction and shadow structure.
Patterns that do not meet the selected structural requirements are ignored.
Variant Classification
The indicator can classify six Marubozu variants:
-
Full White Marubozu
-
Closing White Marubozu
-
Opening White Marubozu
-
Full Black Marubozu
-
Closing Black Marubozu
-
Opening Black Marubozu
This classification helps users distinguish between fully dominant candles and candles with small opening or closing shadows.
Quality Evaluation
Each valid pattern can be evaluated through a multi-factor quality model.
The scoring process can include measurements such as:
-
Body ratio
-
Body relative to ATR
-
Relative body strength
-
Upper shadow ratio
-
Lower shadow ratio
-
Range relative to ATR
Signals below the selected minimum threshold can be filtered out automatically.
Multiple detection modes are available, including Standard Mode, Strict Mode, and Custom Mode.
Entry and trade planning
For confirmed setups, the indicator can project breakout levels using pending-style entry logic above or below the pattern extreme.
For each valid setup, the indicator can display:
-
Entry level
-
Stop Loss level
-
Up to four Take Profit levels
-
Risk and reward zones on the chart
Stop Loss can be calculated using a pattern-based method, ATR-based logic, or Donchian Channel reference.
An optional trailing stop based on Donchian logic is also available for users who want dynamic trade management after entry.
Filters and tools
Optional filters are available to reduce unnecessary signals:
-
Trend Filter
-
Volume Filter
-
Session Filter
-
Volatility Filter
-
Market Structure Filter
The built-in scanner can monitor multiple symbols and timeframes from a single chart.
The indicator also includes BOS and CHOCH labels, a signal dashboard, alert options, chart themes, statistics tracking, and output buffers for Expert Advisor integration through iCustom().
Recommended use
Recommended timeframes are H1 and H4 for a balance between signal frequency and structural clarity.
The indicator can be applied to Forex pairs, XAUUSD, commodities, indices, and other symbols, depending on broker data quality and symbol characteristics.
Loading sufficient chart history is recommended for more stable structure analysis.
MetaTrader 5 only.
No DLL calls.
No external WebRequest connections.
Important notes
This indicator is a technical analysis tool.
It does not guarantee trading results.
Users should test settings in their own environment and apply appropriate risk management.
Support is available through the product comments section or via MQL5 direct message.
