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.

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.
There are more than 32 020 topics available on forum

18 new topics on forum:

and 15 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...

The most popular forum topics:

12 new topics on forum:

and 9 more...

New publications in CodeBase

24 new topics on forum:

and 21 more...
There are more than 31 950 topics available on forum

32 new topics on forum:

and 29 more...

The most popular forum topics:

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.

The most popular forum topics:

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.

There are more than 31 890 topics available on forum

24 new topics on forum:

and 21 more...

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.

The most popular forum topics:

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.
There are more than 31 830 topics available on forum

18 new topics on forum:

and 15 more...

The most popular forum topics:

17 new topics on forum:

and 14 more...

The most popular forum topics:

23 new topics on forum:

and 20 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.

The most popular forum topics:

There are more than 31 770 topics available on forum

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.

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.

The most popular forum topics:

There are more than 31 710 topics available on forum

25 new topics on forum:

and 22 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

The most popular forum topics:

26 new topics on forum:

and 23 more...
1...495496497498499500501502503504505506507508509...591