Find us on Facebook!
Join our fan page

Use new possibilities of MetaTrader 5

Latest Code Publications in CodeBase

New publications in CodeBase

  • SymbolSyncEA Syncs all chart symbols to symbol of the chart the EA is attached to
  • wd.Multi_ClockPrice lite! The 'wd.Multi_ClockPrice lite!' is the lite version of 'wd.Multi_ClockPrice', providing a visual representation of server time and bid prices on the chart. It synchronizes with PC clock every seconds, allowing seamless updates even when MT5 is offline. Real-time bid prices are displayed, efficiently meeting the need for price information. Place informational labels in the specified sub-window, adjusting positions as needed.

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.
  • Volume Profile This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.
  • 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

New publications in CodeBase

Most downloaded source codes this month

  • 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

  • Cosine distance and cosine similarity Calculate the cosine distance and similarity between 2 vectors . The cosine distance is 1-cosine_similarity and the cosine similarity is the dot product of two vectors by their magnitudes multiplied.
  • Volume Profile This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.

Most downloaded source codes this week

  • 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.
  • Heikin Ashi Lines A simpler way to display Heikin Ashi
  • Trade Sessions Indicator This indicator is based on DRAW_FILLING buffers. The input parameters are absent, the TimeTradeServer(), TimeGMT() functions are used.
There are more than 11 230 codes published in Codebase

New publications in CodeBase

  • COLLECT ALL INDICATORS DATA This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes
  • Closing all open trades if all one symbol and one trade direction All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY. This script will close out your position using one large trade to hedge your position then using CloseBy() function to close all trades against the one large trade until all trades are closed. There can be a maximum of 500 open trades.

Most downloaded source codes this month

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

  • Heikin Ashi Lines A simpler way to display Heikin Ashi
  • Candle Time End and Spread The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.
  • 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 month

  • 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

  • Input and output of onnx model The script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.
  • Price Density - Market Noise Index A sophisticated tool that accurately measures market noise

Most downloaded source codes this week

  • Heikin Ashi Lines A simpler way to display Heikin Ashi
  • 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

  • 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

1234567891011...71