Watch how to download trading robots for free
Find us on Twitter!
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 - 3

Submit your code

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.

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.

Let follow previous EA by this link https://www.mql5.com/en/code/46630

Checks if either upper or lower Wick range of a candlestick is greater than Body range of a candlestick and plot a wingding

Select the last closed deal (trade) to further work.

Standard Bollinger Bands indicator with averaging features added

This is a first for MetaTrader 5. Now you can click on the chart to create price alerts.

Basic library to create Volume Profiles on chart.

This code does not trace the iatr() because the iatr() or this code is a more modern version. This code uses original smoothing, a kind of SMA and not wilder smoothing. The analysis of the two smoothings can suggest opportunities elsewhere

Alerts on trendline break

The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.

Set TakeProfit by just dragging and dropping script on the desired price level.

Keltner Channel for traders or young developers by William210

Syncs all chart symbols to symbol of the chart the EA is attached to

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

RSI adaptive indicator based on tick calculations

A real-time monitoring tool for MetaTrader 5 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.

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.

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

Anlayse swing highs and lows

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

Searches for Wick or Body based High low in visible bars of chart

Linear Regression Line

A customized bid and ask line which is labelled and clear to help visualize the bid and ask prices

A very simple, efficient and non-obtrusive clock for your Chart. KISS compliant! :)

Constructor for creating histograms of statistical distributions of indicators, timeseries and their derivatives.

This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.

Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish

MACD variation that uses Nonlag MA.

This is a RSI of High, Low, Open and Close displayed as color candles in it's own sub-window.

The indicator displays the current spread and the time till closing the bar (candlestick) at the same time.

The JSatl indicator with the timeframe selection option available in the input parameters.

It is made more up-to-date and multi time frame option added.

Stochastic that is using RSX as an input for calculations.

Export history of closed positions from MT5 retail hedging account selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.

Here is my implementation of a colored Hull Moving Average.

It will automatically plot a colored horizontal line on the previous open/highs/lows/close of the selected period, and it will make the lines consistent on this price when switching timeframes.

This Include File checks for Market Open Hours. An EA to test it is also included.

12345678910...185