MQL4 - automated forex trading   /  

Code Base

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

Code Base  Indicators  FX Multi-Meter II To post a new code, please log in or register

Download MetaTrader 5 and visit Code Base
and Trade on the Go!
and Trade on the Go!
Couldn't find the right code? Order it in the Jobs section

This library is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

and Trade on the Go!

FX Multi-Meter II
Author: eagleye777 (2009.09.02 10:29)
Rating: 8
Downloaded: 32323
Download: (1.6 Mb)
 FX Multi-Meter II.mq4 (204.7 Kb)

FX Multi-Meter II

An all-in-one indicator that was inspired by !x-meter. It provides at a glance alot of information that would normally require many charts and indicators and general screen clutter. It was designed to give more precision to both trade entries and exits and provide an instant snapshot of a currency pair's movement. Multi-Meter works on any currency or timeframe and displays the following...


Standard Indicators

  • A graph of Stochastic Oscillators on timeframes M1 up to D1.
  • An indication of the market trend using Moving Averages on timeframes M1 to D1.
  • The direction of the MACD on the current chart, and crossing of the signal line and zero line.
  • The direction of a fast 3 period LWMA crossing a 5 period SMA (periods customizable).
  • The direction of the Parabolic SAR on the current chart for giving the exit signal and also confirmation for entry.
  • An oscillating graph of the William's % Range indicator. This was used because of its fast movement and unique predictive quality.
    Also because its very good for identifying Overbought/Oversold conditions.
  • A Bar % Increase/Decrease meter developed to give a direct visual representation of the percentage rise or fall of the current price
    compared to the last 4 bars. It's simple but effective. The gist of it is that the previous 4 bar movements (close to close) are averaged
    and percentaged, so if the current bar rises above 100% it is speeding up above the recent average, conversely if it drops below 100%
    it is slowing down and taking on a more steady movement. Strong price movements are displayed in bright red or green, with varying
    shades according to the strength of movement.
  • The overall recommended signal to trade, based on the various indicator signals.
  • And last but not least the spread of the currency, in big easy-to-see numbers.


New in Version 2

  • A History viewer in the form of a vertical line that can be dragged over previous bars to bring up the history in Multi-Meter. (Beta version)
  • A multi-timeframe Trend Graph showing the direction of 7 customizable Moving Averages on 7 timeframes.
  • An OB/OS Signal Map, showing the Overbought or Oversold signals from 7 different oscillators/indicators on 7 timeframes.
  • Customizable Overall Signal, using a combination of current and multi-timeframe indicator signals.
  • Price/Chart/Currency display that can be switched on or off.
  • Switch between Default and Compact mode.
  • Options can now be accessed without reloading onto a chart.


Trend-O-Graph and Price displayed



INSTALLATION: Shutdown MetaTrader if it is running. Copy the mq4 file to Program Files/(MetaTrader4 directory)/experts. Copy the Fonts in the zip file to C:/Windows/Fonts.

Then start MetaTrader and open MetaEditor. In the Navigator window on the right double-click FX Multi-Meter II to open it. Press the Compile button and go back to MetaTrader.

In the Navigator window on the left open the experts folder and drag Multi-Meter across onto a chart. The Options panel will come up where the settings can be changed, click

Ok and your'e done. Compiling only needs doing once.




NOTE: To access the Options (Inputs) for Multi-Meter without reloading it, change to the Monthly timeframe and press F7. By default Multi-Meter has been disabled on the Monthly

timeframe for this purpose because the code runs an infinite loop which does not normally allow the access of Options from a chart display. To counteract this the loop must be

broken temporarily, in this case the Monthly chart has been set to break the loop and Multi-Meter will not function on this chart by default, but this setting can be changed in the

Options panel.

HISTORY LINE - Enables or disables the History Line. When Multi-Meter is first loaded onto chart you will see the History Line appear slightly ahead of the current time.

Double click on it and drag it across the previous bars to bring up the previous indicator values in Multi-Meter. You can delete the line at any time, but changing timeframes will make

a new one appear (only if one is not present). As long as the Histroy Line is ahead of the current price the current readings will be given, so if you're not using it its best to delete it

until you need it again, otherwise it will soon fall behind current time. It is still not perfect and misses bars past the weekend mark, but is quite accurate for short term history. It is

more accurate reading the current indicators than the multi-timeframe indicators.

COMPACT MODE - Switches from the default full display to a smaller display that resembles Multi-Meter v.1. The Trend Graph or the OB/OS Signal Map are not available in compact mode.

DISPLAY PRICE/CHART/CURRENCY - The Price/Chart/Currency display can be turned on or off, font size and colour are customizable.

USE MONTHLY CHART FOR OPTIONS - DisableMonthly disables Multi-Meter on the Monthly chart so that Options can be accessed by pressing F7, or from the Expert Advisors menu.

PROCESSING LATENCY (SLEEP) - This is the value in milliseconds that the program loop is stopped before restarting the cycle. Default is 100. It can be adjusted for optimizing the Meter

to your computer. You can reduce the value for slightly more responsiveness of Multi-Meter but go too low and it will start flickering.

TREND-O-GRAPH - This graph shows trend waves of the short and longer term trend. Use DisplayTrendGraph to toggle between the Trend Graph and OB/OS Signal Map. The Trend Graph

is displayed by default. The values for the 7 Moving Averages can be set here including the MA Type (Simple, Exponential, Smoothed or Linear Weighted). Default is Smoothed.

OVERALL SIGNAL - The overall Signal can be configured to include or exclude the direction of most of the indicators displayed. Current indicators are from the current chart and Multi-timeframe

indicators are the MAs from the Trend Bar. Choose which of these signals you want to include or exclude. By default ALL Current indicators and NO Multi indicators determine the signal.

OB/OS SIGNAL MAP - This graph displays 7 indicators plotted along 7 timeframes. All of them except Bollinger Bands are Oscillators, and are commonly used for identifying Overbought/Oversold

conditions. The indicators are from bottom to top: MACD, Stochastic Oscillator, William's % Range, Money Flow Index, Commodity Channel Index, Relative Strength Index and Bollinger Bands.

If the price moves into an OB or OS zone a grey cross will appear indicating a reversal is imminent. When the the price does reverse the cross will become Green for Buy or Red for Sell.

The more crosses the better if you a trading a reversal, as the OB or OS level is more significant. The zone values are customizable, the default values are the most commonly used.

The OB/OS Signal Map should be used when the market is ranging sideways, as Oscillators are not very reliable in strong trends. NOTE: The MACD Buy or Sell signal is the MACD crossing the

signal line, a grey cross appears if the MACD is falling above the signal line, or rising below the signal line. The Bollinger Bands give a grey signal if the price has moved outside of the bands,

if the price reverses the Buy

or Sell signal is displayed.

INDICATOR VALUES - Values here are for changing the MA-Xover signal, MACD signal, Parabolic SAR signal, MA Trend Bar, W%R and Stochastics.

Reversal Trade setup

Interpretation of the Signals

As Multi-Meter is a direct display of various indicators, the principles of each should be reviewed to get a good idea of how to interpret them. Visit

The Bar % Meter is similar to the Rate Of Change indicator. Overall Signal in the top right corner can be set with different basic conditions.

A few minutes with the History Line should show you more than I need explain here but a basic approach to reading the Meter is as follows...

  1. Identify the longer term trend with the MA Trend Bar or Trend Graph. Check the PSAR reading on the slower timeframes, ie. H1 to W1.
  2. Identify the shorter term trend with the MA Trend Bar, Trend Graph, MACD, MA-X, and P-SAR on the faster timeframes, ie. M1 to M30.
  3. Use Stochastics, W%R and OB/OS Signal Map to identify Overbought/Oversold conditions or even small oscillations in price.
  4. Use the Bar % Meter for identifying an accelaration or decceleration of price movement.
  5. MA-X will usually be the first signal after Bar % Meter to show a reversal of price direction.
  6. MACD will follow suit soon after which confirms the MA-X reversal.
  7. P-SAR will follow after if the reversal is not false. It is most useful for confirmation and especially exiting trades.
  8. Overall Signal will combine the chosen indicators for trade entry confirmation.

A simpler approach might be... if everything is Green, BUY, if everything is Red, SELL.

Example interpretation for Reversal Trade setup.

- OB/OS signal Map indicates an extremely Oversold condition on M1 to H1 charts. Recommends BUY.

- Bar % Meter is showing that the strong bearish price movement is slowing down and beginning to move up.

- MACD is heading downwards.

- MA-X is showing that the fast moving 3-period Linear Weighted MA is below the slower 5-period Simple MA.

- P-SAR is still travelling downwards and hasn't swung around yet. The trend is not yet broken.

- WPR% is in Oversold territory.

- All MA's except D1 timeframe are trending downwards.

- Stochastic Oscillator on 5 timeframes are at rock bottom, indicating an extremely Oversold price condition.

- Current spread is 0.8 pips. Nice!

- Overall Signal = Wait (before confirmation to Buy)

34 comments: 1 2 3 4   To post a new comment, please log in or register
Where should I locate the for the newer version of MT4
06.04.2014 16:03 paul.seldon
This is awesome
04.03.2012 22:29 asa301
farbeh wrote:

Thanks for the indicator, it reads well but unfortunately I cannot get it to display when I attach it to the chart, despite recompiling it and copying the Fonts. Is there something I am doing wrong. Thanks for your help.

It must be placed in the Experts folder, not the Indicators folder, and must be connected to the internet otherwise it won't display. Good luck and keep an eye out for the new version...

27.10.2009 20:53 eagleye777

Thanks for the indicator, it reads well but unfortunately I cannot get it to display when I attach it to the chart, despite recompiling it and copying the Fonts. Is there something I am doing wrong. Thanks for your help.

25.10.2009 11:33 farbeh

Great code, thanks for sharing. Some questions / suggestions:

1) Did you try to have the EA execute the trade signal automatically? Would it be profitable?

2) The pip-calculation is wrong on a 4 digit broker: it displayes a spread of 0.2 pips instead of 2. Same problem with SILVER: 0.5 instead of 5 pips.

3) It think it would be better to place the Multimeter on the left side. Even if you use shift chart, and the window is small, you the Multimeter will be over the current price.

14.10.2009 00:39 trader42
ardanari wrote:


I've downloaded MM II and tried it.. very informative tool.

Perhaps, it's better if the display is not at right side. It blocks the display of current price chart.

Thank's for your sharing

The chart shift button in MetaTrader fixes this problem..

22.09.2009 16:28 eagleye777


I've downloaded MM II and tried it.. very informative tool.

Perhaps, it's better if the display is not at right side. It blocks the display of current price chart.

Thank's for your sharing

22.09.2009 13:43 ardanari
tyagi wrote:

I have downloaded MM-II and started using the same. Good Tool..

But I have a query, I am getting Trend-O-Graph and Price chart but not aware how to get the second one "Trade Reveral Setup".

Can someone or eagleye777 himself help me out.


The OB/OS Signal Map replaces the Trend Graph when you set DisplayTrendGraph to 'false' in the Options panel. The picture is a good example of a reversal setup, ie. the price is about to swing up.

22.09.2009 13:06 eagleye777

I have downloaded MM-II and started using the same. Good Tool..

But I have a query, I am getting Trend-O-Graph and Price chart but not aware how to get the second one "Trade Reveral Setup".

Can someone or eagleye777 himself help me out.


20.09.2009 22:23 tyagi
Azb wrote:

i may have a tip for a third table to complement the ob/os map and ma trend-o-graph: the third pictogram could harbour the shape (and bearish/bullish colour) of the last candle in each respective timeframe starting from tf m5, ending with tf w1 (aka weekly). i know the drawback is an awful lot of work/time invested in this formated output. but thanks anyway!

edit: i mean the last closed candle, of course. there may be a candle in progress too, but that would be also for the current tf, placed right where the descriptive column in the obos and trendograph is, separated by a dim vertical line. one can never know how tall or short the candle will be, so there would be needed some kind of (percentage?) normalization.

It'd be good i agree, but you would have noticed that GGekko just published the exact indicator you mentioned, which i think is a good job as it is. There wouldnt be enough resolution using the pre-existing blocky matrix style thats in the meter, so alot of work would be needed to reinvent it. I'm open to more ideas for this part of the meter, thanks for the suggestion, if you have any more let me know.

What i'm thinking of adding next is a multi-timeframe graph of the price position in % relation to upper and lower Bollinger bands which would turn the indicator into an oscillator. I use bollinger bands alot but i think it would be very handy as an oscillator. The problem is these graphs use up alot of space in the code and slow down the indicator performance, so it may not be viable to add another, we'll see.

18.09.2009 07:19 eagleye777