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

Submit your code

Indicator ASCTrend1sig.

Expert Advisor Straddle&Trail. The code contains a comprehensive description.

The EA is based on the MACD indicator.

Trading by a simple principle

You can take the guaranteed 50-60-100 pips if you enter from the flat.

Starter Expert Advisors.

The MUV indicator created by Sator is used.

The indicator predicts (at least tries to) the RSI on a specified number of bars using the cluster analysis

This EA can help users to manage opened orders. It takes line objects and indicator curves as tp and sl. When the price reaching them, it will close the orders.

An alternative version for counting MA Angle.

The adviser on the indicator ZigZag.

Expert shows how Backtest results are unreliable when you open and close an order on the same bar.

This version use Accelerator Oscilator as main indi to recognize the signal

Simple Expert Advisor. In this version RSI and Trailing Stop has been added.

This indicator is a spin off of the Doji Reader 2 found in the code base. I have made several changes such as it is now capable of being used in code for coding use, not just as a visual indicator. I also took out several un-needed code that was redunda

Indicator MaEnv_02B will be helpful to BUY, SELL or stay out of the market.

You can adjust SL/TP by dragging the lines drawn by the EA.

The Indicator Fast Stochastic is a kind of George C. Lane’s stochastic oscillator.

After open a trade, take a screen shot and send email to you

Sicker_EA_DIGITS - daytrading EA

Alerts you on every first parabolic SAR signal in a sequence.

This EA implements a trailing stop buy and a trailing stop sell. It places an order above the price and below the price. The sell stop order will fall with the price, the stop sell order will rise.

This version 2 of Multi currency pair Indicator. It includes an optional trend line and the color of the label has been changed to red to make it visible on default chart template.

Updates: 1. Order Type Discrimination 2. SL+TP and OE line price. 3. Enhanced user defined labels. Calculates pip distance between Order Execution price and SL & TP price

The Martingale with Envelope indicator.

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

Uses up to 4 visual "sliders" in the chart window to quickly and easily adjust values of any technical indicator in a separate window. Based on MetaTrader 4 chart objects, not DLLs.

Expert Advisor based on the ACD and MA Attention: this is not a Holy Grail

It uses 3 fast MAs to determine entries and exits as well in an event of a crossover.

Classic Donchian-channel with Fibonacci retracement levels.

This indicator shows MACD in the main chart.

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

When run on the price chart, the script modifies the stop loss or take profit of all open orders for the current instrument.

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

Small Expert which sends email notification of last opened and closed order.

Dsl (discontinued signal line) - stochastic.

Change the timeframe for all opened charts simultaneously.

"Engulfing" EA Trades when there is an ENGULFING pattern has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

"Simple 2MA I" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with the trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

It is a manual trading system consisting of 5 indicators. We buy when all indicators are in blue, and we sell when all indicators are in red. Indicators auto turn chart in M5 time frame, there is a switch to skip it.

1...565758596061626364656667686970...102