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

Submit your code

The Relative Vigor Index indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

Auto trading with the help of some indicators.

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

Expert Advisor which trades signals from MACD indicator.

Stochastic EA trades with two "Stochastic " indicators has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ .

Expert optimized for EURCAD in 5min chart,using the stochastics for enter a SHORT ONLY positions.

Trend indicator

Simple pivot indicator

Indicators for the "Chaos" trading system described in the third book by Bill Williams (Bill Williams and Justin Williams. Trading Chaos - Second Edition).

Do you see 3 bearish and consecutive lengthening bars? Bears - goodbye!

Adviser Terminator. Uses indicators I_Trend and Support and Resistance.mq4.

Adviser Bruno v1.

Adviser Channels, uses indicator МА.

Advisor Silver Trend v3. Opens one transaction.

#MTF Center of Gravity indicator.

Indicator Filter over WPR. It is based on indicator Stochastic.

Shows when to sell and when to buy, but not so simple.

Who wanted 5 points per day?

A regular release of an EA by the ZigAndZag indicator.

Indicator MAAngleTony.

Indicator TrendManagerNT.

Multi-timeframe PCCI indicator.

Aroon Horn Indicator.

The adviser on indicators: Ichimoku, ADX.

If you have placed order and suddenly have to leave: don't panic! This EA will set initial Stop Loss, and after your position will reach settable profit threshold, it will start to apply proportional Trailing Stop.

The indicator computes the volume-adjusted flow of a currency considering all currency pairs available on your platform.

This indicator shows the interaction between price open and the period's volume.

Based on the idea of pramono72 I wrote an Expert Advisor for it. It may also server as a simple way to write expert advisors using an include file and very few code lines.

Join me to develop this project. It has been my project for 2 years now and running.

MACD Momentum indicator (The Red line is the Momentum 10 of the histogram MACD, smoothed 3).

The Expert Advisor based on the Heiken Ashi indicator.

As simple Regression Channel code for MetaTrader 4.

Global Variables , Press function key "F3" Change "GMT_Time_Diff" : Diff. Eastern Time with Local Time "_ParaSL_SL" : Stop Loss Pips "_ParaSL_TP" : Take Profit Pips "_Para_Diff" : Retrace Entry , Pips with Parabolic Sar Value Remark : Limit Sell ; Bid Price with Parabolic Sars Value Limit Buy ; Ask Price with Parabolic Sars Value "_Para_lots" : Lots

Use the intersection of two moving average lines to draw a vertical line

EMA_CROSS Expert Advisor.

The indicator alerts at order closing, and reports about its profit.

This indicator acts by PRICE ACTION to find the strongest trend each day.

This indicator shows channels using the price histogram.

The classic Moving Average indicator with a color change depending on the direction.

Areas of the potential price reversals.

1...646566676869707172737475767778...101