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

Submit your code
WRB

The indicator detects and marks the WRB (Wide Range Bars) or candlesticks with Wide Range Bodies.

Traditional MACD indicator with a Momentum indicator and alarms. Allows customization of most of the parameters without having to dive into code.

A small improvement of the little known TVI indicator (https://www.mql5.com/ru/code/7804).

The EA closes orders when certain loss is reached by them in the account currency. It is possible to vary the loss by the volume of the order.

The indicator points to the potential entry points.

RenkoLiveChart_v600 version 6 indicator converted from RenkoLiveChart_v600 version 6 Expert Advisor.

Draw Elliott Waves (5 waves) manually.

Displaying ATR (Average True Range) value in pips or points with option for setting multiplier.

Indicator that displays the change in price as a percentage relative to the Open price of the current candle.

Derivative of the Cauchy difference

Regular expressions provide a formal language for quick and flexible processing of texts. Each regular expression is a pattern (mask), for which the regular expression engine tries to find matches in the source text. A pattern consists of one or more character literals, operators, or constructs.

Software is the modifying indicator base on BrainTrend2SigALERTS by BrainTrading Inc. with Signal and Alert, email alert and option to display trader info and signal. Hopefully useful for fellow traders.

The indicator plots Pivot levels for 3 custom periods on chart.

This Expert Advisor closes all open positions and pending orders. It is possible to close only buy or sell orders, market or pending orders, positions with profit or loss. For more information about the expert/utility you can to visit the product's page: https://www.mql5.com/en/market/product/7010

This EA can detect trades in your MT4 account and transmit them via web

Trade EURUSD 5 min scalping or similar. Good Luck.

The Bears Power indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

The indicator marks the pin bars on the chart based on the parameters set.

The functions included in this template use two news sources - Investing.com and Dailyfx.com. The template doesn’t use DLL.

Simple decycler oscillator

Volatility ratio

Indicator Price and Volume Trend (PVT), like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes.

This indicator shows support and resistance lines based on fractals.

It measures all sections that join the ZigZag breaks, the resulting values are given in points.

The Momentum Indicator measures the change of price of a financial instrument over a given time span.

Advisor LBS V 1.0.

BB_Prc indicator.

Fractal efficiency is calculated like in KAMA, Kaufman’s Adaptive Moving Average efficiency ratio, plus polarization and with optional exponential moving average.

A step-by-step passing of historical data for manual testing of trading.

Two CCI indicators with different periods in the same indicator subwindow.

The EA is based on the "Trend Follower" strategy.

Allows to get the signals for entering and exiting the market.

Uses several indicators and candle patterns plus assesses trending or ranging market

This indicator for draw an Arrows for buy & sell, it's Depends on ADX Indicator http://forum.m-e-c.biz/post397645-1.html

Indicator mentioned in the book "Nature of trend"

It allows to work with reversed symbols (for example USDGBP)

Scalper system. It shows the entry, takeprofit and stoploss levels.

The Expert Advisor places buy trades when RSI crosses above 73 and sells when it drops below 27. A trailing stop based on ATR protects profits.

"Follow Your Heart" is an Expert Advisor that open an Order strictly by price increase/decrease during nBars on the M1 time frame (without any indicators).

Draws horizontal grid lines at specified distances.

1...444546474849505152535455565758...101