Over the past six months since the release of the public build
509, we put in a lot of effort to improve all the components of
MetaTrader 4 online trading system. MQL4 programming language for
developing trading strategies has undergone the most significant
changes. These changes have provided new features for developing trading
robots and made possible the launch of MetaTrader 4 Market - secure app store for MetaTrader 4 terminal.
The public test of the new MetaTrader 4
terminal enters its final stage. We have updated our public
MetaQuotes-Demo server located at demo.metaquotes.net:443. We invite all
traders to join the testing of the new terminal in order to try all its
features and help developers to fix the errors.
After this stage of beta test is
complete, the final build of the new MetaTrader 4 terminal will be
released. You can find out what's new in MQL4 below the list of changes.
Automatic copying of MQL4 applications when updating from old builds
In the previous builds of MetaTrader 4 client terminal (509 and
older), all MQL4 applications were stored in the following
subdirectories of <terminal_installation_folder>\experts\ root directory:
In the new MQL4 version, the file structure for storing the source
codes has changed. Now, all MQL4 applications should be located in the
appropriate folders of <data_folder>\MQL4\ directory:
When updating MetaTrader 4 terminal from
build 509 to the newer version, all MQ4, MQH and EX4 files from standard
root directories of the previous version are automatically copied and
relocated to the appropriate folders. Subfolders additionally created by a user, as well as files contained there are not processed. They should be relocated to the new place manually if necessary.
No automatic re-compilation of the old EX4 files to the new version is performed
during the update. Users are free to decide what source codes should be
compiled to the new EX4 version. All old EX4 will work in the new
MetaTrader 4 terminal. EX4 libraries compiled by the new compiler can be
called only from the EX4 programs that have also been compiled in the
In some cases, you may need to edit the path in #property include for included files (if relative paths have changed) in the source files. Please note that MetaEditor's root directory is now <data_folder>\MQL4\. All programs should be located in the correct subdirectories.
You can find the data folder (<data_folder>) for each copy of MetaTrader 4 terminal on your computer via the terminal menu or in MetaEditor: File - Open Data Folder.
MetaTrader 4 Client Terminal
Fixed errors reported on the forum and in crash logs.
MetaTrader 4 MultiTerminal
MQL4 programming language has been completely revised reaching the
level of MQL5 - now you can develop trading robots in MQL4/5 using the
unified MetaEditor development environment, single style, libraries and
MQL4 is popular among automated system developers due to the ease of
learning and a huge amount of code generated for many years of using
MetaTrader 4 terminal. However, the language also has some drawbacks
arising from its main advantage - a simple programming language does not
allow development of complex systems and hinders porting of debugged
libraries from high-level languages. Therefore, we decided to implement
in it the maximum possible amount of MQL5 language functions and
features fully preserving MQL4 functionality. In other words, all
powerful MQL5 functions, including ООP and the native code compiler,
will become available in MQL4.
To achieve this, we have developed a unified compiler that
automatically supports both MQL4 and MQL5 languages. MetaEditor will
also become a unified application both for MetaTrader 4 and MetaTrader 5
platforms. Thus, it will be possible to compile both MQL4 and MQL5 from
any version. MQL5 Storage also becomes available for work.
Protection of MQL4 applications rises to MQL5 level. New EX4/EX5
files are provided with a serious and completely revised protection.
This means that the Market of secure EX4 applications also becomes
available to MetaTrader 4.
Besides, MQL4 now features new graphical objects and new functions
for working with charts. MQL5 Standard Library is to be ported to MQL4
providing developers with new possibilities in creating their own
graphical interfaces and trading libraries. Now, you can create
full-fledged applications in MetaTrader 4 using the resources.
Changes in MQL4 Language
if(condition1 && condition2)
// some block of operations
The table of differences between compilers
* Please pay special attention to "Array out of range" error
- many old custom indicators will display this error in strict mode of
the new compiler when launched on the chart. It is recommended to find
the cause and eliminate it.
** In the new MQL4 and MQL5, FILE_SHARE_READ and
FILE_SHARE_WRITE flags are responsible for the files shared use mode.
There were no such files in the old MQL4.
FXG_Info – the most important data in one place.
MetaTrader 5 Indicator FXG_Info provides basic statistical information about a particular currency pair. So that in combination with a chart representing currency price it is easy to determine whether the current situation is good for trading. And when you open a position it will clearly show you the current data such as SL, TP, RR. You are not limited to currency. You can use any market which is provided by you broker.
The following information
Who will be interested in this product:
those who are used to diversify the portfolio with a large number of pairs. those who work with a large number of orders those who trade news using pending orders (see the "Grid request" tab).The panel is designed to make managing a large number of orders as easy as managing one.
The currency pairs and order types for opening are formed here. The prices and stop levels are set.
User can define the price valu
Veno EA MT5 is a safe and fully automated medium-term trading robot.
The EA does NOT use hedging, martingale, grid strategies, arbitrage, etc.
Veno Expert System MT5 automatically monitors the appearance of participants with distinct preference towards buying or selling on the market. Trades are conducted on sharp cluster and news based movements of the market. The robot analyzes the market volumes and volatility, and follows strong supply and demand movements. It smoothly sets breakeven level
This is a panel for controlling the profit/loss in dollars, pips or % of balance. A new function for trailing profits has been implemented.
The panel can be used as a virtual Stop Loss or Take Profit.
It also features the emergency button - CLOSE ALL.
You can also try the full version of the VirtualTradePad for mt5 panel, as well as the Profit or Loss for mt4 panel
Other versions in this collection:
VirtualTradePad for mt5 Digit Market Time Pad Market Time Pad Scalper PadMain f
This indicator combines the Japanese candlestick pattern analyzer and the Japanese candlestick pattern indicator. It will be useful for both manual and automated trading. The indicator features buttons for switching between patterns and displays points from the open price of the candlestick following a given pattern to the close price of the bar specified in the settings on the chart. It will be beneficial to seekers of new patterns who would like to use new combinations. You can analyze various
The indicator displays in a separate window a price chart as bars or Japanese candlesticks with a periodicity below a minute.
Available periods (seconds): 30, 20, 15, 12, 10, 6, 5, 4, 3, 2, 1.
The display mode (bars or candlesticks) is switched by clicking on the chart.
Period in seconds - the period of bars in seconds Price levels count - the number of price levels on a chartBuffer number: 0 - Open, 1 - High, 2 - Low, 3 - Close, 4 - Color.
EasyPen is designed as beautiful and innovative way to create and manage all your chart analysis, scribbles, notes and more. The app takes advantage of new MQL5 technology to offer an experience unseen in the other apps or in older MQL versions.
An App That Changes Everything
There is no existing drawing app that allows the level of customization that EasyPen offers. Change color of your pen, choose brush size, save drawings, keep drawings attached to specific position in chart, and more. With
The EASIEST way to manage your risk for each trade!
Add the indicator to your chart, configure a risk percentage (of account equity) Enter the number of pips for your stop loss into the text entry field that appears on the chart The position size to take will automatically be updatedThe product features two modes - a compact mode which allows entry of stop loss pips and shows the resulting lot size based on the percent risk setting, as well as an expanded mode that also shows
This indicator gives full information about the market state: strength and direction of a trend, volatility and price movement channel. It has two graphical components:
Histogram: the size and the color of a bar show the strength and direction of a trend. Positive values show an ascending trend and negative values - a descending trend. Green bar is for up motion, red one - for down motion, and the yellow one means no trend. Signal line is the value of the histogram (you can enable divergence
VirtualTradePad - is a contol panel for working with orders in МetaТrader 5 : buy, sell, buystop, buylimit, sellstop, selllimit, close, delete, modify, tralling stop.
VirtualTradePad won 2nd prize in the "Best Control Panel in the MQL5 Language" Contest.
The panel consists of 5 tabs.
VirtualTradePad PositionsStyle VirtualTradePad Ordersstyle VirtualTradePad SignalsStyleDemo version of the panel - VirtualTradePad LiteProfit or Loss PadINFO PadYou can also try this panel for
S2 Trend At Wavelet is designed to eliminate the noises on the Price Chart. A clear picture of the market flow will be seen due to the elimination of the unnecessary variations on the chart.
Capabilities of S2 Trend:
Chart End could be shifted to any desired point by Market End Line; A desired Scale could be used by selecting Scale Menu and the result will be shown on the chart; A separate diagram on the Main Chart could be shown by using Chart window's check box; Graphical representation
The indicator is intended for determining the spread and swap size, the distance for setting stop orders and stop losses from the current price allowed and the risk per 1 point in the deposit currency.
The indicator informs a trader about possible additional expenses and profits connected with transferring a position to the next trade session of the financial instrument. It also informs about the spread size and the distance of pending orders, stop loss and trailing from the current price. In a
This software has no equals in the world and represents a universal trade "console" covering trading signals, automated market entry, setting of Stop Loss and Take Profit, as well as Trailing Profit for multiple trades at the same time in a single open window. Intuitive control of the Expert Advisor in "three clicks" ensures a comprehensive use of all its functions on different computers, including tablets PCs.
Interacting with additional signal indicators that mark the chart to give a real mar
Fast Copy MT5 allows to copy trades between different MetaTrader 5 (netting)(hedge) and MetaTrader 4 accounts in any direction and amount, quickly and easily (without loading the system).
Any type of copying is available MT5 —> MT5 MT5 —> MT4 MT4 —> MT5 MT4 —> MT4
* For any interaction with the MT4, it is necessary to additionally install Fast Copy MT4
One tool for sending and receiving transactions: [master] > [slave] operation mode can be selected in th
This panel is designed for quick and easy one-click trading. All you need to do is to set up all the necessary parameters and enjoy trading! It supports two languages: English and Russian.
The panel consists of four parts:
1. Trade Window
Standard trading operations are conducted from this window: opening buy and sell trades. A trade is opened for he current symbol.
TakeProfit, StopLoss and Trailing stop can be set for each trade. To do this, mark an appropriate item. The values are entere
The Trade Manager Pro EA is a MetaTrader Expert Advisor that performs position management for you avoiding human errors and enhancing your trading activity.
Amazingly easy to use Trade easily from the chart Trade with precise risk management, hassle free Capital preservation is top priority Let profits run without your attention Enjoy risk-free trades as soon as possible Automatic trailing stops for all opened trades Initial stop losses are placed as soon as trades are
The indicator is based on the comparison of the correlation of trading instruments following an original algorithm. It determines the difference between correlated contracts (delta). The greater the difference, the more it is likely that this Delta will return to zero.
More suited to the FORTS market.
The greater the deviation from zero, the more it is likely that the price will return to zero. Also, the indicator divergence can be applied by comparing highs and lows.
This indicator allows you to enjoy the two most popular products for analyzing request volumes and market deals at a favorable price:
Actual Depth of Market Chart Actual Tick Footprint Volume ChartThis product combines the power of both indicators and is provided as a single file.
The functionality of Actual COMBO Depth of Market AND Tick Volume Chart is fully identical to the original indicators. You will enjoy the power of these two products combined into the single super-indicator!
Easy Order is an Expert Advisor allowing you to enter any type of trade with one click based on your RISK preferences.
You can choose to enter a trade and automatically calculate your lot size based on how much of your account you want to risk. Risk is calculated based on your Stop Loss placement. You can use a fixed lot size if you don't want to use risk based calculation of lot size. Your previous setting of risk based or fixed lot size remains saved for your next use of this Expert Advi
The script is intended for automatic placing of Buy Stop pending orders, Stop Losses and Take Profits on the user specified levels.
Avoiding unwanted entering a long position in case of false hitting the level as a result of widening of the spread by a dealing center. Avoiding unwanted triggering of a Stop Loss in case a quote pierces a significant level (fractal) without further confirmation with the close price. Setting a necessary virtual order and entering the market in
Safe Automatic is a safe MetaТrader 5 trading robot working autonomously on a VPS server. The good results are achieved on EURUSD.
The EA applies modified versions of a trend-following strategy, half-pyramiding, scalping, Elliott Wave method and speculating trading with a deposit protection. The EA switches the strategies automatically. The robot does not trade at night from 10 p.m. to 4 a.m. (server time).
The robot was tested in the special tester on real ticks. Empirical e
Three variables are available for every strategy, any one of them can be disabled, their period can be changed.
type_order=ORDER_FILLING _FOK - order filling type.
ReverseTrade=false — trades opens in reverse direction if true. ExitOnBar=true — trades close on each bar only. spreadcover=false — Spread you pay includes in profit trades. It's like trade with zero spread but you should remember that it can decrease exact match between tester's result and live one. It
TTMM – "Time To Make Money" – Time When Traders Makes Money on the Stock Exchanges
The ТТММ trade sessions indicator displays the following information:
Trade sessions: American, European, Asian and Pacific. (Note: Sessions are displayed on the previous five days and the current day only. The number of days may change depending on the holidays - they are not displayed in the terminals. The sessions are also not displayed on Saturday and Sunday).
The main trading hours of
Pz Market Sentiment indicator evaluates the market sentiment using raw price action measurements. This indicator is a great trading confirmation, especially for price action traders, but it doesn't have trading implications by itself, because what the price is doing and the market sentiment are not always aligned. Using this indicator is truly a piece of cake:
You can buy if the oscillator is green You can sell if the oscillator is red
The Pz Market Senti
The Spread Record Standart indicator displays spread for each price bar as a bar graph. It uses five variables as spread values:
Spread level at the bar opening; Maximum spread level reached during the bar; Minimum spread level reached during the bar; Spread level at the bar closing; Average spread level within the bar (displayed as a green dot on the corresponding level of the bar)Apart from displaying price bars, SpreadRecord also provides a small built-in panel showing the curre
This indicator shows how much time is left on the current candle.
You have absolute control over appearance of remaining time label. Also, you can set additional flag to show remaining time in the comment section of your chart and how much time has already passed on the current candle measured in percents.
Does not support openning multiple orders on a single symbol on MT5
MultiMTCopier MT5Receiver - new and improved multi-terminal positions copier for your real/demo account, works faster, requires less, flexible in managing and upgrading, new information support. This Expert Advisor is designed for the MetaTrader 5 terminal, trades will be copied into this terminal.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user
The Turtle Trading Indicator implements the original Dennis Richards and Bill Eckhart trading system, commonly known as The Turtle Trader. This trend following system relies on breakouts of historical highs and lows to take and close trades: it is the complete opposite to the "buy low and sell high" approach. The main rule is "Trade an N-day breakout and take profits when an M-day high or low is breached (N must me above M)".
The Turtle Trader legend began with a be
The script is intended for automatic placing of Sell Stop pending orders, Stop Losses and Take Profits on the user specified levels. This script is not that useful as "Virtual pending buy stop", since short positions are opened as Bid price crosses the levels. Thus spread widening is not dangerous. Nevertheless, you need to have this script to prevent unwanted hitting of the Stop Loss levels.
Automation of the process of placing the Sell Stop pending orders, Stop Losses and T
FULL Automatic is a fully autonomous trading robot for MetaТrader 5 without configurable parameters.
It is similar to SAFE Automatic robot intended for traders having no knowledge of trading basics. It works in Low, Medium, High and Extremal trading modes.
The EA applies modified versions of well-known strategies, including Elliott waves, following a trend, half-pyramiding, scalping, speculative trading with a double deposit protection. The EA switches the strategies automati
Found 2 typos :
19. Terminal: Added new graphical objects: Button, Bitmap, Bitmap
Label, Rectangle Label. These objects cannot be manually installed on
the charts and are designed for organizing a user interface for MQL5
MQL4 applications: Expert Advisors, scripts and indicators.
Last sentence :
** In the new MQL4 and MQL5, FILE_SHARE_READ and
FILE_SHARE_WRITE flags are responsible for the files shared use mode.
There were no such files flags in the old MQL4.
I think users have to get used to these typos while using mql5 documents for mql4.
I have the feeling that Documentations are the last things on MetaQuotes mind.
Currently, using mql5_Docs as replacement for new_mql4_Docs is tricky business.
There's still enough differences to confuse anyone who haven't been around both platforms awhile.
It appears that this release is not just a beta. My broker (for my live account) just upgraded MT4 from v509 to v574.
Seemingly all I did was install a fresh copy of MT4 in a separate folder, connected to demo.metaquotes.net, and upgraded that instance of MT4 to 574. When I started the MT4 instance (which is located in a separate folder) that controls my live account, my live account got upgraded to v574. Why?
Also, it appears that MetaEditor did not get updated...still showing v509 on both installations. How do I upgrade to the new MetaEditor for v574 to gain access to the language improvements?
Press F1 to see mql4.chm file.
New version of online MQL4 documentation will be published after release.