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

Submit your code

The trading strategy presented here is based on breakthrough strategy using FOREX time sessions characteristics.

Zerolagstochs Indicator.

Expert Advisors MySystem using indicators BullsPower and BearsPower.

A simple way of managing orders and other features through horizontal lines.

Opens sell, buy or both orders at a specified time.

An EA meant as advanced Order-Placement tool, which tries to help its user to set the "Stop-Loss"-level farther away with the same or less losses than normally expected.

The function allows the execution of the specific code in the specified time interval.

STRATEGY MARKET Tickmill-Live; EURGBP; H4 EA will trade a fix lot as you select and close as per the EA base indicator. ITs work only on Tickmill live broker account. without selected any date to back test

Advanced EA optimized on selling positions on EURUSD.

The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.

It Shows you more than 160 type of Support and Resistance .

Ultitimate Oscillator Indicator.

Autostop automatically sets stops on open trades

An optimized version of the Zigzag indicator, which was included in the MT4 delivery of 2005 (and in MT3.83).

This function calculates your lot size depending on definite conditions explained in input variables.

This example has been built using SAR (Stop And Reverse) indicator with Advanced Money Management function.

A try to formalize three parameters of a candle - the upper, lower shadows and the body.

It shows a trend table for a several timeframes in the bottom left corner of the chart.

This indicator is a combination of a classic RSI and even more classic MA indicators. I hope it will be more stable and with more Profit/Loss Ratio.

EA is based on 2 MA (High and Low). Long position will occur when Ask > MA(High) and Short position - when Bid

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

Example of a simple breakout trading robot. There are a lot of breakout methods, but this is the simplest one as I think. Please see the attached images to visualize what is the breakout trading...

Zone Recovery Hedging Strategy Ea with two moving averages and Special formula. It works on any time frame, you should try it on demo account.

A primitive Expert Advisor that learns from its own mistakes.

My first EA.

The system of multiple strategies "in the same package," with a virtual trading system to determine the rankings for each of the strategies (before open market order) and the library management of investment-capital.

This is a indicator to see if you can find a trend by drawing a graph with bars counted.

The EA manages open position with a user defined Trailing Stop.

This is an indicator for finding the strongest trend each day, suitable for intraday trading or a swing trading.

EA based on parameters of the BOOK of John Bollinger with Lot size calculator and position overlaping.

The EA uses large volume orders to partially close other orders, with this approach, the breakeven and profit price is much closer to the current price than if you use all orders in the terminal or their full volumes.

The Expert Advisor using artificial intelligence - a single-layer neural network. The "Perceptron" is used for identification of the quotes movement direction.

Amazing results. A simple EA Same as doubleUp with an improved lot calculation , less loss ratio, and a simpler double down

The authors say that this system can trade 24 hours a day producing a stable profit even for a novice trader.

This is a working singleton code example. A singleton object is created when there 'can be only one' of the object.

Quick scripts to remove Equity from a demo account for a broker that does not support anyway to withdraw.

Library to convert datetime to double and vice versa.

Macd 1 Min Scalper uses two moving averages and "MACD" indicator on 1 min time frame has Trailing Stop Loss &Take Profit works best on major forex pairs and stocks NASDAQ.

Handy functions for comparison, rounding, formatting and debugging of doubles (prices, lots and money).

5MinutesScalpingEA uses indicators (5) from 5MinutesScalpingSystem. This expert is to help any user of the system to try some different settings of indicators easy and quickly. Expert need indicators to generate signals. Has the ability to use all of the indicators, or some of them.

1...808182838485868788899091929394...102