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 EA uses the method of Burg's linear prediction that was taken from my indicator Extrapolator.mq4.

This EA works in hangseng futures.

Automatically sets a pre set take profit and stop loss for you.

See http://forum.mql4.com/54660 for getting a connection between highs and a connection between lows. I made a zigzag this way.

Specific support and resistance indicator is based on indicators MW_ZigZag.ex4 and High_Low v2.ex4.

This Expert Advisor trades on the principle of the Martingale: if the order is closed by Stop Loss, the next order will be the opposite type with a lot size increased by a certain rate.

The function closes all locked orders. This really saves money on the spread.

The indicator displays the moving average for the selected timeframe.

"Ichimoku Rretracement" EA Trades when there is a retracement from "ICHIMOKU" levels has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

555 Scalper EA trades with two 5 period exponential moving averages has Trailing Stop Loss &Take Profit works on 5 minute time frame major forex pairs and stocks NASDAQ.

"Gann Grid" EA draws Gann Grid lines on chart and trades with price breakthrough,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

NewsReleaseEA is an expert to trade about economic news uses pending orders. For more information, please visit product's page: https://www.mql5.com/en/market/product/31590 Read how can to set GMT offset in my blog: https://www.mql5.com/en/blogs/post/732403

RSI with Bollinger Bands calculated on it

Independent Chart Indicator for MT4

This strategy is the well known set & forget accompanied by the anti-martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.

When MaxBand > MA of MaxBnd => SMART-ZONE HIGH When MA of MinBnd > MinBand => SMART-ZONE LOW You can set the bandperiod of Max/MIN Band, and the period and the method of M Aof Max/Min Band With different parameters, the indicator gives us the pivotal areas or the trend areas

The Wss_trader EA. People recommend setting the trading hours to 7-17, trailing to 60, metrics to 36 and to look back to 2 months.

I modified the original MACD. This resulted in such an interesting indicator.

MTF Macd X indicator.

An indicator that is to be placed on the Ichimoku allows to trade both in the trend and in the flat playing mode.

It shows the speed of the trend on the current, closest larger and the next TF.

Lot = 0.2, you can change into 0.1 or set whatever value you want

Indicator Elder Impulse System.

Indicator Ergodic Oscillator.

An EA that works on the M1 period and with the symbols that have the spread of 2 points.

Trade at levels МА.

IND Inverse Indicator.

Signal indicator based on MACD

This is an Expert Advisor (+ indicator) for downloading the quote history of the current symbol and TF

The Expert Adviser MARE5.1 is much simple and uses values of Simple Moving Average (SMA) on Close Price of 0, 2 and 5 bars.

This is the Doda-Donchian v2 created by Gopal Krishan Doda, but when I use this indicator, I found some error and I have to fix it. also adding features price and candle time. Doda-Donchian v2 mod fix-->Fix Stop Loss Color

Uses movements of the relative strenghts index to find long-opportunities. Profitable (and especially reliable) parameters for short-positions couldn't be found

Indicator that shows profits and losses (in pips and money).

This is a Multi time frame indicator based on the MACD. I was attempting to see if I could get a good entry on the M5 chart, and make the MACD values of the H1,H4,D align with the M5.

Trend indicator.

Opening trades directly from charts;

Detects fake, old, stale, or other erroneous ticks that come to the MT4 platform. These rogue ticks can sometimes cause a take profit, stop loss, trigger orders and/or any price-related action to occur when the price is actually no longer actionable.

This indicator will place up to 6 lines, at prime levels of your choosing, in a successive pattern on the chart.

This EA implements a grid strategy by placing buy and sell orders at the same time.

Simple way to encode and decode using Base64.

1...646566676869707172737475767778...104