Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

Latest Code Publications in CodeBase

New publications in CodeBase

  • 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 6 In Part 6 of the "MQL5 Programming for Traders", we will study a key component of the MQL5 language – trading automation. We will start with a description of the fundamental entities, such as financial instrument specifications and trading account settings. These are prerequisites for creating properly operating Expert Advisors.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 5 In Part 5 of the book, we'll delve deeper into the APIs associated with algorithmic trading, including financial data analysis and processing, chart visualization, automation, and user interactions.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 4 In the fourth part of the book, we will focus on mastering built-in functions (MQL5 API) and will gradually delve into specialized subsystems. Any MQL5 program can utilize a plethora of technologies and functionalities. Therefore, it makes sense to begin with the most simple and useful functions that can be utilized in most programs.
  • 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.
  • MQL5 Programming for Traders – Source Codes from the Book. Part 2 Part 2 "MQL5 programming fundamentals" is an introduction to the key concepts of this programming language. This part of the book is devoted to data types, identifiers, variables, expressions, and operators. You will learn how to combine different instructions to form the program logic.
  • 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

  • Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
  • Amazing Oscilator A combination of data analysis from the Awesome Oscillator and the resulting direction of the candles relative to the previous range
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

Most downloaded source codes this week

  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
  • PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.

New publications in CodeBase

New publications in CodeBase

New publications in CodeBase

  • wd.Multi_LineMA The MT5 custom indicator, named "wd.Multi_LineMA.mq5," is designed to offer traders valuable insights into Moving Average values from a higher timeframe (MTF Multi TimeFrame). It encompasses additional visual features for in-depth analysis, such as the ability to view trails for a specified number of bars and a dynamic MA horizontal price line.
  • Multi time frame example by recursion The purpose of this indicator is to demonstrate newbie friendly way a structure of a multi time frame indicator based on recursion.

Most downloaded source codes this month

There are more than 11 210 codes published in Codebase

Most downloaded source codes this week

  • MACD on Chart Show MACD directly on chart
  • PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

New publications in CodeBase

  • Candlestick Body, High Low and Wick Range Click on candlestick to see its body range, high low range, upper wick range and lower wick range value.
  • Candle Time Count Down Current Candle To Close in x Time
  • Superb Fractal Few improvements from standart fractal: 1. You can chouse size of fractal. Standart version use 2 as constant 2. It does not draw fractals against the trend, which makes your chart much more informative

Most downloaded source codes this month

New publications in CodeBase

Most downloaded source codes this week

  • PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
  • Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.

New publications in CodeBase

Most downloaded source codes this month

New publications in CodeBase

Most downloaded source codes this week

  • SuperTrend The SuperTrend indicator developed for MetaTrader 4 based on the ProRealTime version.
  • Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
  • Multi_BreakEven.mt4 Multi_BreakEven is a script file that allows multiples entry positions to set to breakeven using pips or target price when the trade is in your favor.

New publications in CodeBase

  • Six Soldiers Six bulls or six bear continuous candles
  • Body Wick Comparison Checks if either upper or lower Wick range of a candlestick is greater than Body range of a candlestick and plot a wingding
  • Donchian Channel Donchian Channel with mid line and moving average of mid line. Updated Dec 6, 2023 Minor code update
  • PA RSI The Oscillator Indicator for MetaTrader 4 is a powerful tool that accurately identifies the perfect signal on the completion of trends.

Most downloaded source codes this month

Most downloaded source codes this week

  • Breakout Martin Gale Expert Advisor for MT5 This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
  • Amazing Oscilator A combination of data analysis from the Awesome Oscillator and the resulting direction of the candles relative to the previous range
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

New publications in CodeBase

Most downloaded source codes this month

There are more than 11 190 codes published in Codebase

New publications in CodeBase

  • No Repaint Heiken Ashi The Heiken Ashi indicator with no repaint or repaint mode input option.
  • wd.Range_DailyAvg This indicator helps user estimate the potential price movement for the current day, based on 20 days historical data and market trends.

Most downloaded source codes this week

New publications in CodeBase

  • Multi_BreakEven.mt5 Multi_BreakEven is a script file that enables setting multiple entry positions to breakeven, either through pips or a target price, once the trade becomes favorable.
  • Multi_BreakEven.mt4 Multi_BreakEven is a script file that allows multiples entry positions to set to breakeven using pips or target price when the trade is in your favor.

New publications in CodeBase

  • Multi colored trend indicator MT5 This indicator uses two moving averages to calculate the market trend and changes color depending on the trend direction.
  • Amazing Oscilator A combination of data analysis from the Awesome Oscillator and the resulting direction of the candles relative to the previous range

Most downloaded source codes this month

New publications in CodeBase

Most downloaded source codes this week

New publications in CodeBase

Most downloaded source codes this month

  • Using Moving Averages with an EA (Sample Source Code) This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.
  • Advisor Based on RSI and Martingale "This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

New publications in CodeBase

Most downloaded source codes this week

New publications in CodeBase

New publications in CodeBase

  • Smooth Algorithms - Corrected/Modified - library for MetaTrader 5 Smooth Algorithms fixed version plus Trade Algorithms plus full operational EA, plus two indicators . So you will get complete project where you be able to see example how to use and implement this libraries
  • M4HA Trend indicator based on the intersection of adaptive HMA and its smoothed line. I recommend using it together with the flat indicator to determine the beginning of a trend early

Most downloaded source codes this month

  • MaybeAwo EA a Versatile automated trading tool for the MetaTrader 4 platform. This EA is designed to assist traders in managing their positions effectively by offering features such as setting a breakeven point, trailing stop, stop loss, and take profit levels. It works with various input parameters, allowing you to customize its behavior to fit your trading strategy.
  • Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

Most downloaded source codes this week

Most downloaded source codes this month

  • Ranged Grid Bot EA with pending orders The EA created sell/buy limit orders according to: - Grid number of orders - Trading range (computed automatically by uwing weekly highs and lows) - Current price
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

New publications in CodeBase

Most downloaded source codes this week

New publications in CodeBase

  • Price Rebound Calculator This indicator calculates the percentage of the probability of a price reversal from a given size of the maximum rollback based on the history of the chart movement
  • The Double Bollinger Band Strategy MT4 The Double Bollinger Band Strategy makes use of two Bollinger Bands in order to filter entries and exits in the forex market.

Most downloaded source codes this month

Most downloaded source codes this week

There are more than 11 170 codes published in Codebase

New publications in CodeBase

  • ATR Trailing Stop with 1 Buffer only This is an edit of the Mod_ATR_Trailing_Stop by MQL5 user @Scriptor found here https://www.mql5.com/en/code/20423 . MT5 indicator .mql5 and .ex5 files, report any bugs, I'll fix.
  • Trend Predictor New level of trend prediction!

Most downloaded source codes this month

  • Trend Dashboard Indicator Trend Dashboard Indicator MetaTrader 5 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.
  • KA-Gold Bot KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods.
  • Support and Resistance indicator for MQL5 This is a custom support and resistance indicator, signaling bouncebacks and key market levels.

New publications in CodeBase

Most downloaded source codes this week

  • Using Moving Averages with an EA (Sample Source Code) This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.
  • Advisor Based on RSI and Martingale "This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.

New publications in CodeBase

12345678910...70