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.

15 new topics on forum:

and 12 more...

Published article "Visualizing trading strategy optimization in MetaTrader 5".

Visualizing trading strategy optimization in MetaTrader 5

The article implements an MQL application with a graphical interface for extended visualization of the optimization process. The graphical interface applies the last version of EasyAndFast library. Many users may ask why they need graphical interfaces in MQL applications. This article demonstrates one of multiple cases where they can be useful for traders.

There are more than 4 360 products available in Market

New publications in CodeBase

The most downloaded free products:

Bestsellers in the Market:

27 new topics on forum:

and 24 more...

The most popular forum topics:

Bestsellers in the Market:

10 new topics on forum:

and 7 more...
There are more than 94 080 topics available on forum
There are more than 7 900 codes published in Codebase

New publications in CodeBase

  • ThirdPartyTicks A library for working with a third-party tick archive.
  • Improve An Expert Advisor based on two iMAs (Moving Average,MA) and one iRSI (Relative Strength Index, RSI). It tracks virtual profit. Works on two symbols.
  • OnChart_Stochastic Stochastic on the price chart.
  • Conqueror A signal indicator for opening/closing positions.
  • XBarClearCloseTrend A trend signal indicator.
  • LR_Ratio The indicator displays the ratio of two LSMAs.
  • LRL Linear regression line (LSMA) - a moving average calculated by the linear regression method.
  • HA EMA3 Indicator A Moving Average based on Heiken Ashi candlesticks.
  • BW_Zone_Trading Modified BW Zone Trading - a modified indicator of Bill Williams' zone trading.
  • DPO_Bar Detrended Price Oscillator Bar - price chart without a trend.
  • SV v.4.2.5 The Expert Advisor opens no more than one position per day. Positions are opened at the specified time. It searches for the Highest and Lowest price in an interval. Data of two iMA (Moving Average, MA) indicators are used.
  • Days of the week color A colored histogram of the days of the week. Uses the drawing style DRAW_COLOR_HISTOGRAM.
  • DayTime An arrow indicator, which compares the daily open price with the close price of an hour.
  • Parabolic_TrailingStop A utility for applying trailing stop based on the "Parabolic SAR" indicator.
  • Aeron JJN Scalper EA The Expert Advisor places pending Buy Stop and Sell Stop orders. Includes checks for the minimum distance of orders in points (SYMBOL_TRADE_STOPS_LEVEL).
  • Trend RDS Trend detection based on the last three bars.
  • Days of the week A histogram of the days of the week.
  • FarhadCrab1 An Expert Advisor based on two iMAs (Moving Average, MA) and one iSAR (Parabolic SAR). Position trailing.
  • Cross_Line_Trader The Expert Advisor opens positions when the price crosses line objects.
  • Alexav SpeedUp M1 Simultaneous opening of two opposite positions. Trailing Stop.
  • SignalMAAboveBelow 3 A module of trading signals based on the Moving Average indicator signal module.
  • VSI VSI - Volatility Switch Indicator.
  • IDayIIndex The IDayIIndex (Intraday Intensity Index) oscillator indicator.
  • StochasticMomentum A stochastic momentum.
  • HL_MA_Band A colored histogram drawn using the High/Low prices.
  • CCI_Dots The indicator adds signal marks to a price chart when the CCI indicator crosses its zero line.
  • Trend Range An indicator of the market state.
  • GapFinder Gap searching indicator.
  • SZO SZO (Sentiment Zone Oscillator) is an indicator of market sentiment, which has overbought and oversold zones.
  • CVI CVI (Chartmill Value Indicator) shows the value of price deviation from the Moving Average.
  • Hans123_Trader Pending Buy Stop and Sell Stop orders. The EA trades in the specified time period. Determines the highest and lowest prices in the specified range of bars. Position trailing.
  • Ichimoku An Expert Advisor based on the iIchimoku (Ichimoku Kinko Hyo) indicator. Separate Stop Loss, Take Profit and Trailing Stop for BUY and SELL positions. The EA operation time is configurable. A check is performed on the current bar: only one position can be opened.
  • Fractal_TL An indicator for automatic drawing of trendlines based on fractals of a given timeframe.
  • BHS system The EA trades using pending Buy Stop and Sell Stop orders, applying the iAMA (Adaptive Moving Average, AMA) indicator based on a "round price". Position trailing.
  • MathCeilRoundFloor Example of functions MathCeil, MathRound and MathFloor.
  • Fractured Fractals The Expert Advisor uses the Fractals indicator signals to place pending orders and trail the Stop Loss level of positions.
  • AD The AD (Accumulation Distribution) indicator with three calculation methods.
  • SSS SSS (Special Slow Stochastic) has an additional smoothed (slow) line based on the Stochastic signal line.
  • Small_Inside_Bar The "Small Inside Bar" indicator. It searches for formations, in which the internal candlestick of the "Internal bar" pattern is not more than half the size of the determinant candlestick.
  • Autocorrelation The indicator calculates and displays on a chart the autocorrelation function, which shows the relationship between the function (signal) and its shifted copy depending on the time shift value.
  • AsymmetricFractals The indicator allows setting any dimension for each side of a fractal.
  • Adaptable_MACD MACD with advanced settings. In addition to the standard parameters of the fast and slow EMA periods, signal SMA periods and calculation price, this indicator allows setting the calculation method for each line and use either absolute or relative values for MACD calculation.
  • KWAN_NRP_HTF The KWAN_NRP indicator with the possibility to change the indicator timeframe in input parameters.
  • XRSIDeMarker_Histogram_HTF The XRSIDeMarker_Histogram indicator with the possibility to change the indicator timeframe in input parameters.
  • XRSIDeMarker_Histogram The averaged non-trivial linear combination of iRSI and iDeMarker implemented as a color histogram.
  • KWAN_NRP A simple oscillator, which is based on the values of the iStochastic, iRSI and iMomentum indicators and is implemented as a two-colored histogram.
  • Sar_HTF The iSAR indicator with the possibility to change the indicator timeframe in input parameters, implemented in color.
  • SerialMA_EA The Expert Advisor is based on a dynamic moving average.
  • OpenTime 2 The Expert Advisor opens positions inside two time intervals. Trades are closed at the specified time. Trailing Stop.
  • Patterns_EA The Expert Advisor is based on 30 popular candlestick patterns.
  • TAT (Trend Analyzer Tool) MACD+SAR - Trend Analyzer Tool.
  • PMF The Pivot Money Flow indicator displays the direction and the reversal of money flows.
  • Overbought_Oversold Dynamic overbought/oversold levels.
  • Keep On Trading (KOT) An assistant indicator. It shows time for holding a position open.
  • DayOfWeekLabels The indicator shows days of the week on the price chart.
  • Custom_Pattern An indicator of custom patterns.
  • ChannelInd The indicator displays on the chart the previous trading day's channel.
  • ATRR ATR Ratio shows a ratio of two ATRs.
  • SimpleZZ A simple ZigZag with an adjustable step.
  • SerialMA Dynamic Moving Average.
  • RSdynamic_line An indicator of dynamic support/resistance levels.
  • NHNL_Divergence The indicator of divergences of High/Low indices.
  • SignalMAAboveBelow 2 A module of trading signals based on the Moving Average indicator signal module.
  • NHNL The New High New Low Index indicator.
  • MultipleFractals An indicator of multiple fractals.
  • CCI_Divergence The indicator searches for divergences and displays them on the chart of the custom CCI indicator.
  • BB-Percentage-Decimal Bollinger Bands in the form of an oscillator.
  • MACD EA The Expert Advisor uses three iMA (Moving Average, MA) indicators and one iMACD (Moving Average Convergence/Divergence, MACD)
  • Elders Safe Zone An indicator based on Elder's "Safe Zone".
  • N Candles v6 The Expert Advisor searches for N identical candlesticks in a row. It buys on bullish candlesticks and sells on bearish ones. The account type is taken into account, i.e. whether it is netting or hedging.
  • Pipsover 2 The Expert Advisor works based on the iChaikin (Chaikin Oscillator) and iMA (Moving Average, MA) indicators.
  • MACDSimpleReshetov An Expert Advisor trading MACD signals. For those who prefer trading CFDs and futures symbols.
  • UmnickTrader An MQL5 implementation of the adaptive UmnickTrade Expert Advisor.
  • Schaff TCD RSX As a logical step to filter out more the possible false signals, this variation of Schaff TCD RSI is using RSX (which is a smoother RSI than the "regular" RSI) to produce a smoother result.
  • Schaff TCD RSI Schaff Trend Convergence Divergence indicator has the benefit of putting the Schaff Trend CD on a scale of zero to 100, making it easier to identify potential overbought and oversold levels in a currency trend and is using RSI for a final calculation.
  • Schaff Trend RSX Schaff Trend RSX is "a smoother RSI" without a lag, in this version RSX is calculated instead of RSI. That makes the slope much smoother and produces significantly less color (slope) changes.

14 new topics on forum:

and 11 more...

The most downloaded free products:

The most popular forum topics:

Most read articles this month

LifeHack for traders: Fast food made of indicators

LifeHack for traders: Fast food made of indicators

If you have newly switched to MQL5, then this article will be useful. First, the access to the indicator data and series is done in the usual MQL4 style. Second, this entire simplicity is implemented in MQL5. All functions are as clear as possible and perfectly suited for step-by-step debugging.

LifeHack for traders: Blending ForEach with defines (#define)

LifeHack for traders: Blending ForEach with defines (#define)

The article is an intermediate step for those who still writes in MQL4 and has no desire to switch to MQL5. We continue to search for opportunities to write code in MQL4 style. This time, we will look into the macro substitution of the #define preprocessor.

Controlled optimization: Simulated annealing

Controlled optimization: Simulated annealing

The Strategy Tester in the MetaTrader 5 trading platform provides only two optimization options: complete search of parameters and genetic algorithm. This article proposes a new method for optimizing trading strategies — Simulated annealing. The method's algorithm, its implementation and integration into any Expert Advisor are considered. The developed algorithm is tested on the Moving Average EA.

Most downloaded source codes this month

  • TradePanel Simple one click trade panel, typically useful for scalpers and day traders.
  • Signal Candles Get entry signals from specific candles based on your rules.
  • Daily Pivot Points shifted for different day start time This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.

Bestsellers in the Market:

New publications in CodeBase

  • Schaff Trend RSI Schaff Trend RSI is an RSI of the MACD.
  • Kaufman AMA with filter In addition to the usual parameters that are controlling the way Kaufman AMA is calculated, this version has adjustable smoothing and filter that can eliminate insignificant AMA changes.
  • Bulls and Bears This indicator shows Bulls and Bears power in the same indicator subwindow.
  • Kaufman AMA MACD Kaufman AMA MACD is the MACD built exclusively using Kaufman AMA (even signal line is using that). That way this is a completely adaptive MACD (bearing in mind that Kaufman AMA is adaptive Moving Average).
  • Price Channel Stop The Price Channel Stop indicator shows the current estimated trend based on channel period and desired risk. It also shows two levels of values that can be used as a stop loss for orders opened based on this indicator (using the trend color change can be used as a signal for a new order opening as well as closing already opened orders).
  • Smoother Momentum Stops In the Smoother Momentum Stops indicator the stops are calculated using the smoother momentum and the direction of the stops is determined based on the smoother momentum.

Bestsellers in the Market:

24 new topics on forum:

and 21 more...
There are more than 93 970 topics available on forum

New publications in CodeBase

  • Sadukey "Sadukey" indicator is an indicator combining two digital filters on a chart to give us an assessment of current trend.
  • Smoother momentum Smoother momentum is one of the possible ways to solve the main issue of the Momentum indicator - the values it displays are far from being smooth, and that can cause a lot of false signals in a lot of cases - regardless of the calculation period that is used.
  • Nonlinear regression This indicator is a MetaTrader 5 version of nonlinear regression. Nonlinear regression is very "fast" when responding to sudden market changes so the default calculation period is set to somewhat longer period than it is usual for similar type indicator. Because of that some experimenting with period is advised based on your trading strategy and trading style.
  • MACD High/Low MACD High/Low uses the highest high and lowest low of MACD (nnn) bars back to calculate a sort of dynamically changed zero line, early levels up and down and trend confirmation levels up and down. By adding these non-fixed levels, the MACD becomes faster in response to market changes and the MACD trend assessment has less false signals.
  • Asymmetric bands Asymmetric bands indicator is one of the ways to avoid a lag when there is a trend reversal (since the opposite side band is too far from the current price).
  • Synthetic smoothed RSI This version of Synthetic RSI is using Ehlers smoothed RSI in calculation instead of using "regular" RSI and that makes the resulting synthetic RSI even smoother.
  • Synthetic RSI Instead of using one RSI, the Synthetic RSI indicator is using 3 instances of RSI. Those 3 instances of RSI are then used to calculate the "synthetic" value (that is not an average of the 3 since the calculation differs from an average).
  • Composite Index The Composite Index was developed to solve the divergence failure problem in the RSI, but its ability to provide specific horizontal levels of support within the indicator adds to its value. The Composite Index takes the normalized formula of RSI and removes the normalization range restrictions. The formula for the Composite Index uses an embedded momentum calculation with a short-term RSI smoothed.
  • Polychromatic Momentum - extended This version of Polychromatic Momentum is using double smoothed EMA for smoothing. DSEMA has been proven for producing very good smooth results with a lag that is almost non-existent, hence, in combination with it, the Polychromatic Momentum indicator becomes much more usable when it comes to signals.
  • Polychromatic Momentum Polychromatic momentum takes an weighted average of all significant lookback periods for the tradable.
  • Vortex Two lines representing positive and negative directional movement. These will intersect and cross during a change of trend and diverge wider and wider as the strength of the trend increases.
  • Dsl - RSI of average This indicator is using filtered prices for RSI (instead of using "raw" prices) and is using Discontinued Signal Line for trend assessment (instead of using slope or fixed levels).
  • RSISignal This indicator is based on original RSI, but more features are added to general signals and watch the strength of the price movement. The main purpose is to general buy/sell signals using smoothed RSI and its MA.
  • Hedging_Zone_Recovery_Area This is my version of Zone Recovery Hedging Strategy Ea with two moving averages. It works on any time frame, you should try it on demo account.

The most downloaded free products:

Most read articles this week

Money Management by Vince. Implementation as a module for MQL5 Wizard

Money Management by Vince. Implementation as a module for MQL5 Wizard

The article is based on 'The Mathematics of Money Management' by Ralph Vince. It provides the description of empirical and parametric methods used for finding the optimal size of a trading lot. Also the article features implementation of trading modules for the MQL5 Wizard based on these methods.

How to create Requirements Specification for ordering an indicator

How to create Requirements Specification for ordering an indicator

Most often the first step in the development of a trading system is the creation of a technical indicator, which can identify favorable market behavior patterns. A professionally developed indicator can be ordered from the Freelance service. From this article you will learn how to create a proper Requirements Specification, which will help you to obtain the desired indicator faster.

LifeHack for traders: Blending ForEach with defines (#define)

LifeHack for traders: Blending ForEach with defines (#define)

The article is an intermediate step for those who still writes in MQL4 and has no desire to switch to MQL5. We continue to search for opportunities to write code in MQL4 style. This time, we will look into the macro substitution of the #define preprocessor.

Most downloaded source codes this week

  • TradePanel Simple one click trade panel, typically useful for scalpers and day traders.
  • Daily Pivot Points shifted for different day start time This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.
  • Shved Supply and Demand The indicator showing the supply and demand zones.

The most popular forum topics:

Bestsellers in the Market:

10 new topics on forum:

and 7 more...

19 new topics on forum:

and 16 more...

Bestsellers in the Market:

The most popular forum topics:

The most downloaded free products:

Bestsellers in the Market:

22 new topics on forum:

and 19 more...
There are more than 93 910 topics available on forum
There are more than 7 810 codes published in Codebase

New publications in CodeBase

  • Stochastic of Hull Hull average is used prior to stochastic calculation thus filtering the prices before they are used in the stochastic calculation. This method is used since it adds much less lag than if the smoothing of the already calculated stochastic value would be used.
  • Triple DSEMA This version uses double smoothed EMA instead of using Hull average, and since double smoothed EMA is never overshooting, that issue is solved. Being a very smooth average too, double smoothed EMA is really a good filter/average to be used in the "triple" series.
  • Double Smoothed EMA Unlike the similar attempts of smoothing existing indicators, the Double smoothed EMA indicator is not lagging when compared to "regular" EMA.
  • Glitch Index Glitch Index represents the percentage move price has made above or below the detrended SMA.
  • Congestion index The Congestion Index attempts to identify the market's character by dividing the actual percentage that the market has changed in the past x days by the extreme range.
  • Dsl - CMO bars Chande Momentum Oscillator with added Discontinued Signal Lines instead of using static levels for trends displayed on the main chart as bars (if the current chart style is bars or line) or candles (it is done automatically).
  • Dsl - CMO Chande Momentum Oscillator with added Discontinued Signal Lines instead of using static levels for trends.
  • Schaff Trend Cycle - TEMA Unlike the original Schaff Trend Cycle, this version is using TEMA MACD for calculation, which makes it "faster" in determining (even compared to DEMA version) the trend changes and thus producing signals a few bars earlier.
  • Schaff Trend Cycle - DEMA Unlike the original Schaff Trend Cycle, this version is using DEMA MACD for calculation, which makes it "faster" in determining the trend changes and thus producing signals a few bars earlier (which can be significant in "scalping" systems).
  • Hull trend Indicator based on Hull Moving Average.
  • Rsi(var) Zerolag DEMA Rsi(var) indicator with zero lag DEMA.
  • Rsi(var) Zerolag MA Rsi(var) indicator with zero lag Moving Average.
  • Start External Process Script to start an external program.
  • Multi Pair Closer Close all positions on a basket of currencies when the profit target has been reached.
  • ADX Expert MT4 Expert Advisor based on ADX indicator.

Bestsellers in the Market:

19 new topics on forum:

and 16 more...

The most downloaded free products:

The most popular forum topics:

20 new topics on forum:

and 17 more...
There are more than 93 850 topics available on forum

Bestsellers in the Market:

New publications in CodeBase

  • IEEE Floating-Point Decoder Display the actual stored value of a floating-point number (float or double type), with very high precision up to 55 decimal digits. This helps to debug exact value of floating-point numbers for other MQL5 programs.
  • Zero lag TEMA This indicator uses TEMA calculation mode in order to make the lag lesser compared to the original Zero lag MA, and that makes this version even faster than the Zero lag DEMA too.
  • Zero lag DEMA This indicator uses DEMA calculation mode in order to make the lag lesser compared to the original Zero lag MA, and that makes this version faster.
  • Zero lag MA According to creators, the ZeroLAG MA indicator is a Moving Average with zero delay. If we agree or not, does not matter since, compared to some "regular" Moving Averages the lag it has is significantly lower, so it can be used in any system where less lag is of great importance.
  • RSI of Hull The Relative Strength Index (RSI) is a momentum indicator developed by noted technical analyst Welles Wilder, that compares the magnitude of recent gains and losses over a specified time period to measure speed and change of price movements of a security. It is primarily used to attempt to identify overbought or oversold conditions in the trading of an asset.
  • Permutations and Combinations (MT4) A fast library for combinations and permutations in MQL.

1 new signal now available for subscription:

GerFX QuantFlow Scalper
107% 2544 trades
Growth:107.30%
Equity:190.35EUR
Balance:190.35EUR

Bestsellers in the Market:

Most read articles this month

LifeHack for traders: Fast food made of indicators

LifeHack for traders: Fast food made of indicators

If you have newly switched to MQL5, then this article will be useful. First, the access to the indicator data and series is done in the usual MQL4 style. Second, this entire simplicity is implemented in MQL5. All functions are as clear as possible and perfectly suited for step-by-step debugging.

Custom Strategy Tester based on fast mathematical calculations

Custom Strategy Tester based on fast mathematical calculations

The article describes the way to create a custom strategy tester and a custom analyzer of the optimization passes. After reading it, you will understand how the math calculations mode and the mechanism of so-called frames work, how to prepare and load custom data for calculations and use effective algorithms for their compression. This article will also be interesting to those interested in ways of storing custom information within an expert.

Automatic construction of support and resistance lines

Automatic construction of support and resistance lines

The article deals with automatic construction of support/resistance lines using local tops and bottoms of price charts. The well-known ZigZag indicator is applied to define these extreme values.

1...252253254255256257258259260261262263264265266...559