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.

Most read articles this month

Universal Trend with the Graphical Interface

Universal Trend with the Graphical Interface

In this article a universal trend indicator is created based on a number of standard indicators. An additionally created graphical interface allows selecting the type of indicator and adjusting its parameter. The indicator is displayed in a separate window with rows of colored icons.

Patterns available when trading currency baskets. Part II

Patterns available when trading currency baskets. Part II

We continue our discussion of the patterns traders can come across while trading currency baskets. In this part, we will consider the patterns formed when using combined trend indicators. Indicators based on a currency index are to be used as the analytical tool.

MQL5 Cookbook - Pivot trading signals

MQL5 Cookbook - Pivot trading signals

The article describes the development and implementation of a class for sending signals based on pivots — reversal levels. This class is used to form a strategy applying the Standard Library. Improving the pivot strategy by adding filters is considered.

Bestsellers in the Market:

17 new products are now available on the Market:

and 12 more...

The most downloaded free products:

Bestsellers in the Market:

There are more than 87 470 topics available on forum

17 new topics on forum:

and 14 more...
There are more than 9 290 products available in Market

27 new products are now available on the Market:

and 22 more...

New publications in CodeBase

  • Size of candles (text) The size of a candlestick. The size is calculated by the following formula: "minuend" minus "deduction".
  • All information about the symbol All information about the current symbol (information from the CSymbolInfo class object is used) represented as a dialog panel.
  • RSI and Bollinger Bands A trading strategy based on RSI and Bollinger Bands.
  • Vector An Expert Advisor for 4 currency pairs, including EURUSD, GBPUSD, USDCHF and USDJPY. It is based on four-hour moving averages.
  • OscSAR_Histogram The oscillator is drawn as a colored histogram based on the difference between the Close price and the iSAR indicator, expressed in points.
  • RBVI_Histogram The RBVI indicator (Relative Broker Vigor Index) implemented as a colored histogram.
  • RBVI_HTF The RBVI indicator with the timeframe selection option available in its input parameters.
  • PercentageCrossoverChannel_Cloud The channel is based on a percentage price deviation. It is implemented with a color background filling. The channel width is controlled by the percentage deviation.
  • GRFLeadingEdger_Pivot_HTF Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two channels on one bar of any timeframe of the GRFLeadingEdge indicator.
  • PercentageCrossoverChannel_System The indicator implements a breakthrough system using the PercentageCrossoverChannel channel.
  • PercentageCrossover A Moving indicator that does not use averaging in its code.
  • RiskSpread The indicator draws a color filled channel at a distance from the current price, which is equal to the current spread multiplied by ten.
  • Move Trend line The script finds on the chart all OBJ_TREND (trendline) objects and moves the line to the specified date with the specified price shift.
  • XMA_Keltner_Pivot_HTF Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two Keltner channels on one bar of any timeframe of the XMA_KLx5_Cloud indicator.
  • XMA_KLx5_Cloud Two Keltner channels based on one moving average, drawn as a colored cloud, with the display of the last values as price labels.
  • XMA_BB_Pivot_HTF Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two Bollinger channels on one bar of any timeframe of the XMA_BBx5_Cloud indicator.
  • Statistics Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time.
  • Exp_Kolier_SuperTrend_X2 This is a trend trading system based on the signals of two Kolier_SuperTrend indicators.
  • SHA512 + HMAC Many traders are interested in native work with the BTC-e exchange directly from MetaTrader. In the exchange API, it is necessary to send data with the confirmation of parameters validity through HMAC-SHA512. The algorithm of SHA512 and HMAC calculation is implemented in this class.
  • Total_Power_Indicator_Signal Total Power Indicator in the semaphore-arrow form, generating alerts and sending emails and push notifications.
  • TotalPowerIndicatorX Total Power Indicator, in which values are fixed in the range from zero to one hundred.
  • Piano Shows an appropriate value for the last three bars on each timeframe: "1" if the bar is bullish, and "0" if the bar is bearish.
  • Sets Chart Scale The indicator sets the "Fixed scale" property to a chart window and holds the first bar in the middle of the window.
  • WmiVol_HTF The WmiVol indicator with the timeframe selection option available in input parameters.
  • GRFLeadingEdger_Pivot Two colored filled rectangles drawn between the values ​​of two GRFLeadingEdger indicator channels on one bar.
  • XMA_Keltner_Pivot Two colored filled rectangles drawn between the values ​​of two Keltner channels on one bar.
  • XMA_BB_Pivot Two colored filled rectangles drawn between the values ​​of two Bollinger channels on one bar.
  • Init_Sync The library makes indicators' Init/Deinit synchronized
  • Color_Spread The indicator shows the current spread using a color line.
  • Exp_XFatlXSatlCloud The Exp_XFatlXSatlCloud trading system is based on change of the trend direction displayed by the XFatlXSatlCloud indicator
  • Session Buy Sell Orders A histogram of maximum and minimum values of parameters SYMBOL_SESSION_BUY_ORDERS — "the total number of current buy orders" and SYMBOL_SESSION_SELL_ORDERS — "the total number of current sell orders". The drawing style is DRAW_HISTOGRAM.
  • Custom Moving Average Levels A Moving Average indicator, for which the values of two levels can be specified from the code.
  • XFatlXSatlCloud_HTF The XFatlXSatlCloud indicator with the timeframe selection option available in its input parameters.
  • ColorXMUV_HTF The ColorXMUV indicator with the timeframe selection option available in its input parameters.
  • Average True Range (digital) Average True Range (ATR) indicator values from other timeframes in a digital format, displayed as text on the chart.
  • ColorXMUV The drawing of this Moving Average is based on Demark's "Daily Range Projections" method.
  • Exp_TrailingStop The Expert Advisor moves trailing stops of all positions on the current symbol.
  • iFreeNumFractals The indicator finds fractals of any dimension.
  • CandleDifference_Obj The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.
  • CandleDifference The indicator displays the change in price as a percentage relative to the Open price of the current candlestick.
  • Sound Alert Entry Out Plays a sound when position is closed.
  • CloseOrdersBySymbolByType The script deletes all orders of the type specified in settings, on the current symbol.
  • CloseAllOrders The script deletes all pending orders on all symbols at a time.
  • CloseOrdersBySymbol The script closes all pending orders on the current symbol.
  • Morse code Trading based on preset candlestick combinations (patterns) Candlesticks are marked as "1" (bullish) and "0" (bearish). TakeProfit, StopLoss
  • Size of a candle (histogram) The indicator displays the candlestick size (High-Low) and its direction in the form of a colored histogram.
  • MAX_LOT The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.
  • Para_B_HTF Ten 'Parabolic Stop and Reverse system' indicators in one window
  • EXP_MAX_LOT The Expert Advisor calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit.
  • OpenBuySellStopLimitOrders A script for placing two Buy Stop Limit and Sell Stop Limit orders at an equal distance.
  • OpenSellStopLimitOrder A script for placing a SellStop Limit order.
  • OpenBuyStopLimitOrder A script for placing a BuyStop Limit order.
  • Exp_Stochastic_Chaikins_Volatility The Exp_Stochastic_Chaikins_Volatility Expert Advisor based on the Stochastic_Chaikins_Volatility indicator color change.
  • Stochastic_Chaikins_Volatility_HTF The Stochastic_Chaikins_Volatility indicator with the timeframe selection option available in its input parameters.
  • SD Delete Indicators The script allows to quickly remove indicators from charts.
  • Bollinger bands at Fibonacci levels Bollinger bands at extended Fibonacci levels.
  • Breakdown signaling A semi-automated Expert Advisor which signals of breakouts of specified horizontal levels.
  • N Сandles The EA searches for N identical candlesticks in a row. If the found candlesticks are bullish, it buys. I they are bearish, the EA sells.
  • ToClearComment The script removes from the chart a comment located in the upper left corner.
  • Stochastic_Chaikins_Volatility The Chaikin volatility indicator modified to have a stochastiс view, and implemented in the form of a signal cloud.
  • cm_ind_level_cndl The indicator displays the price pivot point.
  • ToClearObjectsByTypeByTime The script removes old objects of the selected type from all charts, if the time coordinates of these objects are outside of the trigger level.
  • ToClearObjectsByType The script removes all objects of the type selected by the trader in input parameters from all charts of the client terminal.
  • ToClearChartObjectsByType The script removes from the current chart all objects of the user selected type
  • Bollinger The Expert Advisor trades inside a channel, reversing positions at the channel borders.
  • Candle Trades based on the previous candlestick.
  • ListPositions A list of all positions. An example of working with CPositionInfo.
  • A cross-platform library of original mathematical functions Original mathematical functions taken from different places, which either do not have analogues or perform much faster than alternative implementations
  • OpenBuySellStopOrders A script for placing two Buy and Sell Stop orders at an equal distance.
  • OpenBuySellLimitOrders A script for placing two Buy and Sell Limit orders at an equal distance.
  • OpenSellStopOrder A script for placing a SellStop order
  • OpenBuyStopOrder A script for placing a BuyStop order
  • OpenSellLimitOrder A script for placing a SellLimit order
  • OpenBuyLimitOrder A script for placing a BuyLimit order
  • FILTER_ADX_AM_ch A simple trend indicator based on the smoothed Average Directional Movement Index drawn in the main chart window.
  • ParabolicUsMoving A trend indicator based on the intersections of Parabolic Sar and a moving average.
  • ThreeCandles_HTF The ThreeCandles indicator with the timeframe selection option available in its input parameters.
  • FILTER_ADX_AM A simple trend indicator based on the smoothed Average Directional Movement Index.
  • Background_StreamСCandles_HTF The indicator draws colored candlesticks of a larger timeframe as color filled rectangles using DRAW_FILLING buffers. Rectangles are color filled in accordance with the colors of the StreamСCandles indicator candlesticks, if there are any.
  • ClosePositionsBySymbol The script closes all positions of the current symbol.
  • CloseAllPositions The script closes all open positions on the current account.
  • StrangeIndicator_HTF The StrangeIndicator indicator with the timeframe selection option available in its input parameters.
  • Candle shadow percent The Expert Advisor is based on the indicator with the same name. Lot is calculated based on the risk value as a percentage of free margin.
  • Candle shadow percent The indicator finds candlesticks with a minimum or maximum shadow size. Limitation on the size of the candlestick body.
  • Candle Shadow The indicator finds candlesticks without an upper or lower shadow. The indicator style is DRAW_ARROW.
  • Exp_CloseAllPositionsByTime The Expert Advisor closes all positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.
  • Exp_ClosePositionsByTime The Expert Advisor closes all the current symbol positions opened on the account, if the current server time has exceeded the time limit specified in the input variables.
  • ColorParabolic_HTF The ColorParabolic indicator with the timeframe selection option available in its input parameters.
  • StreamСCandles The indicator colors candlesticks whose size multiplied by volume exceeds a preset value.
  • WATR_HTF_Signal The WATR_HTF_Signal indicator shows a trend direction or a trade signal generated by the WATR indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.
  • XOSignal_HTF_Signal The XOSignal_HTF_Signal indicator shows a trend direction or a trade signal generated by the XOSignal indicator at the chosen bar as a graphical object with colored trend indication or deal direction. It also triggers alerts and plays audio signals.
  • ATRStops_v1.1_Alert A trend indicator implemented as NRTR, with the possibility to generate alerts and send emails or push-notifications.
  • XCCXCandleKeltnerPluse_HTF The XCCXCandleKeltnerPluse indicator with the timeframe selection option available in its input parameters.
  • XRSXCandleKeltnerPluse_HTF The XRSXCandleKeltnerPluse indicator with the timeframe selection option available in its input parameters.
  • VTS_HTF The VTS indicator with the timeframe selection option available in its input parameters.
  • Cronex T RSI BBSW The Cronex T RSI BBSW indicator for MetaTrader 5.
  • MetaCOT 2 CFTC ToolBox (Set of Indicators) MT5 MetaCOT 2 CFTC ToolBox Indicators is a set of MetaCOT 2 indicators that provide access to CFTC reports. MetaCOT 2 supports COT, Disaggregated COT, TFF and CIT reports. It allows to draw COT charts straight in the MetaTrader terminal. All indicators are available as source code, and anyone can use them to create their own trading system.
There are more than 7 300 codes published in Codebase

2 new signals now available for subscription:

KXLXL888
-20% 165 trades
Growth:-20.25%
Equity:9 967.95USD
Balance:10 187.95USD
TopSignal
-47% 1329 trades
Growth:-46.72%
Equity:355.20USD
Balance:355.20USD

13 new topics on forum:

and 10 more...

Bestsellers in the Market:

Most downloaded source codes this week

Most read articles this week

MQL5 Cookbook - Pivot trading signals

MQL5 Cookbook - Pivot trading signals

The article describes the development and implementation of a class for sending signals based on pivots — reversal levels. This class is used to form a strategy applying the Standard Library. Improving the pivot strategy by adding filters is considered.

Comparative Analysis of 10 Trend Strategies

Comparative Analysis of 10 Trend Strategies

The article provides a brief overview of ten trend following strategies, as well as their testing results and comparative analysis. Based on the obtained results, we draw a general conclusion about the appropriateness, advantages and disadvantages of trend following trading.

Ready-made Expert Advisors from the MQL5 Wizard work in MetaTrader 4

Ready-made Expert Advisors from the MQL5 Wizard work in MetaTrader 4

The article offers a simple emulator of the MetaTrader 5 trading environment for MetaTrader 4. The emulator implements migration and adjustment of trade classes of the Standard Library. As a result, Expert Advisors generated in the MetaTrader 5 Wizard can be compiled and executed in MetaTrader 4 without changes.

There are more than 300 trading signals available for subscription in Signals service.

2 new signals now available for subscription:

Pamm ForexEE
37% 2212 trades
Growth:36.76%
Equity:184.87USD
Balance:184.56USD
Forexchief welcome bonus
9% 828 trades
Growth:9.26%
Equity:2 292.85USD
Balance:2 278.56USD

The most popular forum topics:

Bestsellers in the Market:

The most downloaded free products:

17 new topics on forum:

and 14 more...
There are more than 87 320 topics available on forum

22 new topics on forum:

and 19 more...

The most popular forum topics:

Bestsellers in the Market:

10 new products are now available on the Market:

and 5 more...

The most downloaded free products:

Bestsellers in the Market:

19 new topics on forum:

and 16 more...

12 new products are now available on the Market:

and 7 more...

Published article "Cross-Platform Expert Advisor: Order Manager".

Cross-Platform Expert Advisor: Order Manager

This article discusses the creation of an order manager for a cross-platform expert advisor. The order manager is responsible for the entry and exit of orders or positions entered by the expert, as well as for keeping an independent record of such trades that is usable for both versions.

1 new signal now available for subscription:

Jialiang Wu
-11% 1095 trades
Growth:-10.72%
Equity:299.77USD
Balance:299.77USD

Published article "How Long Is the Trend?".

How Long Is the Trend?

The article highlights several methods for trend identification aiming to determine the trend duration relative to the flat market. In theory, the trend to flat rate is considered to be 30% to 70%. This is what we'll be checking.

The most downloaded free products:

Bestsellers in the Market:

2 new signals now available for subscription:

SRXTREND
796% 1513 trades
Growth:795.84%
Equity:24 670.90USD
Balance:25 573.42USD
Manual RSI Ichimoku Scalping
631% 1021 trades
Growth:630.63%
Equity:6 345.05NZD
Balance:6 393.94NZD

9 new topics on forum:

and 6 more...

18 new products are now available on the Market:

and 13 more...

Published article "Comparative Analysis of 10 Trend Strategies".

Comparative Analysis of 10 Trend Strategies

The article provides a brief overview of ten trend following strategies, as well as their testing results and comparative analysis. Based on the obtained results, we draw a general conclusion about the appropriateness, advantages and disadvantages of trend following trading.

The most downloaded free products:

Bestsellers in the Market:

The most popular forum topics:

Most downloaded source codes this month

Most read articles this month

Universal Trend with the Graphical Interface

Universal Trend with the Graphical Interface

In this article a universal trend indicator is created based on a number of standard indicators. An additionally created graphical interface allows selecting the type of indicator and adjusting its parameter. The indicator is displayed in a separate window with rows of colored icons.

Patterns available when trading currency baskets. Part II

Patterns available when trading currency baskets. Part II

We continue our discussion of the patterns traders can come across while trading currency baskets. In this part, we will consider the patterns formed when using combined trend indicators. Indicators based on a currency index are to be used as the analytical tool.

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.

More than 100 new charts published:

EURUSD, D1
EURUSD, M15
EURUSD, H1

14 new topics on forum:

and 11 more...
There are more than 9 220 products available in Market

18 new products are now available on the Market:

and 13 more...

Bestsellers in the Market:

1...717273747576777879808182838485...375