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

Submit your code

mt4R, modified for supporting new MQL4

Get all the Account and MarketInfo details for a currency pair at a glance.

Hello everyone, this is my first contribution to this lovely place. This expert advisor that catches the gaps. Really I like to thank this company for here efforts in making all these options and facilities that help the traders.

An extended version of my RealValue indicator with a new parameter.

The indicator displays the equity and balance charts.

FuzzyNet library for developing fuzzy models was written in C#. While converting to MQL4, 8 membership functions and 4 defuzzification methods for Mamdani-type systems were added to the library.

The indicator showing the supply and demand zones.

This script plots MQL signal history on a MetaTrader 4 chart.

This indicator is based on the moving average, but it doesn't use any standard moving average indicators.

This script scans for open orders and sets a fixed stop loss and take profit to all of the relevant.

Shows when two or three consecutive bull or bear candles of a certain size print after qualifying the stochastic level of the initial candle in the series. New in version 3 /* Changelog 2-4-19 Added 50% line to indicator box - Ignored changing the indicator lines individually since mql does not have a built-in language convention to create this change would require too much additional research and effort. Fixed error with the DodgerBlue lines not showing, the problem was due to using DodgerBlue instead of clrDodgerBlue in the code to indicate color, should be fixed now. */

Indicator to trade divergence. One of 30 indicators can be selected.

Close all positions on a basket of currencies when the profit target has been reached.

Indicator DayPivotPoint System with Signal and Alert for MetaTrader 4

Currency Index that calculates evenly on all 7 major pairs. Can also change base currency. Based on No Nonsense Forex podcast.

Power of EUR indicator shows actual strength of currency EUR calculated of 7 pairs that contain EUR. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR USD, EUR GBP, EUR JPY, EUR AUD, EUR CHF, EUR CAD, EUR NZD.

Power of NZD indicator shows actual strength of currency NZD calculated of 7 pairs that contain NZD. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR NZD, GBP NZD, AUD NZD, NZD USD, NZD CAD, NZD JPY, NZD CHF.

Crypto EA for ETH/USD pair.

The Expert will help you change the TP/SL of all open orders by setting the TP/SL based on the input percentage value.

Close_on_PROFIT_or_LOSS_inAccont_Currency

Now combines 14 different indicators and 7 timeframes in an easy to read meter for any FX chart. Includes inbuilt History viewer. Fully configurable signals & indicators.

A maximally optimized algorithm of constructing Kaufman AMA (Adaptive Moving Average).

Example of working with objects: creating object, changing properties, redrawing the chart.

The indicator shows in the chart the current time in different time zones.

The indicator draws the charts of equity and balance by the data of account's history, it uses the current opened positions for updating the charts in the real time mode as well.

Auto updating fib retracer showing zones for range trading/breakouts.

Indicator shows buy and sell regions based on combination of Bollinger bands and Keltner channels.

This indicator compares four types of regression (linear, quadratic, logarithmic and exponential) and chooses the one that best fits the data analyzed.

Template EA that downloads news without the use of DLL.

Detrended Synthetic Price (oscillator).

Indicator displays the value of defined stop loss and or take profit in the deposit currency.

Hull moving average (non-repainting version)

This indicator shows ADX indicator in another easy way. Buy when Bars is Green, Sell When Bars is Red.

The library for automated optimization of an EA during its operation.

The currency indices indicator with the ability to calculate CCI, RSI, Momentum, MACD and Stochastic.

The indicator plots trend lines based on the two last extremums.

Work with any http servers...

Simple csv-to-fxt Converter

version 1 of bindings to zeromq library

Different view of the figures and the patterns of the day ....

1...34567891011121314151617...102