Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

History of MQL5.community development

The most popular trading robots and technical indicators, news signals, regular incoming ready-made MQL5 programs in CodeBase and the most discussed Forum topics.

Most downloaded source codes this month

Bestsellers in the Market:

The most downloaded free products:

22 new topics on forum:

and 19 more...
There are more than 77 710 topics available on forum

The most popular forum topics:

Bestsellers in the Market:

New publications in CodeBase

  • Auto Trade (RSI) This is my first expert totally based on RSI.
  • RSI Monitor Simple and clean panel that shows RSI values on all timeframes with Oversold and Overbought notification.
  • 1 Click Button To Close All Open and Pending Orders V03 Click "Close All" button to close all your open & pending orders at once.
  • Roboost v1 Roboost is an EA for MetaTrader 4 trading using several half-scalping and traditional trade management techniques. It shall work on different pairs and TF. Target is H1 for major pairs.

Published article "Thomas DeMark's contribution to technical analysis".

Thomas DeMark's contribution to technical analysis

The article details TD points and TD lines discovered by Thomas DeMark. Their practical implementation is revealed. In addition to that, a process of writing three indicators and two Expert Advisors using the concepts of Thomas DeMark is demonstrated.

Bestsellers in the Market:

Most read articles this week

Universal Expert Advisor: Trading Modes of Strategies (Part 1)

Universal Expert Advisor: Trading Modes of Strategies (Part 1)

Any Expert Advisor developer, regardless of programming skills, is daily confronted with the same trading tasks and algorithmic problems, which should be solved to organize a reliable trading process. The article describes the possibilities of the CStrategy trading engine that can undertake the solution of these tasks and provide a user with convenient mechanism for describing a custom trading idea.

Universal Expert Advisor: the Event Model and Trading Strategy Prototype (Part 2)

Universal Expert Advisor: the Event Model and Trading Strategy Prototype (Part 2)

This article continues the series of publications on a universal Expert Advisor model. This part describes in detail the original event model based on centralized data processing, and considers the structure of the CStrategy base class of the engine.

Fuzzy logic to create manual trading strategies

Fuzzy logic to create manual trading strategies

This article suggests the ways of improving manual trading strategy by applying fuzzy set theory. As an example we have provided a step-by-step description of the strategy search and the selection of its parameters, followed by fuzzy logic application to blur overly formal criteria for the market entry. This way, after strategy modification we obtain flexible conditions for opening a position that has a reasonable reaction to a market situation.

Most downloaded source codes this week

  • Daily Channel Simple display any time zone daily channel.
  • Nevalyashka 10-line EA The Expert Advisor simply opens orders in the opposite direction after the current order is closed.
  • Strength Arrow This is an indicator which totally based on RSI. The reason to amend this indicator is knowing the strength of a currency.

15 new topics on forum:

and 12 more...

13 new topics on forum:

and 10 more...

Bestsellers in the Market:

The most popular forum topics:

23 new topics on forum:

and 20 more...
There are more than 77 650 topics available on forum

The most downloaded free products:

Bestsellers in the Market:

There are more than 5 610 codes published in Codebase

New publications in CodeBase

  • Arbitrage The multi-currency arbitrage tactics.
  • EMA and SMMA are identical This tiny script visually demonstrates the identity of two common Moving Averages
  • FirstStrike Displays what was reached first - Low or High for the current bar.
  • cloud's trade 2 An example for my yet unpublished article. An easy template for writing custom experts.
  • PowerTrend The trend strength(phase) indicator.
  • MIndex The indicator calculates the indices of the USD, EUR, GBP, CHF, AUD, CAD currencies and displays the index specified in the parameters in a separate window.
  • Complex pairs The idea of the indicator is to select each currency from currency pairs separately. The currencies are measured in relative units (points). The sum of all currencies at any given time is equal to zero.
  • Complex Common Displays the overbought or oversold states of the currencies relative to each other.
  • Chandelier Exit Chandelier Exit calculates the trailing stop based either on the maximum value of the maximum price or the maximum value of the close price over a specified period.
  • Camarilla The ideal indicator for those who like to work "by levels". It clearly shows the reversal level, support/resistance levels for the current day.
  • BrainTrend2 Stop The indicator demonstrates the trend stops with multicolor dots. In order to distinguish the targets the BrainTrend2Stop uses Blue and Red dots.
  • Brain Trend1 Stop The indicator demonstrates the trend stops with multicolor dots.
  • Avg Daily Range The Avg Daily Range indicator.
  • MCVA - Multichart Visual Analyser The script helps to perform the visual analysis of multiple currency pairs on a custom time frame.
  • Multiple ZigZags in a single window A simple indicator that demonstrates the general principle of displaying multiple indicators from different timeframes in a single window
  • ShowOrdersOnChart Small indicator for monitoring the history of closed and the status of open orders on the chart. Red - unprofitable order, green - profitable.
  • ACD_PV Belongs to the Pivot group.
  • ^Dyn_Pivot Calculates the pivot point.
  • StochasticONpricePrice A version of the Stochastic located right in the price window.
  • Kazakh Boa ZigZag with unusual properties (specify the length when plotting).
  • DT-ZigZag-Lauer An interesting attempt to make levels based on ZigZag values. This indicator is strongly recommended for those who can not "feel" the market. The indicator gives a very clear view of the market.
  • DT-ZigZag-ATR An attempt to combine ZigZag and ATR. And to use it for determining the trend phase.
  • GannZigZag Gann angles inscribed in ZigZag.
  • 5 _34_5 The 5 34 5 indicator
  • FTLM_hist The FTLM hist indicator is one of many digital indicators that emerged after some of the articles by Vladimir Kravchuk.
  • SMI The SMI indicator. Based on the "Momentum, Direction, and Divergence" book by Blau.
  • StrangeIndicator This indicator belongs to the oscillator group.
  • T3 TRIX (ROC of T6) The TRIX indicator represents the rate-of-change percentage, smoothed by the exponential МА of the closing price.
  • Linear Regression When applied to financial markets this method is usually used to determine the moments of prices extreme deviation from the "standard" level.
  • T3_adx_+di_-di_burst Smoothing for the ADX indicator. Recalculates the specified number of bars at every tick (not optimized)
  • BW-wiseMan-1 The first version of the wlxBWWiseMan indicator. Displays the candles of trend changes.
  • Import of "minute bars" from forexite.com Script for preparing the "minute bars" from forexite.com to be imported to MetaTrader 4
  • Trend power (stop loss) The indicator is based on comparison of the current price to six simple moving averages with the periods 10, 20, 30, 40, 50 and 60. The values of the indicator are fixed: -100, -66, -33, 0, 33, 66, 100.
  • ICWR.a The script plots one Fibo line based on the latest ZigZag. This is a remarkable tool to get rid of unnecessary work for those who constantly place Fibo grids (the majority).
  • ICWR v0 The indicator plots four different Fibo lines based on four latest ZigZags. Useful when applied on the higher timeframes.
  • StocRSI Superposition of Stoch and RSI. One of the most commonly used indicators. This is the most fortunate and useful indicator.
  • 3-line MACD This indicator adds a smoothing curve to the MACD.
  • BBhisto One of the most interesting modifications of Bollinger bands. It shows the standard deviation in the bar representation.
  • BBsqueeze Another indicator based on the «Bollinger bands». Good for displaying «Where the trend is, and where the flat is».
  • BBwithFractdev Literally, "Bollinger bands with a fractional ratio of deviation."
  • Murrey_Math_Line_X Murrey Math (ММ) is a trading system suitable for any markets. The MM system comprises two main components: geometry, used for measuring the price movements of the specified market, and a set of rules based on the Gann technique and Japanese candlesticks.
  • 3shadeopen One of the indicators that display the session times.
  • Time1 The idea of this indicator is quite simple: draw lines to remember the current phase of the market and who "rules" the market.
  • Instantaneous Trend Line One of the indicators I recommend to novices as the entry indicator.
  • Solar Winds As it can be seen, the indicator is perfect. Simply buy at the second black bar and sell at the second red bar. And take all the movement literally pip by pip.
  • Pattern Displays the type of candlestick or small pattern in accordance with the general setting.
  • Pattern Alert v1.1 A more advanced patterns analyzer. In addition, it generates a signal.
  • DJ Lines The DJ Lines belongs to the Pivot group. All similar indicators operate on the principle - «Based on the values of the previous day (days) it is possible to calculate a point, passing which would mean a change in the trend».
  • Digits_Comment One of the new tendencies in trading is digital indicators.
  • Keltner Channels If you like plotting channels, I recommend plotting them yourself. This is particularly true for the slope channels. However, if you use channels merely as filters or simply like to set alerts on these levels, then the indicator will be useful.
  • NB_SHI_Channel Really useful channel indicator.
  • Dynamic Zone RSI In classical literature, the relative strength index is described as the "price-following oscillator that ranges between 0 and 100, and signals the market sentiment to change the trend at high (close to 100%) or low (close to 0%)...
  • Bollinger Bands %b The most common and essential modification of Bollinger bands. Displays the standard deviation in a separate window, without disturbing the trading psychologically.
  • ADXDMI A modification of the popular ADX indicator.
  • Kaufman Kaufman Moving Average.
  • 4Period_RSI_Arrows The 4Period RSI Arrows indicator
  • Channel based on the Fibo levels Moving average channel based on the Fibo levels
  • RSI_BANDS_MA Indicator based on the data of multiple RSI, Bollinger, MAverage. Beautifully displays the areas for buying and selling. Recoups 30-90 points, depending on the currency.
  • Calculation of the 3-rd Elliott wave Script for the calculation of the third Elliott wave
  • 4 Period MA Indicates the number of periods for the calculation of the average line.
  • 3C JRSX H Through the use of more sophisticated smoothing algorithms this RSI has less delay and smoother shape of the curve.
  • FanSimple8 The FanSimple displays the correctness of reversal of the moving averages fan on different timeframes. The indicator includes four moving averages with the values 5, 21, 55, 233, that are displayed on the chart.
  • Plagiat The name of the indicator is left as it was: Plagiat. In the original version it was HMA.mq4 (based on a publication in ForexMagazine #104").
  • The currency indices indicator The currency indices indicator with the ability to calculate CCI, RSI, Momentum, MACD and Stochastic.
  • CatFX50 The CatFX50 is an easy and winning system, but it is not so simple. Be sensible and place stops at the distance of 34 pips.
  • 3end Shows when to buy and when to sell. Position is opened when the indicator color changes: if there is a green dot - buy, if there is a red dot - sell.
  • Divergence Displays the situation when the directions of price movement and technical indicators do not coincide. This is mostly seen when the indicator reaches an overbought or oversold area (20;80).
  • Diapazon The indicator displays the ranges. Useful for the visualization of various "zones".
  • DayImpuls Simple indicator with great potential for the analysis of data and its use.
  • Custom MACD Displays the difference between the long-term and short-term market sentiments relative to the price.
  • Signals A solution for those who can not devote much time to the analysis of the current situation on the Forex market and to making correct and confident decisions, that are an integral part of online trading.
  • Lsma The LSMA is used for confirmation of counter-trend signals.
  • Swaper The Expert Advisor that gains profit from the positive swaps + multi-currency arbitrage tactics.
  • Range The Range indicator displays the index of the range expansion and is an oscillator for the market calculation.
  • FX-CHAOS Indicators for the "Chaos" trading system described in the third book by Bill Williams (Bill Williams and Justin Williams. Trading Chaos - Second Edition).
  • ZZ_All Quotings 0-0050 The ZZ_All Quotings 0-0050 script is designed for downloading history on all currency pairs, metals, known indices, CFD and for controlling "holes" in history.
  • SymbolLister A simple function that creates a list of the available currency pair symbols.
  • Function library and Experts for trailing / Yury Dzyuban Function library and Experts for trailing (11 types). Simple usage of complex algorithms.
  • Dealers Trade v 7.74 MACD The Dealers Trade v 7.74 EA is based on the algorithm of multi-lot scalping. The EA has been repeatedly tested on a live account.
  • Dealers Trade v 7.51 RIVOT The Dealers Trade v 7.51 RIVOT EA is based on the algorithm of multi-lot scalping. The EA has been repeatedly tested on a live account.
  • Movment The indicator shows direction of movement and rollbacks.
  • awo Holidays The awo Holidays EA reports the status of the next day: working day, weekend or holiday.
  • History analysis on presence of holes and gaps The history_data_analysis_v3 script checks the history for missing bars, determines the size of the holes, gaps and makes a list of them.
  • Converting hst-files into csv files The hst2csv script is used for converting *.hst files to *.csv files, that can be imported into the MetaTrader 4 client terminal with no errors.
  • Auto optimizer The library for automated optimization of an EA during its operation.
  • s_wininet Example of using wininet.dll for downloading a web page.
  • The WaveMarker script set A set of scripts for quick drawing the Elliott waves.
  • Extended Regression StopAndReverse Universal trend utility for near predictions and making decisions by "stops" and/or "stops/reversals" of the orders.
  • CurrencyChart The CurrencyChart indicator allows to display the charts of multiple currencies (symbols) in a single window.
  • Writing the quotes to a txt file with the full path and file name This library allows you to write a text file with the quotes of the symbol in any place on your hard drive.
  • OsMACD The OsMACD indicator is a combination of the colored Moving Average of Oscillator(OsMA) and Moving Average Convergence/Divergence(MACD) indicators.
  • TimeLib by BabyBear Additional functions for working with the datetime variables.
  • FloatPivot A simple indicator of the floating reference center and its nearest resistance and support levels.
  • Comment2 The Comment2 library expands the capabilities of the standard Comment function for comment output.
  • WATR trend indicator, simple but clear A simple trend indicator that clearly shows the direction of the current trend. It can be used in the breakout trading systems.
  • New_Fractal_Lines The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.
  • Function library for maintaining positions with a simple trailing stop With the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any Expert Advisor.
  • Library of functions for working with INI-files. The library contains five functions for reading the values from an INI-file and five functions for writing the values to an INI-file. Thus, there are five pairs of functions to read/write the values of 'integer array', 'boolean', 'double', 'integer' and 'string' types.
  • MA-4H The MA-4H indicator displays the moving average of the selected timeframe on the chart of the current timeframe. The intersection of the two moving averages is implemented as optional. The external parameters allow to activate the second moving average in order to see their intersection.
  • Period ConverterALL Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.

The most popular forum topics:

27 new topics on forum:

and 24 more...

Bestsellers in the Market:

Published article "Universal Expert Advisor: Custom Strategies and Auxiliary Trade Classes (Part 3)".

Universal Expert Advisor: Custom Strategies and Auxiliary Trade Classes (Part 3)

In this article, we will continue analyzing the algorithms of the CStrategy trading engine. The third part of the series contains the detailed analysis of examples of how to develop specific trading strategies using this approach. Special attention is paid to auxiliary algorithms — Expert Advisor logging system and data access using a conventional indexer (Close[1], Open[0] etc.)

Bestsellers in the Market:

17 new topics on forum:

and 14 more...

New publications in CodeBase

  • Trading Comments Commentary on behalf of Exponential Moving Average.
  • Nevalyashka 10-line EA The Expert Advisor simply opens orders in the opposite direction after the current order is closed.

32 new topics on forum:

and 29 more...
There are more than 77 480 topics available on forum

Bestsellers in the Market:

The most popular forum topics:

Most read articles this month

MetaTrader 4 on Mac OS

MetaTrader 4 on Mac OS

Apple products have become very popular. MetaQuotes Software Corp. attentively follows the progress of the IT industry and has already released the special mobile applications for iOS-based devices - MetaTrader 4 for iPhone and MetaTrader 5 for iPhone.There are many topics on the MQL4.community forum, where people are seeking a solution for running MetaTrader 4 under the Mac OS operating system. In this article, you will find out how to work in MetaTrader 4 via the Apple's popular operating system.

Graphical Interfaces II: the Menu Item Element (Chapter 1)

Graphical Interfaces II: the Menu Item Element (Chapter 1)

In the second part of the series, we will show in detail the development of such interface elements as main menu and context menu. We will also mention drawing elements and create a special class for it. We will discuss in depth such question as managing program events including custom ones.

Trading signals module using the system by Bill Williams

Trading signals module using the system by Bill Williams

The article describes the rules of the trading system by Bill Williams, the procedure of application for a developed MQL5 module to search and mark patterns of this system on the chart, automated trading with found patterns, and also presents the results of testing on various trading instruments.

Most downloaded source codes this month

  • Lossless MA The EA opens trades at the intersection of the fast and the slow MAs. It has the function of outstaying the losses.
  • Example of RSI Automated This is my 1st published code, it is very simple code example: RSI 14 (price close) — open buy when it is < 25, close buy when it is > 50, open sell when it is > 75, close sell when it is < 50.
  • PSAR trader v1.1 Trades when the first parabolic sar dot occurs signaling a new trend

20 new topics on forum:

and 17 more...

Bestsellers in the Market:

Published article "Graphical Interfaces II: Setting Up the Event Handlers of the Library (Chapter 3)".

Graphical Interfaces II: Setting Up the Event Handlers of the Library (Chapter 3)

The previous articles contain the implementation of the classes for creating constituent parts of the main menu. Now, it is time to take a close look at the event handlers in the principle base classes and in the classes of the created controls. We will also pay special attention to managing the state of the chart depending on the location of the mouse cursor.

Published article "MetaTrader 5 features hedging position accounting system".

MetaTrader 5 features hedging position accounting system

In order to expand possibilities of retail Forex traders, we have added the second accounting system — hedging. Now, it is possible to have multiple positions per symbol, including oppositely directed ones. This paves the way to implementing trading strategies based on the so-called "locking" — if the price moves against a trader, they can open a position in the opposite direction.

17 new topics on forum:

and 14 more...
There are more than 77 430 topics available on forum

The most popular forum topics:

Most read articles this week

Universal Expert Advisor: Trading Modes of Strategies (Part 1)

Universal Expert Advisor: Trading Modes of Strategies (Part 1)

Any Expert Advisor developer, regardless of programming skills, is daily confronted with the same trading tasks and algorithmic problems, which should be solved to organize a reliable trading process. The article describes the possibilities of the CStrategy trading engine that can undertake the solution of these tasks and provide a user with convenient mechanism for describing a custom trading idea.

Graphical Interfaces II: the Menu Item Element (Chapter 1)

Graphical Interfaces II: the Menu Item Element (Chapter 1)

In the second part of the series, we will show in detail the development of such interface elements as main menu and context menu. We will also mention drawing elements and create a special class for it. We will discuss in depth such question as managing program events including custom ones.

Graphical Interfaces II: the Separation Line and Context Menu Elements (Chapter 2)

Graphical Interfaces II: the Separation Line and Context Menu Elements (Chapter 2)

In this article we will create the separation line element. It will be possible to use it not only as an independent interface element but also as a part of many other elements. After that, we will have everything required for the development of the context menu class, which will be also considered in this article in detail. Added to that, we will introduce all necessary additions to the class, which is the base for storing pointers to all the elements of the graphical interface of the application.

Most downloaded source codes this week

  • Moving Average Ex Moving average with some extra features.
  • Example of Heiken Ashi + SMA Automated Showing how to trade FX market trend using the (SMA: Simple Moving Average) with the Japanese indicator Heiken Ashi.
  • Trend Movers The indicator shows the current possibilities for getting buy, sell, or exit positions. No need to attach 6 indicators at a time.

Bestsellers in the Market:

Bestsellers in the Market:

17 new topics on forum:

and 14 more...

The most downloaded free products:

19 new topics on forum:

and 16 more...

The most popular forum topics:

1...344345346347348349350351352353354355356357358...585