MTF Candle Overlay
- Индикаторы
- Версия: 1.0
- Активации: 5
Overview
The MTF Candle Overlay is a powerful multi-timeframe analysis tool that allows traders to view higher timeframe candlesticks directly on their current lower timeframe chart. Instead of constantly switching between multiple chart tabs, you can now monitor higher timeframe price action, identify key support and resistance levels, and make more informed trading decisions - all from a single chart window.
Unlike other MTF overlays that use semi-transparent filled candles that clutter your screen, our indicator draws clean hollow candles (outline only). This ensures your original chart candles remain clearly visible behind the overlay, giving you both perspectives without visual interference.
Key Features
-
Multi-Timeframe Support: Overlay any higher timeframe from M1 up to MN1 on your current chart
-
Hollow Candle Design: Outline-only candles keep your original chart visible underneath (no messy fills)
-
Full Candle Structure: Displays complete OHLC (Open, High, Low, Close) data for each higher timeframe candle
-
Adjustable History Depth: Control exactly how many higher timeframe candles to display (1 to 100+)
-
Real-Time Updates: Automatically updates as new higher timeframe candles form
-
Non-Destructive Code: Only manages its own chart objects - will never delete your manually drawn lines or other indicators
-
Lightweight Performance: Optimized code runs efficiently without slowing down your platform
Complete Customization Options
This indicator puts you in full control of its visual appearance. Every aspect can be tailored to match your personal charting style:
-
Color Customization: Choose independent colors for bullish candles, bearish candles, and wicks
-
Line Style Options: Select from Solid, Dash, Dot, Dash-Dot, or Dash-Dot-Dot line styles for both bodies and wicks
-
Line Thickness: Adjust body and wick thickness independently (1-5 pixels)
-
Show/Hide Components: Toggle body display, wick display, and the timeframe label on/off independently
-
Label Positioning: Place the information label in any corner of the chart with custom X/Y offsets
-
Label Styling: Choose font family, font size, and text color for the information label
How It Works
The indicator uses MQL5's graphical object system to draw custom rectangles (candle bodies) and trend lines (wicks) directly on your chart. For each higher timeframe candle, the indicator:
-
Retrieves OHLC data from the selected higher timeframe using the CopyRates function
-
Calculates the exact time boundaries of each higher timeframe candle relative to your current chart
-
Draws a hollow rectangle representing the body between Open and Close prices
-
Draws a vertical line representing the wick from High to Low
-
Automatically updates the visualization when new higher timeframe candles form
This approach ensures zero repainting - only completed, closed higher timeframe candles are ever displayed. The indicator only draws candles from the higher timeframe that have fully closed, guaranteeing that what you see is historical, confirmed price action.
Input Parameters
| Parameter | Default | Description |
|---|---|---|
| Higher Timeframe | H1 | The higher timeframe to overlay (M1 to MN1) |
| Max Candles to Show | 20 | Number of higher timeframe candles to display (1-100) |
| Bullish Body Color | Dodger Blue | Color for bullish candle bodies |
| Bearish Body Color | Tomato | Color for bearish candle bodies |
| Wick Color | Gray | Color for candle wicks/shadows |
| Body Line Width | 1 | Thickness of candle body borders (1-5) |
| Wick Line Width | 1 | Thickness of wick lines (1-5) |
| Body Line Style | Solid | Style for candle body borders |
| Wick Line Style | Solid | Style for wick lines |
| Show Wick | true | Show/hide candle wicks |
| Show Body | true | Show/hide candle bodies |
| Show Label | true | Show/hide the timeframe information label |
| Label Font Size | 10 | Font size for the information label |
| Label Font Name | Arial | Font family for the information label |
| Label Color | White Smoke | Text color for the information label |
| Label Corner | Right Upper | Screen corner where label appears |
| Label X Offset | 10 | Horizontal offset from corner (pixels) |
| Label Y Offset | 30 | Vertical offset from corner (pixels) |
Trading Applications
Multi-Timeframe Analysis:
-
Identify major support and resistance levels from higher timeframes without switching charts
-
Spot trend direction across multiple timeframes simultaneously
-
Confirm your lower timeframe entry signals with higher timeframe context
Smart Trade Timing:
-
Enter trades on lower timeframes while respecting higher timeframe structure
-
Avoid trading against major higher timeframe support/resistance zones
-
Time your entries around the opening or closing of higher timeframe candles
Risk Management:
-
Place stop losses based on higher timeframe candle extremes
-
Set profit targets aligned with higher timeframe structural levels
-
Assess overall market context before entering any position
Strategic Planning:
-
Use weekly/monthly candles for swing trading strategies
-
Use daily/hourly candles for intraday precision
-
Scan for confluence between multiple timeframe perspectives
Key Benefits
-
Cleanest Visual Design: Hollow (outline-only) candles as default - your original chart stays visible
-
Superior Customization: Adjust colors, line styles, fonts, positions - more options than most MTF overlays
-
No Repainting Guarantee: Only displays completed higher timeframe candles
-
Universal Compatibility: Works on any symbol and any timeframe (higher TF must be greater than current TF)
-
30-Day Money-Back Guarantee: If you're not completely satisfied, contact MQL5 Support for a refund per Market rules
Intended Users
-
Day traders who need higher timeframe context for their intraday decisions
-
Swing traders analyzing multiple timeframes without chart clutter
-
Scalpers who want to respect higher timeframe structure
-
Traders who prefer clean, uncluttered chart layouts
-
Anyone who finds switching between multiple chart tabs inefficient
Disclaimer
This indicator is provided as a visual analytical tool designed to assist traders in their market analysis. It does not provide automated trading signals or execute trades automatically.
Trading financial markets involves substantial risk of loss. Past performance does not guarantee future results. The creator of this indicator assumes no responsibility for any trading losses incurred while using this tool. Market conditions can change rapidly, and no indicator can predict price movements with certainty.
You are solely responsible for all trading decisions you make. Always use proper risk management, test any strategy on a demo account first, and never trade with money you cannot afford to lose.
By purchasing and using this indicator, you acknowledge that you have read and understood this disclaimer and agree to use the product at your own risk.
[Figure 1: MTF Candle Overlay on M1 chart showing M15 candles overlay]
[Figure 2: Customization options demonstration - different color themes]
[Figure 3: Label positioning options - four corners of the chart]
