Multi-Timeframe MACD Histogram Indicator (v03)

Multi-Timeframe MACD Histogram Indicator (v03)
DOWNLOAD all MT5 indicators (5649)
YouTube Video Thumbnail

Similar MetaTrader Tools

Multi-Timeframe MACD Histogram Indicator (v03)

Info

The Multi-Timeframe MACD Histogram Indicator (v03) is a Indicator for MetaTrader 5 that multi-timeframe macd histogram indicatorthis macd indicator can be applied to any timeframe, higher or lower than the current chart's timeframe. The indicator's values can be calculated based on any of the usual price types.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.


How to Install and Use Multi-Timeframe MACD Histogram Indicator (v03)

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

What this tool does

Multi-Timeframe MACD Histogram IndicatorThis MACD indicator can be applied to any timeframe, higher or lower than the current chart's timeframe.

Typical Use Case

This Indicator excels in automated trading and technical analysis on MetaTrader 5.

Compatible Platform & Setup

This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.

Description & Settings

Related: Multi-Timeframe Moving Average Indicator (v03) - another powerful indicator for MetaTrader 5 traders.

Multi-Timeframe MACD Histogram Indicator

Also recommended: Multi-Timeframe Relative Strength Index (MTF RSI) Indicator for MT4/MT5 - similar indicator with strong performance on MetaTrader 5.


This MACD indicator can be applied to any timeframe, higher or lower than the current chart's timeframe.

The indicator's values can be calculated based on any of the usual price types. When the indicator is applied to a timeframe lower than the current chart's time frame, it may not be possible to display all values. In such cases, depending on the price type chosen, a different approach is used to provide the most appropriate value.

Examples:

Scenario 1: timeframe_1=5 minutes, timeframe_2=1 minute, calculations based on Close price series.
For any bar on timeframe_1, the indicator will display the latest bar of timeframe_2 with a Close time that is before or at the Close time of the bar on timeframe_1. This applies to both closed bars and the current bar that is still open.

Scenario 2: timeframe_1=5 minutes, timeframe_2=1 minute, calculations based on Open price series.
For any bar on timeframe_1, the indicator will display the latest bar of timeframe_2 with an Open time that is before or at the Open time of the bar on timeframe_1. This also applies to both closed and open bars. The logic is that if you choose to calculate indicators based on the Open time of a bar, you likely trade at the bar's open. At the open of a new 5-minute bar, you will only know the Open time of the first of the five 1-minute bars comprising it. The Open times of the second to fifth 1-minute bars are therefore disregarded in the calculations.

You can mix any timeframe with any other timeframe, even if they are not synchronized (e.g., timeframe_1 = 5 minutes and timeframe_2 = 12 minutes). The indicator ensures they remain synchronized. The mechanism is similar to the examples provided.

The attached zip file (Conversion between timeframes.zip) contains examples illustrating all possible combination types and a visual explanation. Reviewing the source code will also provide insights into the implementation.

When switching between timeframes, allow a few seconds for the price data to load. If the indicator does not display correctly, refresh the chart manually.

Requires:
- MovingAverages.mqh (default include file located in terminal_data_folder\MQL5\Include)
- MACD_Histogram_MC (also posted at mql5.com)

Place both MACD_Histogram_MTF_MC.mq5 and MACD_Histogram_MC.mq5 in the terminal_data_folder\MQL5\Indicators folder for the indicator to function.

To enable or disable error messages for debugging, modify the following line in the source code:
bool ShowErrorMessages=false;

Update History:

2010 09 26: v03
- Improved display of values on timeframes lower than the chart's timeframe.
- Set buffers to EMPTY_VALUE instead of 0 after: if(convertedTime<tempTimeArray_TF2[0]);
- Code optimization.
- Removed PLOT_DRAW_BEGIN from OnInit() - inherited from single timeframe indicator.
- Moved ArraySetAsSeries of buffers and arrays into OnInit().
- Added MODE_SMMA and MODE_LWMA as MA methods for the Signal line.
- Made ENUM_APPLIED_PRICE the last input parameter.

2010 08 28: v02B
- Indicator first published.

You may also like: Stochastic Multi-Timeframe Indicator - excellent alternative for indicator users on MetaTrader 5.

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators