• Home
  • Forex For Beginners
  • Forex Brokers
    • Binary Options Brokers
  • Forex Robots
  • All Posts
  • Trading Tools
    • Economic Calendar
    • Forex Market Hours
    • Online Quotes
    • Forex Charts
    • Lot Size Calculator
    • Margin Calculator
Forex Trader Portal

Forex - Trading Strategies, Robots, Indicators, Lessons

How to test the indicator in MetaTrader 4

June 19, 2025 by Michael Leave a Comment

how to test the indicator in mt4

Hello, friends! In 830 build of Metatrader 4, there is now a feature of real testing of Forex indicators in the strategy tester. I.e. you can now watch the work of any indicator in “real time”, i.e. in the visualization mode.

Why is it necessary? First, to determine whether there is “redrawing” of the indicator signals, and secondly to evaluate its profitability and usefulness for your strategy without the right side of the chart which interferes your sober assessment.

How to test the indicator we will consider in the instructions below.

How to test the indicator in MetaTrader 4

To show you the capabilities of this function, we will test it first on a standard indicator MACD, bundled with Metatrader 4, and then on a modified version of the indicator Traders Dynamic Index (TDI), as the tester can be used with a standard and all other independently (downloaded) installed indicators.

But sometimes there are some problems due to bugs in the current Metatrader 4 builds. There may be a situation that you have installed the indicator, but it is impossible to test it in the tester. At the moment, it’s hard to know the root cause of the problem. Probably, it is either from the fact that the indicators were written before the validation function appeared in Metatrader 4, or because of flaws of the terminal. Perhaps it will be fixed in future versions of the terminal.

As with the testing of expert advisors, first, you need to download the history of quotes.

This can be done via the menu: “Tools” — “History Center“:

how to test the indicator in mt4 1

Or, use the key F2 on the keyboard.

Here a menu with the history of currency pairs appears:

how to test the indicator in mt4 2

Suppose that we need GBPUSD pair.

We select minute charts (M1) to get the most accurate history and push “Download“:

Once you have downloaded the history, you can close the quotes window and open the window “Strategy Tester“.

To do this, find and click on the icon of magnifying glass or press the keyboard combination Ctrl+R:

how to test the indicator in mt4 4

You’ll see such menu:

how to test the indicator in mt4 5

If earlier at the place marked on the screenshot we had the ability to test advisors only, we now have a selection box where you can select the type of tested objects:

how to test the indicator in mt4 6
Let’s first run a test of some standard indicator, for example, MACD:

how to test the indicator in mt4 7

Any period can be set. I’ll set M30:

how to test the indicator in mt4 8

When clicking on “Indicator properties“, we will open the settings for testing:

how to test the indicator in mt4 9

We have the standard settings. You can change them at your discretion.

The window “Symbol Properties” can not be changed:

how to test the indicator in mt4 10

It displays the details of spread, stop level, type of swap and so on.

When you click on “Open chart“, in theory, the same chart visualization, as during the test, should be opened. Nothing happens in my terminal . Most likely, this is a shortcoming of the current version of the terminal. So if this feature doesn’t work in your terminal then don’t worry.

When we click on “Modify indicator” we get its code:

how to test the indicator in mt4 11
If you have knowledge in MQL programming you can edit the indicator.

You can’t put a tick “Optimization” as it is an indicator, not EA.

In the item “Use date” we put a tick and select the interval at which we want to test the indicator:

how to test the indicator in mt4 12
Once everything is configured, click “Start“.

Downloading will happen in a few seconds and the chart will be displayed in a new window:

how to test the indicator in mt4 13

You can change the opened chart. Make it larger or smaller, replace bars to candles or vice versa, change the color scheme… You can add any other indicator also.

For our case, let’s change the color scheme, replace bars to candles and add a moving average:

how to test the indicator in mt4 14

Now, let’s change the type of Model to “Every tick of control points” and we’ll see how much slower visualization will be.

how to test the indicator in mt4 15
What this type of modeling is? This is the most accurate emulation method, based on all available time frames. For example, the movement of the price of the M30 is calculated based on the M1 candles data.
The method of “Control points“, which we had before, is rougher. It takes data from the nearest minimum timeframe. Testing accelerates because of it. It turns out that timeframe M15 was used on M30, as it is the closest minimum timeframe.

After the opening of a new chart speed of visualization becomes much slower, that is surely more convenient for analysis. I suggest you choose the type “Every tick” because it’s more convenient and more accurate.

Also, note that the old chart of visualization is not closed, it remains in the tab:

how to test the indicator in mt4 16

With its help, you can do any comparisons or close, that it would not interfere you.

Now let’s test the third-party indicator TDI:

What can we do in the tester?

What can we do in the tester

The most important thing is that we can monitor the indicator in real time. For example, if there are arrows on the entrance, you can see, whether it disappears after a certain number of candles or not. And if you hope to open a deal, you can make marks on the chart.

Imagine that with this indicator we would sell when green and red line bounce off the upper border of blue indicator, and they would be above the level 68:

To mark entrance somehow, we mark it with an arrow:

Somewhere in this place we would exit:

In the end, because of this, we can get statistical results for analysis:

Conclusion

conclusion how to test the indicator

Keep in mind that trading with one indicator is a thankless task, the most efficient use occurs with a trading system. It is recommended to test any indicator to appreciate its potential advantages and weaknesses, as well as if it fits you personally. It is no secret that some traders are able to earn money, for example, by means of Stochastic indicator signals, while others persistently lose money using the same signals.

After testing you will not have false impressions of the indicator, as the chart is “alive” and you can’t see what will happen next. Because of this, your mind will not be able to evaluate the signals of the indicator and its importance in successful trading somehow wrong.

We can conclude that function of indicators testing may be useful not only for identifying the “redrawing” of the indicator signals, but also it will help to evaluate its potential for your trading.

Take care, Michael Pivonka

ForexTraderPortal.com

Related Posts:

  • Repainting indicators - is it always bad thing?
  • Best Forex Robots 2021
    Best Forex Robots 2021
  • Five Signs of a Useless Forex Indicator
    Five Signs of a Useless Forex Indicator
Posted in: Forex Indicators Tagged: indicators, macd, tdi, testing mt4
« Brexit - what should traders do? Lesson 1 - Believe in Yourself and Change Your Life! »
← Brexit - what should traders do?
FX1D0 — trading system for earnings where others lose →

Categories

  • Binary Options
  • Currency Pairs
  • For Traders
  • Forex for Beginners
  • Forex Indicators
  • Forex Robots
  • Forex Trading Psychology
  • Forex Trading Strategies
  • Price Action

Recommended Forex Broker

Have To Look

  • The 5 Steps to becoming a trader
  • How to install a Forex Robot?
  • The whole truth about leverage in Forex
  • What is difference between old and new pips in Forex?
  • Trading Strategies Installation Instructions
  • My VPS choice

    About This Site

    This blog mission is to teach people about Forex trading, including trading strategies, robots (EA), and indicators. We provide newcomers with lessons, reviews, tutorials, and more.

    Join us on Facebook!

    Random Posts

    • Strategy for Trading Gold in Binary Options
    • No Stress Strategy — who understands life is not in a hurry
    • All Secrets of Trading on D1
    • Lesson 1 - Believe in Yourself and Change Your Life!
    • Best Forex Robots 2021

    Copyright © 2023 Forex Trader Portal.

    Omega WordPress Theme by ThemeHall

    Home | Forex Robots Laboratory | For copyright holders | All posts |
    Risk Warning. There is a high level of risk involved when trading leveraged products such as Forex. You should not risk more than you can afford to lose. All posts published on this portal are only recommendatory and all responsibility for decisions lies on readers.
    (c) 2015-2021 All rights reserved