Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

Latest Code Publications in CodeBase

Most downloaded source codes this week

  • ICT_conceptsEA by Emil Takes trades based on ICT silverbullet and 2022 model with trailing stops and partials, also keeps entry according to OTE, and risk minimal. It works in a small time window of silver bullet especially NY session, and if no trade found, 2022 model and fibonacci OTE jumps in to get a trade. But entry is so only after confirmation with these models being there, hence trades will be less for minimal drawdown and high winrate. To know more about these strategies, you may visit Inner Circle Trader YouTube channel.
  • Countdown 2.0 Countdown is an advanced indicator designed for traders who want to track the time remaining until the next candlestick or the next market open clearly and efficiently. With three flexible display modes (commentary, chart borders or next to price), this indicator offers a customisable solution to suit your trading needs.
  • RRS Impulse This EA scalps using the Relative Strength Index (RSI) Indicator, Stochastic Oscillator Indicator, and Bollinger Bands Indicator to identify trend or counter-trend opportunities. As a multi-pair EA, it scans multiple currency pairs for signals. This EA comes with a variety of features, including Trailing, Risk Management, Money Management, Restriction Mode, and more. With the right settings, it has the potential to generate significant profits.

New publications in CodeBase

  • EA Stochastic Bollinger Bands Multi - Timeframe This MQL4 code implements an Expert Advisor (EA) that trades based on the Stochastic Oscillator and Bollinger Bands indicators across multiple timeframes (M1, M5, and M15).
  • Fair Value Gaps Fair Value Gaps indicator or 'imbalance areas' where markets often move back to.

New publications in CodeBase

New publications in CodeBase

Most downloaded source codes this month

  • 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++.

Most downloaded source codes this week

  • Indiana Jones Mean Reversion EA This is a simple mean reversion EA
  • ICT_conceptsEA by Emil Takes trades based on ICT silverbullet and 2022 model with trailing stops and partials, also keeps entry according to OTE, and risk minimal. It works in a small time window of silver bullet especially NY session, and if no trade found, 2022 model and fibonacci OTE jumps in to get a trade. But entry is so only after confirmation with these models being there, hence trades will be less for minimal drawdown and high winrate. To know more about these strategies, you may visit Inner Circle Trader YouTube channel.
  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.

New publications in CodeBase

  • ICT_conceptsEA by Emil Takes trades based on ICT silverbullet and 2022 model with trailing stops and partials, also keeps entry according to OTE, and risk minimal. It works in a small time window of silver bullet especially NY session, and if no trade found, 2022 model and fibonacci OTE jumps in to get a trade. But entry is so only after confirmation with these models being there, hence trades will be less for minimal drawdown and high winrate. To know more about these strategies, you may visit Inner Circle Trader YouTube channel.
  • RRS Impulse This EA scalps using the Relative Strength Index (RSI) Indicator, Stochastic Oscillator Indicator, and Bollinger Bands Indicator to identify trend or counter-trend opportunities. As a multi-pair EA, it scans multiple currency pairs for signals. This EA comes with a variety of features, including Trailing, Risk Management, Money Management, Restriction Mode, and more. With the right settings, it has the potential to generate significant profits.

New publications in CodeBase

  • Countdown 2.0 Countdown is an advanced indicator designed for traders who want to track the time remaining until the next candlestick or the next market open clearly and efficiently. With three flexible display modes (commentary, chart borders or next to price), this indicator offers a customisable solution to suit your trading needs.
  • MACD Divergence MACD Divergence indicator
  • Spreads Two Symbol Spread Indicator
  • AveragePrice Indicator for calculating the average price of open positions, you can use the magic number if you want to separate the positions of just one robot, but the zero number is for manual operations.
  • Better volume Better Volume is an advanced indicator designed to analyse the behaviour of volume on price charts. It combines volume information with metrics such as candlestick range and moving averages to identify important patterns in the market, such as buy/sell climaxes, churn and weak candles. With its dynamic visual interface and volume categorisation, the indicator offers valuable insights for traders who want to make informed decisions based on volume flow.
  • RiskManager with InfoPanel and Support My first code on the site, which requires improvement. The idea to create an ideal tool for traders, in the work on the main component of any trading system-Risk Manager
  • Panel for Calculating History Profit This CalculateHistoryProfit script version 1.0 is designed to calculate profit for a specified period using a chart panel.
  • Volatility Stop Volatility Stop - indicator of stop levels by volatility
  • SMI Ergodic Oscillator Ergodic oscillator Stochastic Momentum Index (SMI)
  • Net Volume The "Net Volume" indicator shows the volume taking into account the pressure of sellers and buyers
  • Know Sure Thing Know Sure Thing (KST) oscillator indicator based on the rate of price change (ROC)
  • Correlation Coefficient Correlation Coefficient" indicator
  • Chaikin Money Flow Chaykin Money Flow (CMF)" indicator
  • Adjustable Moving Average EA This Expert Advisor opens trades based on the crossover of two adjustable moving averages. You can fully customize the periods, type (e.g., EMA, SMA), and direction (long-only, short-only, or both). It includes optional Stop Loss, Take Profit, and Trailing Stop settings.
There are more than 11,620 codes published in Codebase

Most downloaded source codes this month

New publications in CodeBase

New publications in CodeBase

  • Volume Oscillator A volume oscillator is a useful technical analysis indicator that predicts the strength or weakness of price trends
  • EquiPeak Drawdown Tracker EquiPeak Drawdown Tracker is an indicator designed to monitor and record the maximum drawdown of your trading account in real time. It's not just a current drawdown indicator; it's especially useful for visually comparing your current drawdown with the maximum historical drawdown you expect or have previously recorded.

New publications in CodeBase

  • Kuskus Starlight Kuskus Starlight is an oscillator that utilizes a Fisher price transformation to identify trends and potential reversals. The original MT4 code by Scriptor is available at: https://www.mql5.com/en/code/8365.
  • Candle Signature Candle Signature with Example | For Research and Development

Most downloaded source codes this week

  • Angle and Speed The indicator shows the angle or average speed of price change.
  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • Uniformity Factor Indicator This is a simple analytical (non-signal, one-time calculated) indicator that allows you to test the hypothesis that price timeseries represent a "random walk", specifically Gaussian "random walk". This can help to construct a parametric transformation of price increments into evenly distributed, more stable and predictable time series, at least in terms of volatility.

New publications in CodeBase

New publications in CodeBase

  • Chande Kroll Stop Chande Kroll Stop indicator - stop levels for short and long positions.
  • PriceChanges changing character prices on an interval
  • Second Bars The indicator draws an arbitrary second timeframe on the chart.
  • Uniformity Factor Indicator This is a simple analytical (non-signal, one-time calculated) indicator that allows you to test the hypothesis that price timeseries represent a "random walk", specifically Gaussian "random walk". This can help to construct a parametric transformation of price increments into evenly distributed, more stable and predictable time series, at least in terms of volatility.
There are more than 11 590 codes published 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++.
  • 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.

Most downloaded source codes this week

  • 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.
  • Supertrend A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.
  • PSAR Zigzag (Non lagging) A zigzag based on the trend change of the parabolic sar

New publications in CodeBase

  • Angle and Speed The indicator shows the angle or average speed of price change.
  • MT4Orders QuickReport Fast JavaScript version of Report library from fxsaber for MT4-style trading commands implemented via MT4Orders or Virtual. Works up to 10 times faster, NTML file size is smaller, can upload and display up to 5.4 million report lines.
  • iCHO Trend CCIDualOnMA Filter Strategy based on the standard indicator iCHO (Chaikin Oscillator, CHO) and custom indicator 'CCIDualOnMA'
  • Manual Position Tracking Panel Panel based on CDialog class. Work on the current symbol. Deleting, setting Take Profit, setting Breakeven on a group of positions
  • Display optimised for console-type chart text output This library allows you to create displays to easily output text information to the chart at the most optimal rate
  • MultiTester Multiple runs/optimisations in Tester.
  • Pan PrizMA No leverage 72 Construct a moving line with a polynomial of 4 degrees. Extrapolates the sinusoidal and its axial. The constructed lines remove one value at each bar and a sliding line of extrapolated values is constructed which is not redrawn.
  • MA Trend 2 Trading system by iMA indicator (Moving Average, MA). Development of MA Trend.
  • Back kick Algorithm cycle: when there are no open positions, open two opposite positions. Wait for both positions to close.

New publications in CodeBase

  • New Candle or Bar formation. This Bot detects the open of a new candle on any set timeframe, thereby making it easier to run a one-time code, place trades and call other functions. The code is written in the OnTick() function.
  • Detecting the start of a new bar or candle Detecting the start of a new bar or candle in an Expert Advisor's OnTick() event handler.
  • Calendar Calendar - fundamental analysis on history and real-time.
  • SingleTesterCache Tester's single pass data.
  • Average Pip Movement based on Tick And Seconds This Expert Advisor (EA) analyzes market movement by calculating the average pip movement per tick and the average spread over a user-defined number of ticks (MAX_TICKS). It also evaluates the average pip movement and spread over a specified time interval (CHECK_SECONDS). The EA dynamically tracks price changes and spread values, printing the results in the terminal and displaying them on the chart using the Comment() function. This helps traders gauge market volatility and spread fluctuations in real time.

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

  • 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++.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374