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

Submit your code

Draws horizontal grid lines at specified distances.

Change of the spread is being reflected in the candlestick formation, which you can use to more accurately place your stops and not get kicked out of a trade when it might just be challenging a price before making a huge swing in the direction you initially placed your trade.

The header file contains functions for searching last and previous order in the trade pool.

Main chart shows the overlay chart of 2 symbols - while subchart displays the price spread line with spreadfactor.

The Slope Direction Line trend indicator, used by the Hammering EA from the Market section.

The indicator based on the moving averages shifted to the left relative to the chart.

Buy and Sell arrows for Alligator signals.

KNJ ZigZag with value at pivots (highs/lows).

An example of creating a trade panel using the MasterWindows library.

One of the divergence subtypes.

Byte-wise operation with structures and standard data types.

The same EA's as previously released. The additional code allows the user to set parameters on RSI and Momentum.

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Tipu CCI is one of the popular indicators in the Market. The original code for Tipu CCI is modified by removing compatibility with Tipu Panel. This version of Tipu CCI is open for everyone who is interested in developing an Expert Advisor.

Follow daily movement after 2 days breakout

"Fibo" EA draws Fibonacci 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.

For day traders, this is one of the important thing to consider in order to improve our strategy by calculating on average how much an asset moves, in which it will allow us to identify the best TIME during the day to trade when the market moves the most as well

Average Modified Moving Average.

The indicator is calculated on the basis of currency pair volatility displaying the nearest support and resistance levels. It can be used as a trend indicator.

System OzFx to gain the profit of 100-800+ pips.

Functions for handling two dimensional string arrays. Usefull for prototyping.

Use this Ea with an extreme attention, i got this amazing result searching to optimise setting several days. Work the best on Eur/Usd timeframe M5 long&short

This indicator will show balance sheet for a year.

A very simple indicator to display the difference in time between candles in seconds.

This indicator is used to monitor the movement of the previous candle from 1m to 1D timeframe.

Exports CSV file to analyze trade history for a symbol.

The calculation of profit/loss in the deposit currency at the desired symbol price level on all open orders.

The indicator marks the pin bars on the chart based on the parameters set.

Modification of the standard Awesome Oscillator by Bill Williams. Recommended timeframe - М15.

By using this indicator you can see the normalized price of any chart!

"Pull Back" EA Trades when there is a pull back from the trend of 2 Moving Averages has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

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

Simple decycler oscillator

This indicator places a mark (a semaphore) at the zig zag for each of 4 zig zag evaluation lengths.

Draw Fibo Expansion

Example how to use file write function

Standard MACD diagram with bullish and bearish bars colored differently.

In the futures markets data on trade volumes a reported with a one day delay. To compensate for this, many analysts use the tick volume indicator (tick volume).

DeMark Trendline Trader indicator.

MACD lines and histogram for the Impulse trading system.

1...394041424344454647484950515253...104