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.

There are more than 31 700 topics available on forum

26 new topics on forum:

and 23 more...

Published article "Limitations and Verifications in Expert Advisors".

Limitations and Verifications in Expert Advisors

Is it allowed to trade this symbol on Monday? Is there enough money to open position? How big is the loss if Stop Loss triggers? How to limit the number of pending orders? Was the trade operation executed at the current bar or at the previous one? If a trade robot cannot perform this kind of verifications, then any trade strategy can turn into a losing one. This article shows the examples of verifications that are useful in any Expert Advisor.

New publications in CodeBase

  • spread_on_chart The spread_on_chart indicator shows the current values of spread, stop and freeze levels.
  • CloseAllTrades Script closes all opened and pending positions.

17 new topics on forum:

and 14 more...

The most popular forum topics:

Published article "Creating Multi-Colored Indicators in MQL5".

Creating Multi-Colored Indicators in MQL5

In this article, we will consider how to create multi-colored indicators or convert the existing ones to multi-color. MQL5 allows to represent the information in the convenient form. Now it isn't necessary to look at a dozen of charts with indicators and perform analyses of the RSI or Stochastic levels, it's better just to paint the candles with different colors depending on the values of the indicators.

New publications in CodeBase

9 new topics on forum:

and 6 more...

12 new topics on forum:

and 9 more...

New publications in CodeBase

There are more than 31 630 topics available on forum

26 new topics on forum:

and 23 more...

The most popular forum topics:

31 new topics on forum:

and 28 more...

Published article "Creating and Publishing of Trade Reports and SMS Notification".

Creating and Publishing of Trade Reports and SMS Notification

Traders don't always have ability and desire to seat at the trading terminal for hours. Especially, if trading system is more or less formalized and can automatically identify some of the market states. This article describes how to generate a report of trade results (using Expert Advisor, Indicator or Script) as HTML-file and upload it via FTP to WWW-server. We will also consider sending notification of trade events as SMS to mobile phone.

There are more than 31 560 topics available on forum

23 new topics on forum:

and 20 more...

New publications in CodeBase

Published article "Transferring Indicators from MQL4 to MQL5".

Transferring Indicators from MQL4 to MQL5

This article is dedicated to peculiarities of transferring price constructions written in MQL4 to MQL5. To make the process of transferring indicator calculations from MQL4 to MQL5 easier, the mql4_2_mql5.mqh library of functions is suggested. Its usage is described on the basis of transferring of the MACD, Stochastic and RSI indicators.

24 new topics on forum:

and 21 more...

The most popular forum topics:

Published article "The Optimal Method for Calculation of Total Position Volume by Specified Magic Number".

The Optimal Method for Calculation of Total Position Volume by Specified Magic Number

The problem of calculation of the total position volume of the specified symbol and magic number is considered in this article. The proposed method requests only the minimum necessary part of the history of deals, finds the closest time when the total position was equal to zero, and performs the calculations with the recent deals. Working with global variables of the client terminal is also considered.

Published article "Interview with Nikolay Kositsin: multicurrency EA are less risky (ATC 2010)".

Interview with Nikolay Kositsin: multicurrency EA are less risky (ATC 2010)

Nikolay Kositsin has told us about his developments. He believes multicurrency Expert Advisors are a promising direction; and he is an experienced developer of such robots. At the championships, Nikolay participates only with multicurrency EAs. His Expert Advisor was the only multicurrency EA among the prize winners of all the ATC contests.

There are more than 31 510 topics available on forum

23 new topics on forum:

and 20 more...

Published article "How to Write an Indicator on the Basis of Another Indicator".

How to Write an Indicator on the Basis of Another Indicator

In MQL5 you can write an indicator both from a scratch and on the basis of another already existing indicator, in-built in the client terminal or a custom one. And here you also have two ways - to improve an indicator by adding new calculations and graphical styles to it , or to use an indicator in-built in the client terminal or a custom one via the iCustom() or IndicatorCreate() functions.

New publications in CodeBase

  • The "Night" Expert Advisor An Expert Advisor for trading during the night.
  • NRTR The NRTR (Nick Rypock Trailing Reverse) indicator draws the base line (support and resistance) and a target line.
  • Modified Brooky Strength Indicator Displays the stength of a currency based on 7 of its crosses. Origianally done by Brooky a few pages back in the code base.
  • Easiest ever Easiest daytrade robot ever - does the same what happened yesterday.
  • Simple Trend Detector Simple Trend Detector. Use the same as RSI and DeM.

18 new topics on forum:

and 15 more...

17 new topics on forum:

and 14 more...

The most popular forum topics:

There are more than 31 450 topics available on forum

22 new topics on forum:

and 19 more...

Published article "Testing Performance of Moving Averages Calculation in MQL5".

Testing Performance of Moving Averages Calculation in MQL5

A number of indicators have appeared since the time of first Moving Average indicator creation. Many of them use the similar smoothing methods, but the performances of different moving averages algorithms have not been studied. In this article, we will consider possible ways of use the Moving Averages in MQL5 and compare their performance.

29 new topics on forum:

and 26 more...

Published article "Processing of trade events in Expert Advisor using the OnTrade() function".

Processing of trade events in Expert Advisor using the OnTrade() function

MQL5 gave a mass of innovations, including work with events of various types (timer events, trade events, custom events, etc.). Ability to handle events allows you to create completely new type of programs for automatic and semi-automatic trading. In this article we will consider trade events and write some code for the OnTrade() function, that will process the Trade event.

There are more than 31 400 topics available on forum

28 new topics on forum:

and 25 more...

The most popular forum topics:

New publications in CodeBase

  • Dual Trix 15 and 30 Dual Trix Indicator : 2 Moving Averages.
  • AutoMagiCal Auto Magic Nr. Calc The Magic Nr. per ASC II Code from Symbols
  • Heat Map The purpose of this indicator is to highlight the price zones that had the most activity : the hotest zones.

24 new topics on forum:

and 21 more...

Published article "The Use of ORDER_MAGIC for Trading with Different Expert Advisors on a Single Instrument".

The Use of ORDER_MAGIC for Trading with Different Expert Advisors on a Single Instrument

This article considers the questions of information coding, using the magic-identification, as well as the division, assembly, and synchronization of automatic trading of different Expert Advisors. This article will be interesting to beginners, as well as to more experienced traders, because it tackles the question of virtual positions, which can be useful in the implementation of complex systems of synchronization of Expert Advisors and various strategies.

New publications in CodeBase

  • Bulls Bears Power The indicator determines the bulls or bears prevail on the market and plots their strength.
  • Reversal Bar The indicator helps to find the reversal bar of the trend.
  • TimerClosingPeriod v.2 The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.
  • Color Parabolic 2 Color Parabolic 2. The color depends on the acceleration factor.
  • The CGV class for working with global variables The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.
  • OsMaSter_V0 The Expert Adviser uses the indicator OsMA.
There are more than 1 820 codes published in Codebase
There are more than 31 330 topics available on forum

25 new topics on forum:

and 22 more...

The most popular forum topics:

New publications in CodeBase

There are more than 220 articles published on site

Published article "A Library for Constructing a Chart via Google Chart API".

A Library for Constructing a Chart via Google Chart API

The construction of various types of diagrams is an essential part of the analyses of the market situation and the testing of a trading system. Frequently, in order to construct a nice looking diagram, it is necessary to organize the data output into a file, after which it is used in applications such as MS Excel. This is not very convenient and deprives us of the ability to dynamically update the data. Google Charts API provided the means for creating charts in online modes, by sending a special request to the server. In this article we attempt to automate the process of creating such a request and obtaining a chart from the Google server.

1...282283284285286287288289290291292293294295296...374