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

Submit your code

Exports your history into a .csv file which can be read by excel or similar. You can sort your trades and see easily how much a certain EA won or lost.

Based on two MA.

The EA without indicators with increasing lot size.

The InsideBars indicators can be used for trading with breakout Strategies.

SuperSmooth filter

The indicator specifies on trend and lateral movements of the price.

Review the results of the work of your strategy (in history) by the hour.

Do you want to know how the Spread on your Broker fluctuates? I developed 2 small indicators which will allow you to see hot the spread is performing real time and for the last few minutes or whichever you can thing your platform can hold.

Another suggested way to track Heiken Ashi candles and trading short-term price swings

Final version of my hybrid Expert Advisor.

Bollinger Bands indicator with possibility to establish mode of moving average, applied price and deviation as a double value.

Detects and displays fixed value of Constant Range Candles - Range Bars and Renko Boxes. Place any position on chart.

Simple multicurrency trend indicator. You can modify it according to your taste.

MFI indicator with possibility to establish applied price.

Moving Average on Moving Average

Schaff Trend + Signal EMA

Ichimoku with Moving Average instead middle Price channel (Donchian channel) .

It trades huge amount of trades with small lot sizes. Does not use indicators or price formations, buys/sells in growth/fall of price.

Any symbol Bid, LastDayDiff(% or pip), Spread, Swap, Hi-Lo Today, Hi-Lo Week, Hi-Lo Mounth view to separate window.

When the order reaches the specified profit, then EA automatically moves StopLoss to BreakEven.

This isn't an operating EA, but profit management EA.

Weekly and Monthly Pivot shows resistance and support lines of pivots using classic formula

The indicator draws support & resistance levels based on the last MN1, W1, D1, H4 and H1 fractals.

Someone asked me to provide them a way to close all their orders. This script will serve that purpose. Place this script in your \experts\scripts folder. When you want to close all the orders just drop this script on a chart.

Someone needed a quick way to open the Alert window again, after they had closed it. Place this script in your \experts\scripts folder.

Combine Candle sticks and Market Profile indicator.

3 Dimensional MACD Ribbon.

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

This indicator will show trend, based on EMA200 of the higher timeframe.

BB_OsMA indicator is the OsMA indicator in the form of spheroid with a deviation as the upper and lower bands.

When two Moving Averages cross the indicator will alert once per cross between crosses and mark the cross point with down or up arrow.

This is the improved version of the "HarmonikManual", with more attractive and easier to use.

Saves all historical bar data (Open timestamp, Open, High, Low, Volume) and every new tick to CSV of your choice.

This EA is based on 1 moving average indicator, the exit and entry points are determined by a "smoothing factor".

The script inserts the FXT-file of any custom chart, synthesized from real tick flow, into the strategy tester folder.

3rd Generation Moving Average

Shows the current gain and loss for the candlesticks on the chart.

Triple Exponential Moving Average with customizable parameters.

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

The EA looks for trend using three MAs (period 200, 50, 25 or other) and opens orders using the Parabolic SAR indicator. There is martingale in an Expert Advisor, the lot is calculated in percents from a deposit depending on Stop Loss.

1...474849505152535455565758596061...104