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 "How to Exchange Data: A DLL for MQL5 in 10 Minutes".

How to Exchange Data: A DLL for MQL5 in 10 Minutes

Now not so many developers remember how to write a simple DLL, and what are special features of different system binding. Using several examples, I will try to show the entire process of the simple DLL's creation in 10 minutes, as well as to discuss some technical details of our binding implementation. I will show the step-by-step process of DLL creation in Visual Studio with examples of exchanging different types of variables (numbers, arrays, strings, etc.). Besides I will explain how to protect your client terminal from crashes in custom DLLs.

25 new topics on forum:

and 22 more...

The most popular forum topics:

New publications in CodeBase

  • FractalsPeriod An indicator lets you specify the number of bars separately before and after the current High / Low (fractal) can.
  • Bulls Power The Bulls Power Indicator measures the balance of the bulls strength.
  • ZigZagColor This is a modified version of ZigZag indicator that draws lines with different colors depending on the price movement direction.
  • ZigZag The Zigzag indicator is a series of sections connecting significant tops and bottoms at the price plot.
  • Williams’ Percent Range (%R) The Williams’ Percent Range Indicator (%R) is dynamic technical indicator, which determines whether the market is overbought/oversold.
  • Williams'Accumulation/Distribution (W_A/D) The Williams' A/D indicator is the accumulated sum of positive "accumulational" and negative "distributional" price movements. Divergences between the indicator and the price are a signals.
  • Volume Rate of Change (VROC) The Volume Rate of Change (VROC) is an indicator of the direction where the volume trend moves.
  • Volumes The Volumes indicator shows volumes with different colors depending on the volume changes.
  • Ultimate Oscillator The Ultimate Oscillator was developed by Larry Williams. It uses the averaging of three oscillators with different periods.
  • Stochastic Oscillator The Stochastic Oscillator compares where a security’s price closed relative to its price range over a given time period.
  • Standard Deviation (StdDev) The Standard Deviation (StdDev) measures the market volatility. This indicator charactrizes the scale of price changes relating to the Moving Average.
  • Relative Vigor Index (RVI) The main point of the Relative Vigor Index Indicator (RVI) is that on the bull market the closing price is, as a rule, higher, than the opening price.
  • Relative Strength Index (RSI) The Relative Strength Index Indicator (RSI) is a price-following oscillator that varies between 0 and 100.
  • Price Rate of Change (ROC) The Price Rate of Change (ROC) reflects this ondulatory movement like an oscillator, measuring the difference in prices in a certain period. ROC grows if prices grow and drops along with them. The more the price change is, the more ROC changes.
  • Price and Volume Trend (PVT) The Price and Volume Trend Indicator(PVT), like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes.
  • Price Channel The Price Channel Indicator draws the price channel, its upper and lower boundaries are determined by maximal and minimal prices for a certain period.
  • Parabolic SAR The Parabolic SAR Indicator was developed for analyzing the trending markets.
  • Moving Average of Oscillator (OsMA) The Moving Average of Oscillator (OsMA) is the difference between the oscillator and its smoothed value.
  • On Balance Volume (OBV) The On Balance Volume Indicator (OBV) is a momentum technical indicator that relates volume to price change.
  • Momentum The Momentum Technical Indicator measures the amount that a security’s price has changed over a given time period.
  • Money Flow Index (MFI) The Money Flow Index (MFI) is the technical indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.
  • Mass Index The Mass Index is developed to catch the trend reversal points. It is based on changes between maximum and minimum prices. If the amplitude gets wider, the mass index grows; if it gets narrower, the index gets smaller. The mass index was created by Donald Dorcy.
  • ColorCandlesDaily The ColorCandlesDaily indicator draws candles with different colors depending on the day of the week.
  • Market Facilitation Index (BW MFI) The Market Facilitation Index (BW MFI) is the indicator which shows the change of price for one tick.
  • MACD The Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator. It indicates the correlation between two Moving Averages of a price.
  • Ichimoku Kinko Hyo The Indicator Ichimoku Kinko Hyo is predefined to characterize the market Trend, Support and Resistance Levels, and to generate signals of buying and selling.
  • Heiken-Ashi The Heiken-Ashi indicator is looks like the candlestick chart, but it has some difference.The advantage of the Heiken-Ashi charts is a simple trend determination, the upward trend candles are blue,the downward trend candles are red.
  • Gator Oscillator The Gator Oscillator is based on the Alligator and shows the degree of convergence/divergence of the Balance Lines (Smoothed Moving Average).
  • Fractals The Fractal is one of 5 indicators of Bill Williams’ trading system, which allows to detect the bottom or the top.
  • Force Index (FRC) The Force Index Indicator was developed by Alexander Elder. This index measures the Bulls Power at each increase, and the Bulls Power at each decrease.
  • Envelopes The Envelopes Indicator is formed by two Moving Averages, one of them is shifted upward and another one is shifted downward. The selection of optimum relative number of band margins shifting is determined with the market volatility: the higher the latter is, the stronger the shift is.
  • Detrended Price Oscillator (DPO) The Detrended Price Oscillator eliminates the trend effect of price movement. This simplifies the process of finding out cycles and overbought/oversold levels.
  • DeMarker (DeM) The Demarker Indicator (DeM) is based on the comparison of the period maximum with the previous period maximum. When the indicator falls below 30, the bullish price reversal should be expected. When the indicator rises above 70, the bearish price reversal should be expected.
  • Custom Moving Average The Custom Moving Average is example of the Custom User Indicator - it calculates and shows the Moving Average.
  • ColorLine The ColorLine indicator shows the line of the price moving average on the chart. The line has diffrent colors (100 bars has the same color). The color settings of the line is changing every 5 ticks, there are 3 color schemes.
  • ColorBars The ColorBars Indicator paints bars with different colors depending on the volume changes. If the volume has increased, the color is green, overwise the color is red.
  • Chaikin Volatility (CHV) Chaikin's volatility indicator calculates the spread between the maximum and minimum prices. It judges the value of volatility basing on the amplitude between the maximum and the minimum. Unlike Average True Range, Chaikin's indicator doesn't take gaps into account.
  • Chaikin Oscillator (CHO) The Chaikin's Oscillator (CHO) is the difference of moving averages of Accumulation/Distribution.
  • Commodity Channel Index (CCI) Commodity Channel Index (CCI) measures the deviation of the commodity price from its average statistical price.
  • BW-ZoneTrade The Indicator paints the bars according to the Trade Zones, as proposed by Bill Williams.
  • Bears Power The Bears Power Indicator measures the balance of the bears strength.
  • Bollinger Bands ® The Bollinger Bands ® Indicator (BB) is similar to Envelopes. The only difference is that the bands of Envelopes are plotted a fixed distance (%) away from the moving average, while the Bollinger Bands are plotted a certain number of standard deviations away from it.
  • Alligator The Alligator Indicator is a combination of Balance Lines (Moving Averages).
  • Accumulation/Distribution The Accumulation/Distribution Indicator is determined by the changes in price and volume.
There are more than 1 640 codes published in Codebase
There are more than 27 440 topics available on forum

21 new topics on forum:

and 18 more...

The most popular forum topics:

23 new topics on forum:

and 20 more...

15 new topics on forum:

and 12 more...
There are more than 27 390 topics available on forum

13 new topics on forum:

and 10 more...

13 new topics on forum:

and 10 more...

The most popular forum topics:

New publications in CodeBase

  • pSAR alert An expert advisor designed to alert you when every first parabolic SAR dot in a sequence appears.
  • pSAR bug An expert advisor designed to open and close orders at every first parabolic SAR signal i.e. when sequence shifts from below the price to above and vice.
There are more than 1 600 codes published in Codebase

11 new topics on forum:

and 8 more...

The most popular forum topics:

21 new topics on forum:

and 18 more...

New publications in CodeBase

  • Plombiers - oscillator in the channel. Sometimes this is useful - to observe the behavior of the oscillator in the channel. Greatly simplifies the evaluation of the situation.
  • MACD Alert ea alerts the user if the macd is above 0.0006 on 5m or below -0.0006 on 5m
There are more than 27 320 topics available on forum

16 new topics on forum:

and 13 more...

15 new topics on forum:

and 12 more...

The most popular forum topics:

18 new topics on forum:

and 15 more...

16 new topics on forum:

and 13 more...

Published article "Data Exchange between Indicators: It's Easy".

Data Exchange between Indicators: It's Easy

We want to create such an environment, which would provide access to data of indicators attached to a chart, and would have the following properties: absence of data copying; minimal modification of the code of available methods, if we need to use them; MQL code is preferable (of course, we have to use DLL, but we will use just a dozen of strings of C++ code). The article describes an easy method to develop a program environment for the MetaTrader terminal, that would provide means for accessing indicator buffers from other MQL programs.

There are more than 27 260 topics available on forum

16 new topics on forum:

and 13 more...

The most popular forum topics:

19 new topics on forum:

and 16 more...

30 new topics on forum:

and 27 more...

The most popular forum topics:

There are more than 27 190 topics available on forum

26 new topics on forum:

and 23 more...

12 new topics on forum:

and 9 more...

The most popular forum topics:

13 new topics on forum:

and 10 more...

The most popular forum topics:

There are more than 27 140 topics available on forum

32 new topics on forum:

and 29 more...

New publications in CodeBase

  • Awesome Oscillator (AO) Bill Williams's Awesome Oscillator Indicator (AO) is a 34-period simple moving average, plotted through the middle points of the bars (H+L)/2, which is subtracted from the 5-period simple moving average, built across the central points of the bars (H+L)/2. It shows us quite clearly what’s happening to the market driving force at the present moment.
  • Average True Range (ATR) Average True Range Technical Indicator (ATR) is an indicator that shows volatility of the market.
  • Accumulation Swing Index (ASI) ASI was created by Wales Wilder as an ordinary fluctuations indicator that gets signals from previous maximums and minimums of price.
  • Adaptive Moving Average (AMA) The Adaptive Moving Average Indicator is used for constructing a moving average with low sensitivity to price series noises and is characterized by the minimal lag for trend detection.
  • Average Directional Movement Index Wilder The Average Directional Movement Index by Wilder (ADX Wilder) helps to determine the presence of the price trend.

25 new topics on forum:

and 22 more...

New publications in CodeBase

The most popular forum topics:

20 new topics on forum:

and 17 more...

New publications in CodeBase

Published article "MQL5: Create Your Own Indicator".

MQL5: Create Your Own Indicator

What is an indicator? It is a set of calculated values that we want to be displayed on the screen in a convenient way. Sets of values are represented in programs as arrays. Thus, creation of an indicator means writing an algorithm that handles some arrays (price arrays) and records results of handling to other arrays (indicator values). By describing creation of True Strength Index, the author shows how to write indicators in MQL5.

There are more than 27 060 topics available on forum

25 new topics on forum:

and 22 more...
1...292293294295296297298299300301302303304305306...375