Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

Latest Code Publications in CodeBase

New publications in CodeBase

  • PSAR Zigzag (Non lagging) A zigzag based on the trend change of the parabolic sar
  • Candlestick Analysis EA R1 This MT5 Expert Advisor combines multi-timeframe candlestick pattern analysis with fundamental event filtering to execute trades with disciplined risk management.

Most downloaded source codes this week

  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • FVG based Momentum Detection This is an indicator that evaluates FVGs in the inputted "window_size" to detect momentum or trend strength.
  • MeanReversionTrendEA The EA automatically trades based on trend and mean reversion signals with validated parameters.

New publications in CodeBase

  • Ranging Market Detector An indicator which attempts to highlight a ranging market area
  • Withdrawal Tracking This is a piece of code to add to an existing Expert advisor to track withdrawals from your account where the EA is running. It helps the user to monitor his or her withdrawals from a particular account.
  • Breakout Finder by LonesomeTheBlue This is the exact conversion from pine script code by LonesomeTheBlue.
  • Withdrawal Tracking This is a piece of code to add to an existing Expert advisor to track withdrawals from your account where the EA is running. It helps the user to monitor his or her withdrawals from a particular account.
There are more than 11,570 codes published in Codebase

Most downloaded source codes this month

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • Trade Assistant MT4 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

Most downloaded source codes this week

  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • MeanReversionTrendEA The EA automatically trades based on trend and mean reversion signals with validated parameters.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

New publications in CodeBase

  • FVG based Momentum Detection This is an indicator that evaluates FVGs in the inputted "window_size" to detect momentum or trend strength.
  • RRS Tangled EA RRS Tangled EA randomly selects currency symbols, lot sizes, and order types for trading. It does not rely on technical indicators or fundamental analysis. Instead, it uses a Randomness in Nature approach to open trades. With proper settings such as Take Profit, Stop Loss, Trailing, and Risk Management, this EA can generate significant profits.

New publications in CodeBase

  • Trend Zigzag (on ma cross) A static zigzag which connects the intersections of a moving average crossover
  • RRS Chaotic EA This EA is a cleaned and minimized version of the RRS Randomness in Nature EA. It opens trades randomly with random currency pairs, random lot sizes, and random order types. This EA does not rely on any technical skillset such as indicators, price action, news calendar events, or candlestick patterns. It offers multiple trading strategies, risk management plans, and other customizable settings.

New publications in CodeBase

  • Introsort (Introspective sort) using Function Pointers A hybrid sorting algorithm that provide fast performance for sorting arrays of simple types, structures or object pointers.
  • RRS Randomness in Nature EA This EA is truly random in nature. It randomly selects currency pairs, lot sizes, and order types. This EA does not rely on any technical skillset such as indicators, price action, news calendar events, or candlestick patterns. It offers multiple trading strategies, risk management plans, and other customizable settings. Even though the EA works on randomness, it has still achieved good profits with proper risk management settings.

Most downloaded source codes this month

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

New publications in CodeBase

  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • RRS Non-Directional EA This is a Non-Directional Bias EA. This EA does not rely on any technical skillset such as indicators, price action, news calendar events, or candlestick patterns. It offers multiple trading strategies, risk management plans, and other customizable settings. This EA takes trades continuously and randomly, depending on the strategy you have chosen.

Most downloaded source codes this week

New publications in CodeBase

  • BarDuration This is a simple indicator to display histogram of custom bars' durations in minutes. Applicable for renko boxes, PnF, equivolume bars, etc.
  • MeanReversionTrendEA The EA automatically trades based on trend and mean reversion signals with validated parameters.

Most downloaded source codes this month

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

New publications in CodeBase

  • JSON Serialization and deserialization of the JSON format
  • Timer Callback interface for timer
  • T3 Moving Average The T3 Indicator is an advanced moving average that combines six exponential moving averages to provide smoother price action with reduced lag compared to traditional moving averages.

Most downloaded source codes this week

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • Fibonacci ZigZag Zig Zag indicator that relies only on a minimum % of retracement to each previous wave , and optionally , being bigger than a specific size measured in atr units.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.

New publications in CodeBase

Most downloaded source codes this month

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 3 Part 3 "Object Oriented Programming in MQL5" offers an immersion into the world of object-oriented programming (OOP) in the MQL5 language. Software development often involves the complexity related to the management of multiple entities, requiring advanced technology to improve programming convenience, productivity, and quality.

New publications in CodeBase

  • Fibonacci ZigZag Zig Zag indicator that relies only on a minimum % of retracement to each previous wave , and optionally , being bigger than a specific size measured in atr units.
  • Autoscaling Zigzag A zigzag indicator that uses a single input to adjust the step size for detecting wave direction changes
  • Telegram integration made easy. The goal is to make the function readily available for any Telegram integration task in MQL5 development. By adding this file to your CodeBase, you can simply include it in your Expert Advisors and call the function directly from the included module. This eliminates the need to redevelop the code from scratch repeatedly, ensuring reusability across multiple projects.

Most downloaded source codes this week

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.

New publications in CodeBase

  • Time To Close v1.01 - MT5 Time to candle Close. Dynamic text colours. Optimised for back-testing.
  • Multiple EA Tracking with a Magic Number Based Profit and Loss Live Dashboard in MQL5 Whether you’re running multiple trading robots simultaneously or just one sophisticated strategy, keeping track of each Expert Advisor’s performance can be surprisingly time-consuming. MetaTrader 5 (MT5) conveniently displays orders and positions in its “Toolbox,” but when numerous robots share the same account, it becomes harder to know which EA is generating your profits—or losses. A single account might have dozens or hundreds of trades, each opened by different EAs, making it difficult to separate the results of one robot from another.

Most downloaded source codes this month

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.

Most downloaded source codes this week

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • Trade Assistant MT4 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

New publications in CodeBase

There are more than 11,550 codes published in Codebase

New publications in CodeBase

  • Useful #define statements These are some #define statements that are useful to perform operations in your EA. You only need to assign the name of your variables at the beginning of the file, and then let the other #define statements do the work. In order to use this file, add #include <DEFINE_statements.mqh> to the first line in your EA file.
  • Self Optimized SMA The indicator plots two lines. The lower line is calculated based on the latest SMA period that caused a bounce up. The upper line is calculated based on the latest SMA period that caused a bounce down.

Most downloaded source codes this month

  • Candlestick patterns This is a indicator displaying candlesticks patterns on a chart.
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • Trend Equilibrium Indicator TrendEQ The Trend Equilibrium Indicator TrendEQ dynamically analyzes market movements by combining momentum and volatility. By scaling momentum with the market’s volatility, the TrendEQ provides a reliable measure of trend strength and direction.

Most downloaded source codes this week

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

New publications in CodeBase

Most downloaded source codes this month

New publications in CodeBase

Most downloaded source codes this week

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.

Most downloaded source codes this month

  • Surfing - 2 EMA strategy This is a pretty simple startegy that follows trend. Recommended time frams is D1. when close price brakes up the EMA build based on high prices given that RSI is above 55 and RSI is above its Moving average - we buy. when close price brakes down the EMA build based on low prices given that RSI is below 45 and RSI is below its moving average - we sell. system closes previose trade if there is opposite signal system uses take profit and stop loss as well as trailing stop
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.

New publications in CodeBase

  • Smart Trend Follower This EA is designed to automatically follow market trends using signals from the Moving Average and Stochastic Oscillator indicators. The EA detects buy and sell signals by utilizing MA crossovers and confirms the trend with Stochastic. Additionally, the EA includes automatic position management, such as setting Take Profit, Stop Loss, and lot size doubling to enhance trading effectiveness in trending markets.
  • Trade Assistant MT5 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.
  • Trade Assistant MT4 Trade Assistant MetaTrader indicator — a multi-timeframe indicator that is based on three standard indicators: Stochastic oscillator, RSI (Relative Strength Index), and CCI (Commodity Channel Index). It displays current trend directions for M1, M5, M15, M30, H1, H4, D1, W1, and MN1 timeframes. When you follow such an indicator you have a clear picture of the trends across all important timeframes. It doesn't matter which timeframe you attach this indicator to. The indicator can be downloaded for MT4 and MT5.

New publications in CodeBase

  • Portable Moving Average Calculate a moving average in one function call. Code that can easily be transported between different projects.
  • Total Power Indicator MT5 Total Power Indicator (MetaTrader indicator) — is based on the two standard indicators — Bear Power and Bull Power. The indicator calculates how many bullish and bearish bars were there during a given look-back period and then calculates the proportional index for bears, bulls, and total (calculated as the absolute difference between bulls and bears) for the current bar. This way, we get continuous lines of the relative average bear and bull power over a period, removing the main disadvantage of the original Bear/Bull Power indicators — the lack of a long-term perspective. The original MetaTrader 4 version of Total Power Indicator was created by Daniel Fernandez of Asirikuy.com in 2011. The version for MT5 is now also available.
  • TD Sequential Ultimate MT5 TD Sequential Ultimate MetaTrader indicator shows all parts of the TD Sequential method developed by the legendary technical analyst, Tom DeMark. TD Sequential Ultimate displays Buy and Sell Setups, including the Setup Perfection arrows, Buy and Sell Countdowns, including the failed count 13 attempts, and TDST Support and Resistance levels. Unlike many other implementations of the TD Sequential method, this indicator offers multiple improvements:
  • Coppock MT5 indicator Coppock MetaTrader indicator — is an implementation of the famous Coppock curve indicator first created by Edward Coppock in 1962. The indicator shows long-term buy and sell opportunities (classically, it is used for only buying) by measuring the weighted moving average (with a period of 10) of the sum of two rates of change (with a period of 14 and 11). It is the classical version. In this MetaTrader version, you can modify the parameters of the basic indicators. You can use this Coppock indicator in MT4 and MT5.
  • Support and Resistance MT5 Support and Resistance MetaTrader indicator — as the name of this indicator suggests, it displays the support and resistance levels. It shows them directly on the chart, providing an easy help when you want to set stop-loss or take-profit level, or when you want to see the next market target. This indicator uses the standard MetaTrader Fractals indicator (by Bill Williams' method) and has no changeable input parameters. This indicator is available for MetaTrader version 4 and 5.
  • Spread indicator MT5 Spread MetaTrader indicator — displays current spread in the main window of the chart. You can modify the font parameters, indicator's position and the normalization of the spread value. The spread is redrawn after each tick, ensuring the most current and active spread value. This can be useful for brokers with variable spreads or with spreads that are widened often. You can also enable a spread label to be shown near the current Bid line. The indicator is available for both MT4 and MT5.
  • Total Power Indicator MT4 Total Power Indicator (MetaTrader indicator) — is based on the two standard indicators — Bear Power and Bull Power. The indicator calculates how many bullish and bearish bars were there during a given look-back period and then calculates the proportional index for bears, bulls, and total (calculated as the absolute difference between bulls and bears) for the current bar. This way, we get continuous lines of the relative average bear and bull power over a period, removing the main disadvantage of the original Bear/Bull Power indicators — the lack of a long-term perspective. The original MetaTrader 4 version of Total Power Indicator was created by Daniel Fernandez of Asirikuy.com in 2011. The version for MT5 is now also available.
  • TD Sequential Ultimate MT4 TD Sequential Ultimate MetaTrader indicator shows all parts of the TD Sequential method developed by the legendary technical analyst, Tom DeMark. TD Sequential Ultimate displays Buy and Sell Setups, including the Setup Perfection arrows, Buy and Sell Countdowns, including the failed count 13 attempts, and TDST Support and Resistance levels. Unlike many other implementations of the TD Sequential method, this indicator offers multiple improvements:
  • Support and Resistance MT4 Support and Resistance MetaTrader indicator — as the name of this indicator suggests, it displays the support and resistance levels. It shows them directly on the chart, providing an easy help when you want to set stop-loss or take-profit level, or when you want to see the next market target. This indicator uses the standard MetaTrader Fractals indicator (by Bill Williams' method) and has no changeable input parameters. This indicator is available for MetaTrader version 4 and 5.
  • Spread indicator MT4 Spread MetaTrader indicator — displays current spread in the main window of the chart. You can modify the font parameters, indicator's position and the normalization of the spread value. The spread is redrawn after each tick, ensuring the most current and active spread value. This can be useful for brokers with variable spreads or with spreads that are widened often. You can also enable a spread label to be shown near the current Bid line. The indicator is available for both MT4 and MT5.

Most downloaded source codes this week

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 3 Part 3 "Object Oriented Programming in MQL5" offers an immersion into the world of object-oriented programming (OOP) in the MQL5 language. Software development often involves the complexity related to the management of multiple entities, requiring advanced technology to improve programming convenience, productivity, and quality.

New publications in CodeBase

  • Schaff Trend Cycle MT5 Schaff Trend Cycle (MetaTrader indicator) — is a cyclical oscillator created by calculating the stochastic over stochastic over a MACD line using cycles. The result is the improved version of the oscillator that is not choppy during the trends and reacts to the changes very fast. It was developed by Doug Schaff, who assumed that the currency trends accelerate and decelerate in cycles. Its algorithm was made public in 2008. Schaff Trend Cycle tries to combine two different methods of determining the trend direction changes — MACD and smoothed stochastic oscillator. The value of the indicator fluctuates between 0 and 100. Two trigger levels are used — 25 and 75. Optional alerts are available. You can download this indicator for MT4, MT5
  • RSIOMA MT5 RSIOMA MetaTrader indicator — this indicator takes two moving averages, calculates their RSI (Relative Strength Index) and then also adds a moving average of the calculated RSI. These two lines now can accurately signal the trend changes. They are shown in the separate window where they change from 0 to 100. The auxiliary histogram is shown for a quick-glance view of the current trend. The indicator is available for both MT4 and MT5 versions of the MetaTrader platform.
  • Round Levels MT5 Round Levels MetaTrader indicator — an MT4/MT5 indicator that can display round levels and zones near them based on your configuration. It can be useful to trade off the natural psychological support and resistance zones. It can also issue alerts when the price is in either support or resistance zone.
  • Recent High/Low Alert MT5 Recent High/Low Alert MetaTrader indicator — displays two bands of maximum and minimum levels across recent N candles. By default, the maximum band is displayed with a blue line; the minimum band is displayed with a yellow line. Additionally, it can invoke a popup alert, send an email alert, or issue a notification alert when the current price (Bid) breaks recent High or Low level. All alerts can be turned off. If you use the email alert feature, do not forget to set the email settings in your MetaTrader platform's options window. Same with push-notifications. The indicator is available for both MT4 and MT5.
  • Schaff Trend Cycle MT4 Schaff Trend Cycle (MetaTrader indicator) — is a cyclical oscillator created by calculating the stochastic over stochastic over a MACD line using cycles. The result is the improved version of the oscillator that is not choppy during the trends and reacts to the changes very fast. It was developed by Doug Schaff, who assumed that the currency trends accelerate and decelerate in cycles. Its algorithm was made public in 2008. Schaff Trend Cycle tries to combine two different methods of determining the trend direction changes — MACD and smoothed stochastic oscillator. The value of the indicator fluctuates between 0 and 100. Two trigger levels are used — 25 and 75. Optional alerts are available. You can download this indicator for MT4, MT5
  • RSIOMA MT4 RSIOMA MetaTrader indicator — this indicator takes two moving averages, calculates their RSI (Relative Strength Index) and then also adds a moving average of the calculated RSI. These two lines now can accurately signal the trend changes. They are shown in the separate window where they change from 0 to 100. The auxiliary histogram is shown for a quick-glance view of the current trend. The indicator is available for both MT4 and MT5 versions of the MetaTrader platform.
  • Round Levels MT4 Round Levels MetaTrader indicator — an MT4/MT5 indicator that can display round levels and zones near them based on your configuration. It can be useful to trade off the natural psychological support and resistance zones. It can also issue alerts when the price is in either support or resistance zone.
  • Recent High/Low Alert MT4 Recent High/Low Alert MetaTrader indicator — displays two bands of maximum and minimum levels across recent N candles. By default, the maximum band is displayed with a blue line; the minimum band is displayed with a yellow line. Additionally, it can invoke a popup alert, send an email alert, or issue a notification alert when the current price (Bid) breaks recent High or Low level. All alerts can be turned off. If you use the email alert feature, do not forget to set the email settings in your MetaTrader platform's options window. Same with push-notifications. The indicator is available for both MT4 and MT5.
There are more than 11,530 codes published in Codebase

New publications in CodeBase

  • Range Expansion Index (REI) MT5 Range Expansion Index (MetaTrader indicator) — is a relative oscillator indicator that measures the pace of the price changes and signals overbought/oversold states if the price demonstrates weakness or strength. It was developed by Tom DeMark and explained in his book The New Science of Technical Analysis. The value of the indicator changes from -100 to +100. The REI is an enhanced oscillator because it tries to remain calm during the range trading and indicates signals only when the significant peaks or bottoms are spotted. You can download this indicator both for MT4 and MT5.
  • Rainbow Multiple Moving Average (RMMA) MT5 Rainbow Multiple Moving Average (RMMA) MetaTrader indicator — is a very simple but visually informative indicator based on the standard moving average. It draws 66 rainbow-colored moving average lines of your preferred type and price directly in the main window of the chart. This indicator is available for both MT4 and MT5 versions of the trading platform.
  • QQE Quantitative Qualitative Estimation MT5 QQE MetaTrader indicator — or Quantitative Qualitative Estimation, is based on a rather complex calculation of the smoothed RSI indicators. As a result, you get two lines in a separate indicator window — the fast one and the slow one. There is also an important indicator level (50), which is used in signals. You can enable text, sound, and e-mail alerts for this indicator. This QQE implementation supports multi-timeframe analysis with upper timeframe display. The indicator is available for MT4, MT5
  • Price Alert MT5 Price Alert MetaTrader indicator — can issue any type of alert when the price reaches certain levels set by a trader. There are three types of price levels: the first one is used when the price rises above certain level (displayed with the green line on the chart), the second one is used when the price falls below certain level (displayed with the red line on the chart), and the third one is used when the price reaches the certain level exactly (displayed with the yellow line). Three alert types include: native (popup), email, and push-notification. For email and push-notification alert features to work, you need to set up the email or MetaQuotes ID settings in your MetaTrader platform options window. The indicator is available for both MT4 and MT5.
  • Point and Figure Indicator for MetaTrader 5 Point-and-Figure MetaTrader 5 indicator is an indicator that can plot a point-and-figure chart directly in the main window of your normal MT5 chart. You can set up all the point-and-figure method parameters, such as the box size and the reversal distance, according to your preference. In addition, you can control all the display parameters of the PnF chart. This point-and-figure indicator supports all sorts of alerts. It is based on real ticks data, and thus is available only for MT5.
  • Range Expansion Index (REI) MT4 Range Expansion Index (MetaTrader indicator) — is a relative oscillator indicator that measures the pace of the price changes and signals overbought/oversold states if the price demonstrates weakness or strength. It was developed by Tom DeMark and explained in his book The New Science of Technical Analysis. The value of the indicator changes from -100 to +100. The REI is an enhanced oscillator because it tries to remain calm during the range trading and indicates signals only when the significant peaks or bottoms are spotted. You can download this indicator both for MT4 and MT5.
  • Rainbow Multiple Moving Average (RMMA) MT4 Rainbow Multiple Moving Average (RMMA) MetaTrader indicator — is a very simple but visually informative indicator based on the standard moving average. It draws 66 rainbow-colored moving average lines of your preferred type and price directly in the main window of the chart. This indicator is available for both MT4 and MT5 versions of the trading platform.
  • QQE Quantitative Qualitative Estimation MT4 QQE MetaTrader indicator — or Quantitative Qualitative Estimation, is based on a rather complex calculation of the smoothed RSI indicators. As a result, you get two lines in a separate indicator window — the fast one and the slow one. There is also an important indicator level (50), which is used in signals. You can enable text, sound, and e-mail alerts for this indicator. This QQE implementation supports multi-timeframe analysis with upper timeframe display. The indicator is available for MT4, MT5
  • Price Alert MT4 Price Alert MetaTrader indicator — can issue any type of alert when the price reaches certain levels set by a trader. There are three types of price levels: the first one is used when the price rises above certain level (displayed with the green line on the chart), the second one is used when the price falls below certain level (displayed with the red line on the chart), and the third one is used when the price reaches the certain level exactly (displayed with the yellow line). Three alert types include: native (popup), email, and push-notification. For email and push-notification alert features to work, you need to set up the email or MetaQuotes ID settings in your MetaTrader platform options window. The indicator is available for both MT4 and MT5.

New publications in CodeBase

  • Pinbar Detector MT4 Pinbar Detector is a MetaTrader indicator that tries to detect Pinbars (also known as "Pin-bar" or "Pin bar") and marks them by placing a "smiling face" symbol below the bullish Pinbars and above the bearish Pinbars. It is a pure price action indicator, which is not using any standard technical indicators in its code. The configuration of Pinbar detection can be done via the indicator's input parameters. Pinbar Detector can issue platform alerts and email alerts on detection. The indicator is available both for MT4 and MT5 versions of the trading platform.
  • Pinbar Detector MT5 Pinbar Detector is a MetaTrader indicator that tries to detect Pinbars (also known as "Pin-bar" or "Pin bar") and marks them by placing a "smiling face" symbol below the bullish Pinbars and above the bearish Pinbars. It is a pure price action indicator, which is not using any standard technical indicators in its code. The configuration of Pinbar detection can be done via the indicator's input parameters. Pinbar Detector can issue platform alerts and email alerts on detection. The indicator is available both for MT4 and MT5 versions of the trading platform.
  • Keltner Channel MT5 Keltner Channel (MetaTrader indicator) — is a classical technical analysis indicator developed by Chester W. Keltner in 1960. The indicator is somewhat similar to the Bollinger Bands and Envelopes. It uses three plot lines: the middle line is the 10-day simple moving average applied to the typical price ((high + low + close) / 3), the upper and the lower bands are produced by adding and subtracting the moving average of the daily price range (High and Low difference) from the middle line. This way, a volatility-based channel is built. In this version of the indicator you can modify all the parameters of the MA. The indicator is available both for MT4 and MT5 versions of the platform.
  • Gain/Loss Info MT5 Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5.
  • Keltner Channel MT4 Keltner Channel (MetaTrader indicator) — is a classical technical analysis indicator developed by Chester W. Keltner in 1960. The indicator is somewhat similar to the Bollinger Bands and Envelopes. It uses three plot lines: the middle line is the 10-day simple moving average applied to the typical price ((high + low + close) / 3), the upper and the lower bands are produced by adding and subtracting the moving average of the daily price range (High and Low difference) from the middle line. This way, a volatility-based channel is built. In this version of the indicator you can modify all the parameters of the MA. The indicator is available both for MT4 and MT5 versions of the platform.
  • Gain/Loss Info MT4 Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5.

New publications in CodeBase

  • Murrey Math Line X MT5 Murrey Math Line X MetaTrader indicator — a pivot line indicator that will definitely help every trader who knows how to trade with support, resistance, and pivot lines. It displays 8 primary lines (with 5 more additional ones) on the main chart, helping you to find the best points to sell, buy, and exit your positions. The indicator can issue alerts when a candle closes after breaking any of the pivot lines. You can download this indicator for MT4 and MT5 platform.
  • Moving Average Candlesticks MT5 Moving Average Candlesticks MetaTrader indicator — is a chart visualization of a standard moving average using the candlestick bars. It draws the candlesticks based on the moving average values calculated for Close, Open, Low, and High. It allows seeing a compact snapshot of the more detailed market information compared with the classic MA indicator. It works with any currency pair, timeframe, and MA mode. The indicator is available for MT4 and MT5.
  • Market Profile MT5 Market Profile MetaTrader indicator — is a classic Market Profile implementation that can show the price density over time, outlining the most important price levels, value area, and control value of a given trading session. This indicator can be attached to timeframes between M1 and D1 and will show the Market Profile for daily, weekly, monthly, or even intraday sessions. Lower timeframes offer higher precision. Higher timeframes are recommended for better visibility. It is also possible to use a free-draw rectangle session to create a custom market profile on any timeframe. Six different color schemes are available to draw the profile's blocks. Drawing profiles as a plain color histogram is also possible. Alternatively, you may choose to color the profile based on bullish/bearish bars. This indicator is based on bare price action and does not use any standard indicators. It is available for MetaTrader 4, MetaTrader 5
  • Laguerre MT5 Laguerre MetaTrader indicator — a completely custom indicator that doesn't rely on the standard MT4/MT5 indicators. It shows the weighted trendline in the separate window of the chart. It can be used for simple entry and exit signals. The indicator is available for both MT4 and MT5.
  • Keltner Channel MT5 Keltner Channel (MetaTrader indicator) — is a classical technical analysis indicator developed by Chester W. Keltner in 1960. The indicator is somewhat similar to the Bollinger Bands and Envelopes. It uses three plot lines: the middle line is the 10-day simple moving average applied to the typical price ((high + low + close) / 3), the upper and the lower bands are produced by adding and subtracting the moving average of the daily price range (High and Low difference) from the middle line. This way, a volatility-based channel is built. In this version of the indicator you can modify all the parameters of the MA. The indicator is available both for MT4 and MT5 versions of the platform.
  • Float MT5 Float MetaTrader indicator — a sophisticated indicator that analyzes the previous chart history for the given currency pair and then tries to analyze the trends in the current situation. It shows where trends start and end in a separate chart window and Fibonacci retracement levels combined with DiNapoli levels on the main chart. It also displays how long ago the local high and low were detected. This indicator is available for MT4 and MT5.
  • Gain/Loss Info MT5 Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5
  • Fisher Indicator MT5 Fisher MetaTrader indicator — is quite a simple histogram indicator that detects the trend's direction and strength and signals about trend changes. It doesn't use any standard MT4/MT5 indicators in its code. Fisher bases its calculations on the maximum and minimum price levels from the previous periods, applying some advanced math calculations to the relations between the current price and the max/min prices. The indicator is available for both MT4 and MT5. This is a "repainting" indicator — it recalculates previous bars when a new bar arrives.
  • Flexible Momentum for MT5 Flexible Momentum (MetaTrader indicator) — calculates the change of a currency rate during a given period (in seconds) and displays the result as a number of points and percentage in the main chart window of the platform. It offers highly customizable alerts based on thresholds for maximum momentum in points and percentage. Because this indicator uses ticks history to calculate momentum, it works only in MT5.
  • Easy Trend Visualizer MT5 Easy Trend Visualizer is a MetaTrader indicator that does exactly what its name says. It shows where the trend begins, where it ends, and where there is no trend at all. It is based on standard MetaTrader ADX (Average Direction Movement Index) indicators and works quite fast. Easy Trend Visualizer displays itself in the main chart window. It offers a range of alerts: horizontal line appears, horizontal line cross, arrow up, arrow down, previous horizontal line cross (PHLC). Available for MT4 and MT5 platforms
  • Dots Indi MT5 Dots (MetaTrader indicator) is based on the 2006 indicator by TrendLaboratory. It displays the current trend direction by placing the dots on the main chart. The blue dots signal bullish trend and the red dots signal bearish trend. Although the indicator doesn't rely on any standard MetaTrader indicators, it uses a call to iMA() (moving average) to get the price values depending on the input price type used (Close, Open, High, Low, Typical, etc.) The calculation is based on the cosine of the angle of price change. Trader can modify several input parameters. The indicator is available both for MT4 and MT5 versions of the platform.
  • Donchian Ultimate Indicator for MT5 Donchian Ultimate MetaTrader indicator — is a classic Donchian channel indicator with multiple features added:
  • Daily Percentage Change MT5 Daily Percentage Change (MetaTrader indicator) — calculates the change of currency rate related to the previous daily close and displays it in percentage points in the main chart window of the platform. Additionally, it can display the weekly and monthly percentage changes. Different colors can be set for positive or negative price increases. Also, a small customizable arrow helps to visualize the price change direction. If your broker uses an unconventional time zone, the indicator can use Time Shift parameter to adjust the hour it will use for the day's end. The indicator works equally well in MT4 and MT5.
  • Detrended Price Oscillator MT5 Detrended Price Oscillator (MetaTrader indicator) — a version of the price oscillator based on the difference between the current price and the simple moving average shifted by (Period / 2) + 1 bars. Unlike the stochastic oscillator, this indicator aims to show the short-term trend changes (price waves inside the long-term trend). The indicator is displayed in the separate window of the chart. You can use this Detrended Price Oscillator (DPO) indicator in both MT4 and MT5 versions of the platform.
  • CCI Arrows MT5 CCI Arrows MetaTrader indicator — will show you where the CCI cross with the zero occur (marking it with the red or blue arrow) to help you decide whether to go short or long. It has a minimal lag and a relatively high accuracy. This simple indicator is a good choice for those traders that prefer to keep it simple and hate complex indicators. CCI Arrows supports all types of alerts. The indicator is available in MT4 and MT5 versions.
  • Candle Wicks Length Display Indicator MT5 Candle Wicks Length Display MetaTrader indicator is an indicator that can display the length of candle wicks in pips directly on your chart. You can set the minimum length to be displayed. Alternatively, it can show wick lengths that are less than the given limit. The indicator supports all sorts of alerts and works with both MT4 and MT5.
  • Bollinger Squeeze Basic MT5 Bollinger Squeeze Basic MetaTrader indicator — is a complex indicator based on Momentum, Bollinger bands, and Keltner channel. The indicator is drawn in the separate window of the chart as a Momentum histogram and a range of dots when show the relationship between the current Bollinger bands and Keltner channel values. This indicator is available for both MT4 and MT5 versions of the trading platform.
  • Bollinger Squeeze Advanced MT5 Bollinger Squeeze Advanced MetaTrader indicator — is a complex indicator consisting of two components: A measure of trendedness based on the Bollinger bands and Keltner channel "squeeze". A trend direction and strength histogram based on one of the following eight oscillators: Stochastic, CCI, RSI, MACD, Momentum, Williams % Range, ADX, DeMarker.
  • BMA or Band Moving Average MT5 BMA MetaTrader indicator or Band Moving Average — was created by using the original moving average indicator and the idea from one of the site's visitors. The indicator displays itself in the form of three lines: the central one is the standard MT4/MT5 moving average (which can be simple, exponential or weighted), the upper line is the same as the central one but lifted up by 2% (by default), the lower line is the same as the central one but pushed down by 2%. Those two additional lines serve as the support and resistance levels. The indicator is available for both MT4 and MT5.
  • Beginner indicator MT5 Beginner MetaTrader indicator — a very simple custom indicator that displays the local tops and bottoms on the chart with the red and blue dots near them. It analyzes the maximum and minimums on the certain period and then compares them to the range, in which the currency pair was trading, and if the top/bottom is significant enough, it marks it with the dot. This indicator redraws itself and thus should not be used for generating trading signals as the dots' positions may change. Both MT4 and MT5 versions of the indicator are available.
  • BB MACD indicator MT5 BB MACD MetaTrader indicator — is a basic MACD (Moving Average Convergence Divergence) indicator variation, which helps in detecting the trend change points and measuring the current trend's strength. The indicator is drawn in the separate window on the chart and consists of two lines (blue and red) and the dots, which can be either green or magenta. The change of the dots' color is a good signal provider, while the width of gap between the two lines indicates the strength of the current trend. This indicator is available for MT4 and MT5.
  • Basing Candlesticks MT5 Basing Candlesticks MetaTrader indicator — is an automatic indicator that detects and marks basing candles on the chart. A basing candle is a candle with body length less than 50% of its high-low range. The indicator highlights the basing candles using histogram lines (in MT4) or custom candles (in MT5) directly in the main chart of the platform. The percentage criterion can be changed via input parameters. You can also turn on alerts for when a new basing candle appears.
  • Aroon Up, Down MT5 Aroon Up & Down MetaTrader indicator — detecting the local tops and bottoms of the chart it was applied to, this indicator provides the signals for buying and selling the currency pairs when they rise up from the bottom and fall from the top. The cross of the indicator lines provide a good signal to take the profit or to exit with a minimum loss. This indicator can send sound and e-mail alerts on the cross. It is available in both MT4 and MT5 versions.
  • Murrey Math Line X MT4 Murrey Math Line X MetaTrader indicator — a pivot line indicator that will definitely help every trader who knows how to trade with support, resistance, and pivot lines. It displays 8 primary lines (with 5 more additional ones) on the main chart, helping you to find the best points to sell, buy, and exit your positions. The indicator can issue alerts when a candle closes after breaking any of the pivot lines. You can download this indicator for MT4 and MT5 platform.
  • Moving Average Candlesticks MT4 Moving Average Candlesticks MetaTrader indicator — is a chart visualization of a standard moving average using the candlestick bars. It draws the candlesticks based on the moving average values calculated for Close, Open, Low, and High. It allows seeing a compact snapshot of the more detailed market information compared with the classic MA indicator. It works with any currency pair, timeframe, and MA mode. The indicator is available for MT4 and MT5.
  • Market Profile MT4 Market Profile MetaTrader indicator — is a classic Market Profile implementation that can show the price density over time, outlining the most important price levels, value area, and control value of a given trading session. This indicator can be attached to timeframes between M1 and D1 and will show the Market Profile for daily, weekly, monthly, or even intraday sessions. Lower timeframes offer higher precision. Higher timeframes are recommended for better visibility. It is also possible to use a free-draw rectangle session to create a custom market profile on any timeframe. Six different color schemes are available to draw the profile's blocks. Drawing profiles as a plain color histogram is also possible. Alternatively, you may choose to color the profile based on bullish/bearish bars. This indicator is based on bare price action and does not use any standard indicators. It is available for MetaTrader 4, MetaTrader 5
  • Laguerre MT4 Laguerre MetaTrader indicator — a completely custom indicator that doesn't rely on the standard MT4/MT5 indicators. It shows the weighted trendline in the separate window of the chart. It can be used for simple entry and exit signals. The indicator is available for both MT4 and MT5.
  • Keltner Channel MT4 Keltner Channel (MetaTrader indicator) — is a classical technical analysis indicator developed by Chester W. Keltner in 1960. The indicator is somewhat similar to the Bollinger Bands and Envelopes. It uses three plot lines: the middle line is the 10-day simple moving average applied to the typical price ((high + low + close) / 3), the upper and the lower bands are produced by adding and subtracting the moving average of the daily price range (High and Low difference) from the middle line. This way, a volatility-based channel is built. In this version of the indicator you can modify all the parameters of the MA. The indicator is available both for MT4 and MT5 versions of the platform.
  • Gain/Loss Info MT4 Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5
  • Float MT4 Float MetaTrader indicator — a sophisticated indicator that analyzes the previous chart history for the given currency pair and then tries to analyze the trends in the current situation. It shows where trends start and end in a separate chart window and Fibonacci retracement levels combined with DiNapoli levels on the main chart. It also displays how long ago the local high and low were detected. This indicator is available for MT4 and MT5.
  • Fisher Indicator MT4 Fisher MetaTrader indicator — is quite a simple histogram indicator that detects the trend's direction and strength and signals about trend changes. It doesn't use any standard MT4/MT5 indicators in its code. Fisher bases its calculations on the maximum and minimum price levels from the previous periods, applying some advanced math calculations to the relations between the current price and the max/min prices. The indicator is available for both MT4 and MT5. This is a "repainting" indicator — it recalculates previous bars when a new bar arrives.
  • Easy Trend Visualizer MT4 Easy Trend Visualizer is a MetaTrader indicator that does exactly what its name says. It shows where the trend begins, where it ends, and where there is no trend at all. It is based on standard MetaTrader ADX (Average Direction Movement Index) indicators and works quite fast. Easy Trend Visualizer displays itself in the main chart window. It offers a range of alerts: horizontal line appears, horizontal line cross, arrow up, arrow down, previous horizontal line cross (PHLC). Available for MT4 and MT5 platforms
  • Dots Indi MT4 Dots (MetaTrader indicator) is based on the 2006 indicator by TrendLaboratory. It displays the current trend direction by placing the dots on the main chart. The blue dots signal bullish trend and the red dots signal bearish trend. Although the indicator doesn't rely on any standard MetaTrader indicators, it uses a call to iMA() (moving average) to get the price values depending on the input price type used (Close, Open, High, Low, Typical, etc.) The calculation is based on the cosine of the angle of price change. Trader can modify several input parameters. The indicator is available both for MT4 and MT5 versions of the platform.
  • Donchian Ultimate Indicator for MT4 Donchian Ultimate MetaTrader indicator — is a classic Donchian channel indicator with multiple features added:
  • Detrended Price Oscillator MT4 Detrended Price Oscillator (MetaTrader indicator) — a version of the price oscillator based on the difference between the current price and the simple moving average shifted by (Period / 2) + 1 bars. Unlike the stochastic oscillator, this indicator aims to show the short-term trend changes (price waves inside the long-term trend). The indicator is displayed in the separate window of the chart. You can use this Detrended Price Oscillator (DPO) indicator in both MT4 and MT5 versions of the platform.
  • Daily Percentage Change MT4 Daily Percentage Change (MetaTrader indicator) — calculates the change of currency rate related to the previous daily close and displays it in percentage points in the main chart window of the platform. Additionally, it can display the weekly and monthly percentage changes. Different colors can be set for positive or negative price increases. Also, a small customizable arrow helps to visualize the price change direction. If your broker uses an unconventional time zone, the indicator can use Time Shift parameter to adjust the hour it will use for the day's end. The indicator works equally well in MT4 and MT5.
  • Coppock MT4 indicator Coppock MetaTrader indicator — is an implementation of the famous Coppock curve indicator first created by Edward Coppock in 1962. The indicator shows long-term buy and sell opportunities (classically, it is used for only buying) by measuring the weighted moving average (with a period of 10) of the sum of two rates of change (with a period of 14 and 11). It is the classical version. In this MetaTrader version, you can modify the parameters of the basic indicators. You can use this Coppock indicator in MT4 and MT5.
  • CCI Arrows MT4 CCI Arrows MetaTrader indicator — will show you where the CCI cross with the zero occur (marking it with the red or blue arrow) to help you decide whether to go short or long. It has a minimal lag and a relatively high accuracy. This simple indicator is a good choice for those traders that prefer to keep it simple and hate complex indicators. CCI Arrows supports all types of alerts. The indicator is available in MT4 and MT5 versions.
  • Candle Wicks Length Display Indicator MT4 Candle Wicks Length Display MetaTrader indicator is an indicator that can display the length of candle wicks in pips directly on your chart. You can set the minimum length to be displayed. Alternatively, it can show wick lengths that are less than the given limit. The indicator supports all sorts of alerts and works with both MT4 and MT5.
  • Bollinger Squeeze Basic MT4 Bollinger Squeeze Basic MetaTrader indicator — is a complex indicator based on Momentum, Bollinger bands, and Keltner channel. The indicator is drawn in the separate window of the chart as a Momentum histogram and a range of dots when show the relationship between the current Bollinger bands and Keltner channel values. This indicator is available for both MT4 and MT5 versions of the trading platform.
  • Bollinger Squeeze Advanced MT4 Bollinger Squeeze Advanced MetaTrader indicator — is a complex indicator consisting of two components: A measure of trendedness based on the Bollinger bands and Keltner channel "squeeze". A trend direction and strength histogram based on one of the following eight oscillators: Stochastic, CCI, RSI, MACD, Momentum, Williams % Range, ADX, DeMarker.
  • BMA or Band Moving Average MT4 BMA MetaTrader indicator or Band Moving Average — was created by using the original moving average indicator and the idea from one of the site's visitors. The indicator displays itself in the form of three lines: the central one is the standard MT4/MT5 moving average (which can be simple, exponential or weighted), the upper line is the same as the central one but lifted up by 2% (by default), the lower line is the same as the central one but pushed down by 2%. Those two additional lines serve as the support and resistance levels. The indicator is available for both MT4 and MT5.
  • Beginner indicator MT4 Beginner MetaTrader indicator — a very simple custom indicator that displays the local tops and bottoms on the chart with the red and blue dots near them. It analyzes the maximum and minimums on the certain period and then compares them to the range, in which the currency pair was trading, and if the top/bottom is significant enough, it marks it with the dot. This indicator redraws itself and thus should not be used for generating trading signals as the dots' positions may change. Both MT4 and MT5 versions of the indicator are available.
  • BB MACD indicator MT4 BB MACD MetaTrader indicator — is a basic MACD (Moving Average Convergence Divergence) indicator variation, which helps in detecting the trend change points and measuring the current trend's strength. The indicator is drawn in the separate window on the chart and consists of two lines (blue and red) and the dots, which can be either green or magenta. The change of the dots' color is a good signal provider, while the width of gap between the two lines indicates the strength of the current trend. This indicator is available for MT4 and MT5.
  • Basing Candlesticks MT4 Basing Candlesticks MetaTrader indicator — is an automatic indicator that detects and marks basing candles on the chart. A basing candle is a candle with body length less than 50% of its high-low range. The indicator highlights the basing candles using histogram lines (in MT4) or custom candles (in MT5) directly in the main chart of the platform. The percentage criterion can be changed via input parameters. You can also turn on alerts for when a new basing candle appears.
  • Aroon Up, Down MT4 Aroon Up & Down MetaTrader indicator — detecting the local tops and bottoms of the chart it was applied to, this indicator provides the signals for buying and selling the currency pairs when they rise up from the bottom and fall from the top. The cross of the indicator lines provide a good signal to take the profit or to exit with a minimum loss. This indicator can send sound and e-mail alerts on the cross. It is available in both MT4 and MT5 versions.
There are more than 11,500 codes published in Codebase

New publications in CodeBase

  • 3rd Generation Moving Average MT5 3rd Generation Moving Average is an advanced version of the standard moving average (MA) indicator for MetaTrader. It implements a rather simple lag-reducing procedure based on the longer MA period. The method was first described by M. Duerschner in his article Gleitende Durchschnitte 3.0 (in German). The presented version uses λ = 2, which provides the best possible lag-reducing. Higher λ increases similarity with the classic moving average. The indicator is available for both MT4 and MT5. It does not require using any DLL
  • Breakeven Line Indicator for MT5 Breakeven Line Indicator is a MetaTrader indicator that calculates breakeven level based on all open positions and displays it on your chart as a horizontal line. Additionally, it will calculate the total number trades, the total number of lots, and the distance to the breakeven line in points and profit/loss. The indicator is available for both MT4 and MT5.
  • Negative Volume Index indicator Negative Volume Index (NVI) is a free technical indicator for advanced chart analysis in MT4, MT5 platforms. It is based on tick volume (can be substituted with real volume in MT5) and has two useful features added: Support for multi-timeframe (MTF) operation. Can be switched to show Positive Volume Index.
  • 3rd Generation Moving Average MT4 3rd Generation Moving Average is an advanced version of the standard moving average (MA) indicator for MetaTrader. It implements a rather simple lag-reducing procedure based on the longer MA period. The method was first described by M. Duerschner in his article Gleitende Durchschnitte 3.0 (in German). The presented version uses λ = 2, which provides the best possible lag-reducing. Higher λ increases similarity with the classic moving average. The indicator is available for both MT4 and MT5. It does not require using any DLL
  • Breakeven Line Indicator Breakeven Line Indicator is a MetaTrader indicator that calculates breakeven level based on all open positions and displays it on your chart as a horizontal line. Additionally, it will calculate the total number trades, the total number of lots, and the distance to the breakeven line in points and profit/loss. The indicator is available for both MT4 and MT5.
  • Negative Volume Index indicator Negative Volume Index (NVI) is a free technical indicator for advanced chart analysis in MT4, MT5 platforms. It is based on tick volume (can be substituted with real volume in MT5) and has two useful features added:
  • EA CloseAll CloseAllOrdersEA for MetaTrader 4 closes all existing orders upon initialization. It works by: OnInit: Calls CloseAllOrders to shut down all market and pending orders. OnDeinit: Only logs deinitialization. OnTick: No action needed as orders are closed on start. CloseAllOrders: Loops from last to first order, retries up to 3 times to close/delete orders with error handling, uses current price for market orders, and deletes pending orders. Error Handling: Logs detailed errors for unsuccessful operations.

Most downloaded source codes this month

  • Examples from the book "Neural networks for algorithmic trading with MQL5" The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in financial trading using the MQL5 programming language.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 7 The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography.
  • Surfing - 2 EMA strategy This is a pretty simple startegy that follows trend. Recommended time frams is D1. when close price brakes up the EMA build based on high prices given that RSI is above 55 and RSI is above its Moving average - we buy. when close price brakes down the EMA build based on low prices given that RSI is below 45 and RSI is below its moving average - we sell. system closes previose trade if there is opposite signal system uses take profit and stop loss as well as trailing stop

Most downloaded source codes this week

  • MQL5 Programming for Traders – Source Codes from the Book. Part 1 The first chapter of the book introduces the MQL5 language and development environment. One of the new features introduced in the MQL5 language compared to MQL4 (MetaTrader 4 language) is support for object-oriented programming (OOP), which makes it similar to C++.
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.

New publications in CodeBase

  • Candle Range Candle Range MetaTrader indicator — is a very simple and lightweight indicator that displays the candle's range in pips on mouseover. In addition, to the High/Low range, it can optionally display the body size (Open/Close) for candles. Multiple display parameters are available to control how the indicator looks. This indicator is available for both MT4 and MT5 versions of the trading platform.
  • Forex news events reaction EA: An mql5 calendar introduction. An MQL5 Expert Advisor that reacts to high-impact forex news events using the MQL5 Calendar. It identifies news related to inflation (CPI/PPI) and interest rate decisions, placing breakout trades with pending orders. Ideal for traders looking to automate news-based strategies. (This is just a starting point)
  • Candle Range MetaTrader indicator Candle Range MetaTrader indicator — is a very simple and lightweight indicator that displays the candle's range in pips on mouseover. In addition, to the High/Low range, it can optionally display the body size (Open/Close) for candles. Multiple display parameters are available to control how the indicator looks. This indicator is available for both MT4 and MT5 versions of the trading platform.
There are more than 11,450 codes published in Codebase

Most downloaded source codes this month

  • Price increase Indicator Price increase Indicator
  • MarketPredictor MarketPredictor for MetaTrader 5 The MarketPredictor is an innovative Expert Advisor (EA) for MetaTrader 5 that leverages mathematical models such as sine functions, Fast Fourier Transform (FFT), sigmoid functions, and Monte Carlo simulations to analyze and predict market movements. This project is designed for developers, math enthusiasts, and traders interested in combining technological and financial innovations. Feel free to suggest, discuss, and implement code ideas directly in this thread. Whether it’s new features, improvement suggestions, or strategies – every contribution is welcome to further develop and optimize the MarketPredictor. You’re also welcome to add me to clarify questions privately, collaborate on the GitHub project, or send me your feedback directly. Let’s cook up something amazing together and take this project to the next level!
  • SUPERMACBOT The SUPERMACBOT is a fully automated trading robot that combines the power of the Moving Average Crossover strategy with the MACD Indicator to deliver precise and reliable trade signals. This Expert Advisor is designed to work seamlessly on all symbols and timeframes, offering versatility and adaptability for traders across various market conditions.

New publications in CodeBase

  • Zigzag fibo oscillator An advancement of the MetaQuotes zigzag with an oscillator mode, current bar leg tracking, fib levels, and dynamic scaling
  • Checking the server time changes due to the daylight saving time (DST) changeover Unfortunately, I discovered that some brokers are a bit sloppy with the server time change due to the daylight saving time (DST), which I did not expect and which surprised me a lot. Here is a script with which anyone can check their broker.
  • Market Watch Panel Utility A real-time monitoring tool for MetaTrader 4 that displays key financial data, allows quick symbol switching, and customizable symbol lists. Save and reload symbols, reset lists, and customize text and panel colors for a personalized trading experience.

Most downloaded source codes this week

  • Candlestick patterns This is a indicator displaying candlesticks patterns on a chart.
  • BollingerBandsEA BollingerBandsEA trades according to Bollinger Bands.
  • Trend Equilibrium Indicator TrendEQ The Trend Equilibrium Indicator TrendEQ dynamically analyzes market movements by combining momentum and volatility. By scaling momentum with the market’s volatility, the TrendEQ provides a reliable measure of trend strength and direction.
123456789...74