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

Submit your code

some people worked as ib , they used to need to calclute total trade lotes. here it is.

Scripts deletes all objects from the diagram.

The function changes colour of object. An example of realization in the indicator.

EA trades on a large market movements, and does not uses any indicators.

Martingale syste, trades are random.

This code is an Alternative of the missing OnTrade() event in MQL4.

Easily create horizontal lines by 1 key stroke, choose the color of the resistance line and the support line, the indicator automatically changes the color when a line is crossed, you can be alerted when a line is crossed. You can see the history of support and resistance of the line.

This is a simple indicator showing pivot only for H1, H4, daily, weekly and monthly.

PriceAction indicator based on indicating Price Action candles. It indicates each candle type by different colored histogram bars.

Buy and Sell arrows based on exit from overbought and oversold region in Stochastic Oscillator.

Closure of all positions with a loss. (You can indicate a specific instrument if you want to).

ForexCandlestickPatterns with alert are forex indicators based on Japanese Candlestick Strategies.

This EA provides traders with real-time overview of their trading activity directly on their chart. This powerful tool displays crucial metrics such as overall buy and sell profits, the number of open trades, and the current market spread, giving traders full visibility into their performance at a glance.

HMA

Indicator HMA

Example of an equity indicator based on the market profile

The script opens a SELL position with the size of a percentage of the maximum allowed size.

The indicator draws the linear regression line based on the closing prices of the last bars.

Color Stochastic indicator.

The modified version of indicator Qualitative Quantitative Estimation.

A regular modification of the fractals by B. Williams.

Indicator Correlation USDCHF/EURUSD.

This indicator for draw an Arrows for buy & sell , it's Depends on 2 Moving Averages http://forum.m-e-c.biz/t23791.html

This indicator displays lines on the chart corresponding to upcoming news events. Customizable.

It looks for the strongest and for the weakest currency pairs using Cluster analysis

Modification of the first version of the grid EA.

Opens specified trades at the specified time

This script can close all your pending orders in your MT4, or you can select different pending orders.

this sideway or trend...confuse?? use this indicator

EA depend on distances for 9 orders opened with condition of Stoc 4H >80 sell &

Some basic information which every trader needs.

Draws two labels: Open-Close and High-Low range of the last closed candle left of the current candle.

The indicator shows current trend direction by placing colored dots on the main chart.

This indicator allows you to plan your financial balance.

QEMA is the Quadruple Exponential Moving Average. With this small change you can modify the percentage of the quadruple correction respect to the normal EMA.

Tipu CCI is one of the popular indicators in the Market. The original code for Tipu CCI is modified by removing compatibility with Tipu Panel. This version of Tipu CCI is open for everyone who is interested in developing an Expert Advisor.

Displays colored bars for MACD indicator above or below the zero level. Configurable with alerts.

The Zig Zag indicator with a sound alert on appearance of a new line on the chart.

Chaikin Oscillator (CHO). Based on the book by Eric. L. Nyman Malaya entsiklopedia treidera (Small Encyclopedia of Trader)

Bears power oscillator (Bears Power, Bears) - trend following indicator.

Parabolic SAR Indicator was developed for analyzing the trending markets.

1...343536373839404142434445464748...102