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

Submit your code

Happy New Year 2010

It saves the current expert parameters for all the experts attached to charts.

Trix Indicator - oscillator based on a triple smoothed EMA.

I got this EA from a friend. It is based on the previous day's open and close price, but I would want it to close all trade on friday at a certain time.

Auto Magic Nr. Calc The Magic Nr. per ASC II Code from Symbols

Indicator SHI_Channel_true shows Barishpolts' dynamic moving channels in the chart in automated mode.

Shows upcoming news events 1 hour before and 30 minutes after event. Also shows active sessions etc.

Working as scalper our long trading manage by settings. For scalping use 1-25 signal period, for long trade 25-100 and change period. Always use 2 % money management using this software!!!!

This indicator will trigger an audio/visual alert when the symbol mid-price crosses one of two trendlines placed on the chart.

These indicators are made to show how much profit your EA have made in a certain period.

Price Alert MetaTrader indicator plays sound alerts when the price reaches certain levels that are specified by the trader.

The post-zigzag can count the moving of zigzag line. If see many continuous post on screen, It's will more signal for changing the trend of price.

An Expert Advisor designed to open and close respective orders at the first parabolic SAR signal.

Choosing between Heiken Ashi bars and candlesticks is a problem and measuring when the short term trend is losing strengh is another one. This indicator solves both.

TRYBASK= 1 x [(USDTRY x 0.50) + (EURTRY x 0.50)]

A collection of predefined Scripts immediately available for use without having to key-in. Step-by-step instruction how to make your own Scripts from Scripts Collection.

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

A tool to better visualize price action using a higher timeframe.

This version of CCI indicator uses median line of the Step Channel indicator.

OBz library of trading functions: position size, open, close position etc.

The indicator is based on the idea that before the price and the indicator itself turn, the indicator rate slows down first and only then turns.

This script is used to modify StopLoss and TakeProfit.

EA is run say once every minute and writes the status of IsConnected, spread, stop and freeze level to a file.

The V Sync Chart Lite indicator is written for demonstration purposes and shows how it is possible to synchronize the object

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.

This indicators shows Bears Power and Bulls Power in easy way at one window.

Universal Expert Advisor for working with any Custom indicator, that draws buy/sell arrows.

Market Profile is a tool used by many Futures traders.

The virtual trailing stop can place stop loss, take profit and trail the order in a way that they are not visible to the broker.

Automated trading system for breakouts in the London and New York sessions.

This script provides quick work with a large number of pending orders in the market and contains functions for placing, changing, and deleting of orders within the your price range.

This EA uses "Renko" box size on MetaTrader 4 chart. When the price reaches the level where there was a fractal, the EA enters a trade, has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

Volatility Scanner in raw form for number of currency pairs.

The MA-4H indicator displays the moving average of the selected timeframe on the chart of the current timeframe. The intersection of the two moving averages is implemented as optional. The external parameters allow to activate the second moving average in order to see their intersection.

Another version of determining the pivot point of the next day.

The Expert Advisor collects tick history for specified symbols into csv-files.

It displays Fibo levels of the price channel created on the moving avrage.

The indicator displays spread and swap.

It is calculated as the moving average of the values of the internal bars strength.

Really helps in trading

1...181920212223242526272829303132...101