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 5 660 codes published in Codebase

New publications in CodeBase

  • Exp_MFI_Histogram A trading system based on the signals of the MFI_Histogram indicator.
  • Exp_RSI_Histogram A trading system based on the signals of the RSI_Histogram indicator.
  • Multicurrency Expert A multi-currency (10 currency pairs) Expert Advisor that does not use indicators.
  • RVI_Histogram The classical RVI oscillator implemented as a histogram with a color indication of entering the overbought and oversold areas, as well as a colored cloud between the signal line and the oscillator to indicate the oscillator intersections.
  • Stochastic_Histogram The classical Stochastic Oscillator implemented as a histogram with a color indication of entering the overbought and oversold areas, as well as a colored cloud between the signal line and the oscillator to indicate the oscillator intersections.
  • MFI_Histogram The classical MFI indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.
  • WPR_Histogram The classical WPR indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.
  • DeMarker_Histogram The classical DeMarker indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.
  • RSI_Histogram The classical RSI indicator implemented as a histogram with a color indication of entering the overbought and oversold areas.
  • ColorXMACDCandle The ColorXMACD indicator implemented as a sequence of candlesticks.
  • MAOscillator A simple oscillator based on the difference between values of two MAs either of different periods or of the same one but with a "lag" of a few bars.
  • FastStochastic_HTF The FastStochastic stochastic oscillator with the noise reduction, and the timeframe selection option available in input parameters.
  • Exp_ForexLine A trading system based on the signals of the ForexLine indicator.
  • DivergenceBar A signal indicator which points at the reverse bars based on Bill Williams' Profitunity system excluding the angulation relative to the Alligator indicator mouth.
  • Exp_Extrem_N A trading system based on the signals of the Extrem_N indicator.
  • XMA_BBx7_HTF The XMA_BBx7 indicator with the timeframe selection option available in input parameters.
  • Extrem_N_HTF The Extrem_N indicator with the timeframe selection option available in input parameters.
  • Extrem_N This is a plain and simple indicator that determines the rising high or falling low.
  • Notches_HTF The Notches indicator with the timeframe selection option available in input parameters.
  • XMA_BBx7 Three Bollinger Bands channels based on one moving average, with the display of the last values as price labels.
  • BB_OsMA_HTF The BB_OsMA indicator with the timeframe selection option available in input parameters.
  • ForexLine_HTF The ForexLine indicator with the timeframe selection option available in input parameters.
  • XMA_BBx7_Cloud_HTF The XMA_BBx7_Cloud indicator with the timeframe selection option available in the input parameters.
  • XMA_BBx7_Cloud Three Bollinger Bands channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.
  • ForexLineSign A semaphore signal indicator that generates trade signals in accordance with trend direction changes.
  • ForexLine A trend indicator in the form of a moving average that changes color depending on trend direction.
  • XMA_BBx3_HTF The XMA_BBx3 indicator with the timeframe selection option available in input parameters.
  • XMA_BBx5_HTF The XMA_BBx5 indicator with the timeframe selection option available in input parameters.
  • XMA_BBx5_Cloud_HTF The XMA_BBx5_Cloud indicator with the timeframe selection option available in the input parameters.
  • MultiTimeFrame Indicator This indicator help you keep 3 different timeframes on the screen to see the price action clearly on both short term and long term without switching buttons.

Published article "Enhancing the StrategyTester to Optimize Indicators Solely on the Example of Flat and Trend Markets".

Enhancing the StrategyTester to Optimize Indicators Solely on the Example of Flat and Trend Markets

It is essential to detect whether a market is flat or not for many strategies. Using the well known ADX we demonstrate how we can use the Strategy Tester not only to optimize this indicator for our specific purpose, but as well we can decide whether this indicator will meet our needs and get to know the average range of the flat and trend markets which might be quite important to determine stops and targets of the markets.

Most read articles this month

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.)

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.

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.

Most downloaded source codes this month

  • Zonal Trading The Expert Advisor which uses AO and AC. Buying and selling is performed when the colors of the indicators match.
  • RSI_Expert_v2.0 The Expert Advisor based on the RSI indicator. МА and martingale are added in the new version.
  • RSI_MA_Trade_Sist_Chart The signal indicator that detects potential market entry points.

Bestsellers in the Market:

33 new topics on forum:

and 30 more...
There are more than 78 110 topics available on forum
There are more than 5 630 codes published in Codebase

Bestsellers in the Market:

22 new topics on forum:

and 19 more...

The most popular forum topics:

Published article "MQL5 Cookbook - Programming moving channels".

MQL5 Cookbook - Programming moving channels

This article presents a method of programming the equidistant channel system. Certain details of building such channels are being considered here. Channel typification is provided, and a universal type of moving channels' method is suggested. Object-oriented programming (OOP) is used for code implementation.

New publications in CodeBase

  • Hidden StopLoss This library is made for experts that need to calculate StopLoss and TakeProfit without putting SL/TP points on the trade.
  • Fibonacci Levels This is an indicator which draws Fibonacci levels as indicator indexes.

Bestsellers in the Market:

Most read articles this week

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.)

Graphical Interfaces II: The Main Menu Element (Chapter 4)

Graphical Interfaces II: The Main Menu Element (Chapter 4)

This is the final chapter of the second part of the series about graphical interfaces. Here, we are going to consider the creation of the main menu. The development of this control and setting up handlers of the library classes for correct reaction to the user's actions will be demonstrated here. We will also discuss how to attach context menus to the items of the main menu. Adding to that, we will mention blocking currently inactive elements.

Graphical Interfaces III: Groups of Simple and Multi-Functional Buttons (Chapter 2)

Graphical Interfaces III: Groups of Simple and Multi-Functional Buttons (Chapter 2)

The first chapter of the series was about simple and multi-functional buttons. The second article will be dedicated to groups of interconnected buttons that will allow the creation of elements in an application when a user can select one of the option out of a set (group).

Most downloaded source codes this week

  • Doctor EA This Expert Advisor depends on Moving Average 400 to indicate trend and "slope-direction-line" indicator, it will be attached with EA.
  • EA Hedge Average Expert Advisor created using hedge function and the moving average indicator.
  • Ilan1.4 The authors say that this system can trade 24 hours a day producing a stable profit even for a novice trader.

14 new topics on forum:

and 11 more...

The most downloaded free products:

The most popular forum topics:

21 new topics on forum:

and 18 more...
There are more than 78 030 topics available on forum

Bestsellers in the Market:

21 new topics on forum:

and 18 more...

Bestsellers in the Market:

22 new topics on forum:

and 19 more...

The most popular forum topics:

Bestsellers in the Market:

18 new topics on forum:

and 15 more...
There are more than 77 970 topics available on forum

Bestsellers in the Market:

New publications in CodeBase

  • StopLoss Calculation This library made to simplify calculating your stop loss.
  • SmartTrail This library has SmartTrail trail function that depends on the previous candle.
  • MoneyManagement It calculates the lot size depending on risk percentage entered by user in input parameters.

The most popular forum topics:

Most read articles this month

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.

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.

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.)

Most downloaded source codes this month

31 new topics on forum:

and 28 more...

Bestsellers in the Market:

Published article "Graphical Interfaces III: Groups of Simple and Multi-Functional Buttons (Chapter 2)".

Graphical Interfaces III: Groups of Simple and Multi-Functional Buttons (Chapter 2)

The first chapter of the series was about simple and multi-functional buttons. The second article will be dedicated to groups of interconnected buttons that will allow the creation of elements in an application when a user can select one of the option out of a set (group).

22 new topics on forum:

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

The most downloaded free products:

Bestsellers in the Market:

New publications in CodeBase

  • PriceAction indicator PriceAction indicator based on indicating Price Action candles. It indicates each candle type by different colored histogram bars.
  • Count Buy-Sell Position This library has two functions: first to count OP_BUY positions and second to count OP_SELL positions.
  • BreakEven&TrailingStop This library has two functions: BreakEven & TrailingStop.
  • Lot Multiple This function calculates your lot size depending on definite conditions explained in input variables.
  • Doctor EA This Expert Advisor depends on Moving Average 400 to indicate trend and "slope-direction-line" indicator, it will be attached with EA.

The most popular forum topics:

15 new topics on forum:

and 12 more...

Bestsellers in the Market:

Most read articles this week

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.)

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.

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.

Most downloaded source codes this week

  • Auto Trade (RSI) This is my first expert totally based on RSI.
  • 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.
  • PowerTrend The trend strength(phase) indicator.

18 new topics on forum:

and 15 more...

Bestsellers in the Market:

1...316317318319320321322323324325326327328329330...559