Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top MQL4 and MQL5 source codes based on user ratings

Submit your code
PNG

Forget about BMP files like a bad dream. Thanks to this library, you can now use the PNG format, which has a number of advantages, such as being more compact without losing image quality and maintaining transparency.

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.

The Heiken Ashi indicator with no repaint or repaint mode input option.

Easy to use.

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

A simpler way to display Heikin Ashi

Highlights the Forex Market Sessions (Sydney, Tokyo, London, New York).

Calculate DST for USA, EUR, AUD and RUB and the offset time of the broker automatically from the 70's until 2030 - even in the Strategy Tester of MQ.

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.

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.

MACD beginner tutorial to learn how to code in MQL5

AO - Awesome Oscillator - without iAO() beginner tutorial to learn how to code in MQL5

This EA help you for Auto set the TP & SL by default parameter, Auto trailing stop & step for any order that you place from any device, Easy way to close all orders with 3 Button "Close All" "Close Profit" "Close Lose", Auto close all orders by profit or lose treshold value

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.

Moving average beginner tutorial to learn how to code in MQL5

Rsi without Irsi() beginner tutorial to learn how to code in MQL5

AMA - Adaptive Moving Average - beginner tutorial to learn how to code in MQL5

The source codes written during the development of the library for creating multi-currency Expert Advisors that combine many instances of various trading strategies.

Rsi beginner tutorial to learn how to code in MQL5

With these classes you can create and test your signals runtime.

Ichimoku beginner tutorial to learn how to code in MQL5

A Marubozo is a long-bodied candlestick with no shadow, from the Japanese word meaning "close-cropped". Candlestick charts look at the opening and closing price on a single day and are used by technical traders.

Hidden Engulfing Candlestick Pattern

This indicator helps user estimate the potential price movement for the current day, based on 20 days historical data and market trends.

This indicator calculates the range difference between the 'MACD and Signal lines' and also the range distance between 'the last two MACD bar'.

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.

A simple yet effective donchian channel breakout strategy. This strategy is timeless!

It will detect whether there's confluence between the current chart timeframe and two other timeframes.

Donchian Channel for traders or young developers by William210

Stochastic beginner tutorial to learn how to code in MQL5

ATR - Average True Range - beginner tutorial to learn how to code in MQL5

This indicator uses two moving averages to calculate the market trend and changes color depending on the trend direction.

This is an indicator to calculate 14 types of moving averages based on close price.

Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms.

The EA only trades buy positions and does not use SL and TP.

Historical Strong S/Rs Levels

This is a script to export rates and ticks of current chart's symbol into CSV-files compatible with MT5's export/import format.

it is an Indicator of Donchain chanel price action work with to all time frame.

The indicator draws an arbitrary second time frame on the chart.

Class to access to the local time for the specified location, as well as time zone information and the local trading session hours.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183