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 - 20

Submit your code

This indicator is based on original RSI, but more features are added to general signals and watch the strength of the price movement. The main purpose is to general buy/sell signals using smoothed RSI and its MA.

Calculate Pivot Points based on H1 bar, according to normal formula and Fibonacci, with color filling.

Shows what % the current ATR is relative to it's historical value.

Expert adviser that use a custom modified Awesome Oscillator indicator

This indicator paints the candlestick chart color according to the Elder Impulse System

This is a simple boolean function for the EA to detect if there is any previous open market orders without using the "OrdersTotal()" built-in function which might cause the EA to calculate positions not opened by each specific magicnumber provided by the EA.

Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.

Script for the calculation of the third Elliott wave

Reference Slow Trend Line (RSTL) is a response of the SATL digital filter to the series of input prices with a delay equal to the Nyquist interval of 1/2F.

The indicator plots a moving average with a Bollinger type envelope.

Money Flow Index (MFI) is the indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.

The receiving of the EA testing results by the days of week.

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart.

All data of this indicator is contained in the coordinates and names of graphical objects. Trade alerts are extracted from the graphical objects generated by the indicator.

It denotes the combinations of candlesticks using the "wingdings".

The indicator shows the probabilistic reverses.

Larry Williams indicator. It considers the influence of the secondary market on the trading market.

Variation of the DeMarker indicator

%BB is indicator comes from Bollinger Bands.

Library for virtual trading.

The Expert Advisor TDSGlobal uses the indicators MACD, OsMA and WPR.

XIT_FIBS indicator automatically plots Fibonacci lines on current chart. Lines have retracement values and price.

This indicator throws visual and verbose buy/sell signals according to Bill Williams Trading in the Zone methodology and Alligator.

This is a new implementation of the SuperTrend indicator for MetaTrader 4. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties.

Writes Account Balance, Equity, Margin, to a .csv file in regular intervals, and alerts via email when certain Margins levels are reached

With the MTF RSI Indicator you can easily identify the oversold/overbought levels on several different timeframes by using only one chart.

The Coppock indicator shows long-term opportunities for buying or selling.

The indicator displays the percentage of the price change for the specified period of the specified pairs.

This indicator shows how much time remaining to the next bar opening.

RSI modified to show the excess of the market (more than 70 and less than 30), and show you the divergency with the price.

This expert is a tool to check broker execution and spread. For more information about the expert, you can visit the product's page: https://www.mql5.com/en/market/product/5791

User may enter up to 50 symbols from their market watch in either a long or short basket for viewing. The symbols for the chart can be changed to any symbol in the display with a click on the symbol. Statistics including ATR for the chart period, points gained or lost from a weeks start and position gains or losses and lots exposure are displayed. The statistics week may be changed with simple clicks on the display, and the display may be dragged and dropped to different locations. The load on quote processing is kept low by simply posting an event that starts the processing for a display update.

The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.

Risk advisor script based on balance Risk Percent.

Fractals indicator it is a series of at least five successive bars, with the highest HIGH in the middle, and two lower HIGHs on both sides.

Choosing a size of the working volume. 3 variants. It can be easily inserted into an EA code.

The EA unloads historical data in the *.csv format for several timeframes of the symbol it is attached to.

Delta Force Indicator.

Oscillator based on turnovers

Moving average

1...131415161718192021222324252627...101